I have a stateful session bean containing user (client) information which is used for authentication purposes on every method in other session beans. Should i pass the user session bean as a parameter on every method, or should i make the other beans stateful too and set the user information only once (passing it as a parameter in the ejbCreate method)?
Which is best, having all stateful session beans or having to pass a reference to another session bean as a paramenter in every method call? Is there a more appropiate solution to this problem? TIA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928286#3928286 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928286 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
