This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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?