tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henrikh.Karpyns...@miratech.com.ua
Subject RE: Application Storage
Date Tue, 17 Oct 2000 07:05:23 GMT
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
<mailto:Henrikh.Karpynskyi@miratech.com.ua>  
To: craig.may@s2.enthdimension.com.au
<mailto:craig.may@s2.enthdimension.com.au>  
Cc: tomcat-dev@jakarta.apache.org <mailto: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
<mailto:craig.may@s2.enthdimension.com.au> ] 
> Sent: Tuesday, October 17, 2000 4:41 AM 
> To: tomcat-dev@jakarta.apache.org <mailto: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 <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 
> 


Mime
View raw message