Yes Raju,
It should be doable. You can download TC latest and
hack some code. If you want to use some readily
availabe to help in the process, take a look at the
Tag libs available on Jakarta. Also there are a few
File Upload beans floating around the net, go to
google and type JSP File Upload Bea
12:06 PM
| To: Tomcat Users List
| Subject: Re: Design question
|
| Yes Raju,
| It should be doable. You can download TC latest and
| hack some code. If you want to use some readily
| availabe to help in the process, take a look at the
| Tag libs available on Jakarta. Also there are a few
| File U
Can you send me URL or URLs for Tag libs in Jakarta, please?
How did you do NT Domain authentication in your app?
Raju Lokhande
>>> [EMAIL PROTECTED] 08/19/02 01:05PM >>>
Yes Raju,
It should be doable. You can download TC latest and
hack some code. If you want to use some readily
availabe to hel
used) as a parameter.
--mikej
-=-
mike jackson
[EMAIL PROTECTED]
> -Original Message-
> From: Jacob Hookom [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 19, 2002 10:09 AM
> To: 'Tomcat Users List'
> Subject: RE: Design question
>
>
> I'm try
Can you tell me after validate how you redirect to another site?
Louis
- Original Message -
From: "Mike Jackson" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, August 19, 2002 6:17 PM
Subject: RE: Design question
> An
t: Monday, August 19, 2002 10:26 AM
> To: Tomcat Users List
> Subject: Re: Design question
>
>
> Can you tell me after validate how you redirect to another site?
>
> Louis
> - Original Message -
> From: "Mike Jackson" <[EMAIL PROTECTED]>
> To: &
Hi,
For this problem I would say it would be best to use IIS and Tomcat combo Because
IIS can authenticate users by using NTLM authentication scheme. This means that users
with in your domain can be automatically authenticated (by using Windows Intergrated
Authenticaton in IIS).
There
rt "window" of opportunity for the token to be used) as a
parameter.
|
| --mikej
| -=-
| mike jackson
| [EMAIL PROTECTED]
|
| > -Original Message-
| > From: Jacob Hookom [mailto:[EMAIL PROTECTED]]
| > Sent: Monday, August 19, 2002 10:09 AM
| > To: 'Tomcat Use
nal Message-
> From: Reynir Hübner [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 19, 2002 12:29 PM
> To: Tomcat Users List
> Subject: RE: Design question
>
>
> Hi,
>
>For this problem I would say it would be best to use IIS
> and Tomcat comb
't) then you could pass
around
a serialized java object, assuming it's not to big. It'd probably be easier
to use a nice short token however.
--mikej
-=-
mike jackson
[EMAIL PROTECTED]
> -Original Message-
> From: Jacob Hookom [mailto:[EMAIL PROTECTED]]
> S
/password/domain combo all out of the ADSI (can
you get passwords ?).
-reynir.net
> -Original Message-
> From: Durham David Cntr 805CSS/SCBE
> [mailto:[EMAIL PROTECTED]]
> Sent: 19. ágúst 2002 17:52
> To: Tomcat Users List
> Subject: RE: Design question
>
>
>
There's a couple of different ways to handle this.
1. do not do it in real time. this is the easiest solution, but it
means a human has to be the one who figures who gets what class.
2. use JMS to update each user's session and make it so that once the
class has no more entries, no one else can a
Have you thought about doing something like a soft reservation? As the
person adds courses to their shopping cart, the available space is
decremented. If the transaction isn't finalized either because of an
error or timeout, just release the seat for someone else. When they do
finalize the t
Most commercial databases implement a solution to this problem since it is
fairly common. For MySQL, you must use the InnoDB engine (at least for now).
You use the concept of transaction. To do this, you must turn the AutoCommit
mode to off (some client have this mode off by default, some do not. C
Probably the easiest way to handle this is simply to have a constraint on
your database that says a record cannot be added if some field is 0 (or a
unique constraint, depending on how your table is keyed). Then, just catch
the exception in your code and check to see if it's a violation of your
Hi,
Yes , first come first is something that I prefer too. But I will need
a singleton java object with a synchronized method to do the
transaction. The transaction would involve 1. Check data 2. Register 3.
commit data to database. After the method completes i can send them a
confirmation.
Th
I understand this method of doing it and I understand the pseudo code
too. I believe this code will be in a synchronized method that should
be placed in a singleton object. The code validates information. One
example validation could be getting current registrations for the
course and seeing if
Since everyone else seems to have an opinion on this, I figure that I
might as well share mine. :)
A couple things to keep in mind:
(*) Depending on your geographic location, you may have a legal
responsibility to make sure that an item listed as available is, indeed,
available. In other word
Hi Frank
I understand this approach. The problem is that the course table has a
field called "maxregistration" if this field is set to -1 it means that
there is no limit. If there is a value in this field, it will be >= 1.
I have another table called Enrollments. This table has courseId,
userId
concurrance issues or you do so
in your code yourself, but either way, that's really the way I'd be looking.
Frank
From: Mufaddal Khumri <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTEC
lures that occur and deal
with them. Assuming you have proper constraints on the database, those are
the exceptions you'll be looking for.
Frank
From: Mufaddal Khumri <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
have a "locked" field as write to it. The complication
there is you'll need some method to unlock "abandoned" items periodically.
Frank
From: Justin Ruthenbeck <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "Tomcat
fically and inform the user.
Frank
From: Mufaddal Khumri <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Subject: Re: Design question ..
Date: Mon, 21 Jun 2004 14:47:52 -0700
Hi Frank
I understand t
Unless it's too late in your implementation, I would decouple the reserve
from the purchase. This way, the reserve transaction is shorter and more
scalable and is not dependent on how fast you can enter CC and address data.
This is nicer for the user too because they are getting close to real
you don't necessarily need to lock or synchronize in a "first come
first serve" mode. simple put the order into a queue and generate a
temporary order id. Once the order goes through, the real order ID is
emailed to the user.
peter
On Mon, 21 Jun 2004 14:47:52 -0700, Mufaddal Khumri
<[EMAIL PROT
the concurrance issues or you
do so in your code yourself, but either way, that's really the way I'd
be looking.
Frank
From: Mufaddal Khumri <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECT
e yourself, but either way, that's
really the way I'd be looking.
Frank
From: Mufaddal Khumri <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Subject: Re: Design question ..
Date:
At 04:12 PM 6/21/2004, Frank Zammetti wrote:
The first point is a very good one, I wouldn't have thought of it!
The second point is certainly arguable. I see where your coming from,
but if it's a business rule, it by definition belongs in the model layer.
Remember, view is easy, the controller in
I read somewhere that Yahoo does it half and half. That is, the pages they
serve are technically static, but they're regenerated as often as new
content, like a news story, becomes available.
john
-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED].
org]On Behalf Of Ja
On Fri, 5 Apr 2002, Mark Shaw wrote:
> Date: Fri, 5 Apr 2002 15:29:04 -0800
> From: Mark Shaw <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> Subject: Design question: common/lib --> WEB-INF/lib
>
> I have a design question
> ClassLoader webappLoader =
> Thread.currentThread().getContextClassLoader();
> Class webappClass = webappLoader.loadClass("com.mycompany.MyClass");
> This works because the container (Tomcat in this case) always sets the
thread context class loader to the one
> for the webapp being executed
Craig, nevermind, it's because I was still casting the object using an
interface that wasn't in my common/lib.
-Original Message-
From: Mark Shaw [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 4:24 PM
To: 'Tomcat Users List'
Subject: RE: Design question: co
On Fri, 5 Apr 2002, Mark Shaw wrote:
> Date: Fri, 5 Apr 2002 16:24:28 -0800
> From: Mark Shaw <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: 'Tomcat Users List' <[EMAIL PROTECTED]>
> Subject: RE: Design question: c
33 matches
Mail list logo