This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have a J2EE project which has two WARs and one EJB JAR. The only EJB is a stateful session bean which was created to maintain client state (according to Java Blueprints best practices). To be able to access this stateful bean I have to pass javax.ejb.Handle object from one web module to another. The question is how can I do it? If there exist some easy way to pass this object between two web modules, then why do I need the stateful session bean?