Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 64427 invoked from network); 17 Oct 2000 07:22:34 -0000 Received: from nsp.miratech.kiev.ua (HELO owlhole.miratech.com.ua) (193.193.216.61) by locus.apache.org with SMTP; 17 Oct 2000 07:22:34 -0000 Received: by OWLHOLE.miratech.local with Internet Mail Service (5.5.2650.21) id ; Tue, 17 Oct 2000 10:06:57 +0300 Message-ID: From: Henrikh.Karpynskyi@miratech.com.ua To: tomcat-dev@jakarta.apache.org Subject: RE: Application Storage Date: Tue, 17 Oct 2000 10:05:23 +0300 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C03808.9EA8DC50" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C03808.9EA8DC50 Content-Type: text/plain; charset="iso-8859-1" If we want JVM independed storage then we must use EJB or create Object, which store its state in file and reads it every time. -----Original Message----- From: Hal Hildebrand [mailto:hhildebr@us.oracle.com] Sent: Monday, October 16, 2000 6:50 PM To: tomcat-dev@jakarta.apache.org; craig.may@s2.enthdimension.com.au Cc: tomcat-dev@jakarta.apache.org Subject: Re: Application Storage If the context is distributable, then these methods will not always work - i.e. they are defined for all sessions when all sessions live in one Java VM and can't migrate between VM's. ----- Original Message ----- From: Henrikh.Karpynskyi@miratech.com.ua To: craig.may@s2.enthdimension.com.au Cc: tomcat-dev@jakarta.apache.org Sent: Monday, October 16, 2000 7:51 AM Subject: RE: Application Storage JSDK2.1 has javax.servlet.ServletContext setAttribute(String name, Object value) getAttribute(String name) removeAttribute(String name) > -----Original Message----- > From: Craig May [ mailto:craig.may@s2.enthdimension.com.au ] > Sent: Tuesday, October 17, 2000 4:41 AM > To: tomcat-dev@jakarta.apache.org > Subject: Application Storage > > > Hi, > > Are there any functions to place objects into the > Application, similar to > setAttribute and getAttribute for sessions only accessible > via all sessions? > > Cheers, > Craig May > > Enth Dimension > http://www.enthdimension.com.au > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org > ------_=_NextPart_001_01C03808.9EA8DC50 Content-Type: text/html; charset="iso-8859-1" RE: Application Storage
If we want JVM independed storage then we must use EJB or create Object, which store its state in file and reads it every time.
-----Original Message-----
From: Hal Hildebrand [mailto:hhildebr@us.oracle.com]
Sent: Monday, October 16, 2000 6:50 PM
To: tomcat-dev@jakarta.apache.org; craig.may@s2.enthdimension.com.au
Cc: tomcat-dev@jakarta.apache.org
Subject: Re: Application Storage

If the context is distributable, then these methods will not always work - i.e. they are defined for all sessions when all sessions live in one Java VM and can't migrate between VM's.
----- Original Message -----
Sent: Monday, October 16, 2000 7:51 AM
Subject: RE: Application Storage

JSDK2.1 has
javax.servlet.ServletContext

setAttribute(String name, Object value)
getAttribute(String name)
removeAttribute(String name)

> -----Original Message-----
> From: Craig May [mailto:craig.may@s2.enthdimension.com.au]
> Sent: Tuesday, October 17, 2000 4:41 AM
> To: tomcat-dev@jakarta.apache.org
> Subject: Application Storage
>
>
> Hi,
>
> Are there any functions to place objects into the
> Application, similar to
> setAttribute and getAttribute for sessions only accessible
> via all sessions?
>
> Cheers,
> Craig May
>
> Enth Dimension
> http://www.enthdimension.com.au
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>

------_=_NextPart_001_01C03808.9EA8DC50--