-
1. Re: inconsistent JNDI names for EJBs
jaikiran Apr 2, 2013 6:06 AM (in response to jrantav)Are those the complete set of JNDI names? I think it's missing a few more of the expected JNDI names. As for the rules - it's defined in the EJB 3.1 spec on what the JNDI names are going to be.
-
2. Re: inconsistent JNDI names for EJBs
jaikiran Apr 2, 2013 6:07 AM (in response to jaikiran)1 of 1 people found this helpfulWhat do the ManageClinicService and ProcessService interfaces look like?
-
3. Re: inconsistent JNDI names for EJBs
jrantav Apr 2, 2013 6:55 AM (in response to jaikiran)Complete sets of JNDI names reported are:
13:42:17,361 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-10) JNDI bindings for session bean named ManageClinicService in deployment unit deployment "manageclinic-service-manageclinic-app.war" are as follows:
java:global/manageclinic-service-manageclinic-app/ManageClinicService!complete.path.to.ejb.impl.ManageClinicServiceEJB
java:app/manageclinic-service-manageclinic-app/ManageClinicService!complete.path.to.ejb.impl.ManageClinicServiceEJB
java:module/ManageClinicService!complete.path.to.ejb.impl.ManageClinicServiceEJB
java:global/manageclinic-service-manageclinic-app/ManageClinicService!complete.path.to.service.interface.ManageClinicService
java:app/manageclinic-service-manageclinic-app/ManageClinicService!complete.path.to.service.interface.ManageClinicService
java:module/ManageClinicService!complete.path.to.service.interface.ManageClinicService
13:42:17,361 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-16) JNDI bindings for session bean named ProcessService in deployment unit deployment "manageclinic-service-process-app.war" are as follows:
java:global/manageclinic-service-process-app/ProcessService!complete.path.to.ejb.impl.ProcessServiceEJB
java:app/manageclinic-service-process-app/ProcessService!complete.path.to.ejb.impl.ProcessServiceEJB
java:module/ProcessService!complete.path.to.ejb.impl.ProcessServiceEJB
java:global/manageclinic-service-process-app/ProcessService
java:app/manageclinic-service-process-app/ProcessService
java:module/ProcessService
-
4. Re: inconsistent JNDI names for EJBs
jrantav Apr 2, 2013 7:17 AM (in response to jaikiran)Ah, silly me. The ManageClinicService interface had annotation @Local to signal local business interface, whereas the ProcessService interface had no annotation at all. Both seemed to work equally well.