Beginners question:

How can I share Java objects during a session when the class does not
implement a servlet interface which would allow to get different context
scopes (e.g. session,application scopes), e.g. business logic
java beans?

Can this be done using a naming service and if, is this "the right way"? I
have seen from EJB examples the construction
"PortableRemoteObject.narrow(ref,ClassName.class)" which seems
to be the way to do it (allow generic java beans access sources or objects).

Does something similar exist in a pure Tomcat, say non-EJB, environment?
Which recommendations, design patterns exist for
this subject?

Thank you!



_________________________________________________________________
Testen Sie MSN Messenger f�r Ihren Online-Chat mit Freunden:
http://messenger.msn.de

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to