Or he could use a CMP entity EJB. But that's another list, ain't it?
:-)
Cheers!
Mark
----- Original Message -----
From: "Christopher K. St. John" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 04, 2001 12:48 PM
Subject: Re: How to share a common object between two servelts?
> Sam Newman wrote:
> >
> > Once you have your serialized object, simply store it in a
> > file which both your servlets can access
> >
>
> That would require something like file locks, so it
> might not be such a good idea. If you absolutely
> can't use a database, then you might consider making
> an http call from the first servlet to the second,
> and send the information in the body of the request.
> That keeps it all servlets-based, and finesses you
> around (some of) the potential synchronization issues.
>
> --
> Christopher St. John [EMAIL PROTECTED]
> DistribuTopia http://www.distributopia.com
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html