0 Replies Latest reply on Nov 16, 2006 8:45 AM by rupakkumar

    Does EJB3.0 Container of JBoss adhering to JSR-77

    rupakkumar

      Hi All,

      I wrote a EJB3.0 @Stateless component based on the tutorial (http://docs.jboss.org/ejb3/app-server/tutorial/). I could also run the remote console client.

      But when i try to retrieve the managed object in the j2ee server either via the MEJB interfaces Or purely through JMX approach. Following approach being applied.


      JMX
      ----
      RMIAdaptor jmx= (RMIAdaptor) ctx.lookup("jmx/rmi/RMIAdaptor");
      Set ons = jmx.queryNames( null, null );

      MEJB
      -----
      Object lObject = ctx.lookup("ejb/mgmt/MEJB");
      ManagementHome home = (ManagementHome) PortableRemoteObject.narrow(
      lObject,
      ManagementHome.class
      );
      Set managed_object_set = jsr77MEJB.queryNames(null, null);

      In both the cases i do not get the stateless EJB component. Only reference of my component i see in both the above cases are:

      jboss.j2ee:jar=tutorial.jar,name=CalculatorBean,service=EJB3
      jboss.j2ee:service=EJB3,module=tutorial.jar


      I had other manged object with the j2eeType=StatelessBean as per JSR 77 which is the case when i deploy EJB2.1 compliant component.

      Now is it that EJB3.0 not JSR compliant Or i am missing something.

      Any help is highly appreciated.

      Regards,
      Rupak Kumar...