Portable JNDI Syntax lookup for EJB on Glassfish

前端 未结 2 1314
谎友^
谎友^ 2020-12-06 23:12

Previous attempts were to have Netbeans deploy an EJB module, which builds as a JAR rather than an EAR, onto the Glassfish server which Netbeans has access to. However, de

2条回答
  •  离开以前
    2020-12-06 23:56

    If you are using Maven as well then check if "-1.0-SNAPSHOT" (or other version/as per your app) is attached at the end of the application-ejb file name as "application-ejb-1.0-SNAPSHOT", The full name would be "java:global/application-ear/application-ejb-1.0-SNAPSHOT/fileName"

提交回复
热议问题