3 Replies Latest reply on Oct 26, 2006 6:50 PM by Jason Greene

    Default context root of EJB Endpoint in ear

    Bryan Brouckaert Newbie

      Currently the default context root of an EJB Endpoint is the name of the ejb-jar file even if that file is itself in an ear.

      Wouldn?t it be better to include the name of the ear as context root when the jar is packaged in an ear? A little example: MyWS.jar in MyApp.ear -> /MyApp/MyWS/. It avoids collisions (and as extra bonus is similar to the JNDI naming convention of EJB3 session beans).