Jason,

Statefulness and web services are somewhat conflicting concepts. 

Nevertheless, service references are cached by name on a per-session basis
in Axis/Jboss.net which means that if you keep a persistent http session
with the transport endpoint (e.g., via call.setMaintainSession(true) when
using an Axis client), you will hit the same target bean again (which makes
it of course impossible to talk to two different instances in one session).

Similarly, from a granularity standpoint, it does not make much sense to
expose entity beans as web services, but to treat them as
by-value-serializable beans with a very special "new" operation (namely, the
call to a finder) upon deserialization. See the EntityBeanDeserializer
examples in jboss.net. 

CGJ

-----Ursprüngliche Nachricht-----
Von: Jason Essington [mailto:[EMAIL PROTECTED]] 
Gesendet: Dienstag, 17. September 2002 20:33
An: [EMAIL PROTECTED]
Betreff: [JBoss-user] jboss.net and persistence


I am curious how jboss.net handles persistence say in the case of a 
stateful session bean that is being exposed as a service?

-jason



-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts on
Hammer Technology! Open Source & Linux Developers, register now for the AMD
Developer Symposium. Code: EX8664 http://www.developwithamd.com/developerlab
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
###########################################

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.F-Secure.com/


-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to