Re: Tomcat and Beans

2001-06-28 Thread cmanolache
On Thu, 28 Jun 2001, Paul Hunnisett wrote: > How does Tomcat manage standard Java beans? I have attempted to use an > application scoped bean ands have included serialization code in the > finalize() method and the code to read up from file in the constructor. I An application scoped bean will

RE: Tomcat and Beans

2001-06-28 Thread Paul Hunnisett
definately want only one instance - see previous email -Original Message- From: Robert Slifka [mailto:[EMAIL PROTECTED]] Sent: 28 June 2001 13:52 To: '[EMAIL PROTECTED]' Subject: RE: Tomcat and Beans Is this a multiuser app? Are you aware that only *one* instance of t

RE: Tomcat and Beans

2001-06-28 Thread Robert Slifka
mailto:[EMAIL PROTECTED]] > Sent: June 28, 2001 8:46 AM > To: [EMAIL PROTECTED] > Subject: RE: Tomcat and Beans > > > The bean is a list of gifts (wedding list). The gifts are > supposed to be > displayed on a JSP and as they are selected they are removed > from the be

RE: Tomcat and Beans

2001-06-28 Thread Paul Hunnisett
stored anywhere. they are added using a standard useBean tag: Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Geir Magnusson Jr. Sent: 28 June 2001 13:37 To: [EMAIL PROTECTED] Subject: Re: Tomcat and Beans When you say 'reset', what do you

RE: Tomcat and Beans

2001-06-28 Thread Robert Slifka
ing to the same application-scoped bean would cause it to overwrite the one already created) but that wasn't the behavior I saw in 3.2.1. - r > -Original Message- > From: Paul Hunnisett [mailto:[EMAIL PROTECTED]] > Sent: June 28, 2001 8:27 AM > To: [EMAIL PROTECTED] > Subjec

Re: Tomcat and Beans

2001-06-28 Thread Geir Magnusson Jr.
essage- > From: Robert Slifka [mailto:[EMAIL PROTECTED]] > Sent: 28 June 2001 13:26 > To: '[EMAIL PROTECTED]' > Subject: RE: Tomcat and Beans > > >From "The Java Programming Language, 3rd. Ed" > > "When an application exits, no further GC

RE: Tomcat and Beans

2001-06-28 Thread Paul Hunnisett
The application is not being shut down! Yet somehow my beans are getting "reset". Paul -Original Message- From: Robert Slifka [mailto:[EMAIL PROTECTED]] Sent: 28 June 2001 13:26 To: '[EMAIL PROTECTED]' Subject: RE: Tomcat and Beans >From "The Java P

RE: Tomcat and Beans

2001-06-28 Thread Robert Slifka
lto:[EMAIL PROTECTED]] > Sent: June 28, 2001 8:19 AM > To: [EMAIL PROTECTED] > Subject: RE: Tomcat and Beans > > > I'm not trying to - I only put the serialization code in as a > protection > from my bean being "reset". Originally I put in no > serialization

RE: Tomcat and Beans

2001-06-28 Thread Paul Hunnisett
It was, however, regularly reset so I put in the serialization. This made no difference. It still gets reset. Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Geir Magnusson Jr. Sent: 28 June 2001 13:10 To: [EMAIL PROTECTED] Subject: Re: Tomcat and Beans

Re: Tomcat and Beans

2001-06-28 Thread Geir Magnusson Jr.
Paul Hunnisett wrote: > > How does Tomcat manage standard Java beans? I have attempted to use an > application scoped bean ands have included serialization code in the > finalize() method and the code to read up from file in the constructor. I > assumed that whenever Tomcat thought a bean was u

Tomcat and Beans

2001-06-28 Thread Paul Hunnisett
How does Tomcat manage standard Java beans? I have attempted to use an application scoped bean ands have included serialization code in the finalize() method and the code to read up from file in the constructor. I assumed that whenever Tomcat thought a bean was unnecesary it would simply garbage