tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kenneth.baltz" <kenneth.ba...@inforonics.com>
Subject RE: Session or bean ?
Date Tue, 18 Apr 2000 15:41:47 GMT
I could be wrong, but I'm pretty sure the bean spec says that all beans have
to be serializable to be considered beans.

K.C.

> -----Original Message-----
> From: Guillaume Rousse [mailto:Guillaume.Rousse@univ-reunion.fr]
> Sent: Tuesday, April 18, 2000 11:15 AM
> To: tomcat-user@jakarta.apache.org
> Subject: Session or bean ?
> 
> 
> I've read in the spec that anything stored in the session had to be
> serializable. Properties of a bean are not restricted, so it 
> seems easier to
> use a bean to store object between pages.
> But this makes me wonders how the bean instance is stored, if 
> some of its
> properties are not serializable. And how to retrieve this 
> bean form a servlet ?
> I've looked at the servlet resulting form a JSP compilation, 
> it seems to be a
> bit complex, and maybe exagerated for just retrieving a bean 
> which i know to
> exist.
> 
>  In fact, i use EJB, and i was looking to store at least the 
> session Bean
> between each page, rather than using JNDI lookup each time. 
> Using session was
> OK with forte internal servlet engine (sun JSDK, i believe), 
> but crash under
> tomcat. If someone has an other solution...
> 
> --
> Guillaume Rousse
> Iremia - Université de la Réunion
> 
> Sleep doesn't exists. Just lack of cafeine.
> 
> --------------------------------------------------------------
> ------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
> 

Mime
View raw message