hi,

At 21:53 15.03.2003 -0700, Russell Black wrote:
Can I store a Local Entity Bean in my HttpSession? That is, will it be valid on subsequent requests?

Something like this?
session.setAttribute("foo", beanLocalHome.findByPrimaryKey(key));

thath's correct:


session.setAttribute("foo", beanLocalHome);

You can take a look on ServiceLocator pattern

http://java.sun.com/blueprints/patterns/ServiceLocator.html

Thanks,
Russell



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to