0 Replies Latest reply on Feb 19, 2007 3:45 PM by fbadt

    calling session bean from WAR + session bean interfaces loca

    fbadt

      There is an EAR with several EJB3 JAR files (session and entity) and a WAR. The WAR needs to call the session beans (and they need to have Persistent context injection). Any code snippets that show how to do this?

      What needs to be configured how/where? in web.xml? Do the EJB jars need to be in the WAR or just the lib of the EAR?

      The session beans may need to use Entity Beans that have two different persistent context's (from two diff RDBMS's) How can this be done? How is multiple injection done?

      Do the session beans need to have @Remote/@Local interfaces? When are they needed? Or are they no longer needed in J2EE5?