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.
RMIAdaptor jmx= (RMIAdaptor) ctx.lookup("jmx/rmi/RMIAdaptor");
Set ons = jmx.queryNames( null, null );
Object lObject = ctx.lookup("ejb/mgmt/MEJB");
ManagementHome home = (ManagementHome) PortableRemoteObject.narrow(
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:
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.