Larry,
EJB may not be the appropriate vehicle for the parsing and background
processing of the file. EJBs certainly may be used for accepting the job,
but since EJBs can't spawn threads you will have to find a way to dispatch
the job to a background process so your method can return and you can
release your client.
Different application servers have different ways of handling this, ours
included, since it is not (yet) covered by the EJB spec. EJB 2.0 Message
Beans might be an option, depending on the timeframe of your project.
Contact your technical reps.
Dave
David Brown
Technical Director, Western Operations
GemStone Systems, Inc.
(760)510-2754
[EMAIL PROTECTED]
www.gemstone.com
-----Original Message-----
From: Lei Liu [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 16, 2000 6:19 PM
To: [EMAIL PROTECTED]
Subject: how to keep session live
HI:
i have a use case:
after client send a http request to upload file to app server, then read,
parse the file and push the data back to database through
EJB. Because it will be a time consuming process, and may take
a few hours, and by default there is going to be session time out limit
after request. It seems I need a way to keep the session live till
all records are updated. Is there any efficient way to handle it?
Thanks
Larry
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".