[jboss-user] [JBossWS] - Re: Web services and stateful session
heiko.braun@jboss.com
do-not-reply at jboss.com
Sun Feb 4 14:19:04 EST 2007
Dwin is right. WS-Addressing is the right way to build conversational web services. Take a look at the user guide and the corresponding samples. It contains an example for a staful service. It's already supported for quiet some time now:
http://labs.jboss.com/portal/jbossws/user-guide/en/html/wsaddressing.html
IMO passing the serialized handle around is not a good idea. I could picture a SLSB facade instead that keeps a UUID->Handle registry and delegates to the SFSB beans behind the scenes. You could hand out the UUID using WS-Adressing and internally rely on the ejb handle. You could even offer a simple API for clients to resign from their sessions.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010969#4010969
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4010969
More information about the jboss-user
mailing list