I wanted some information on writing MBeans on weblogic. I tried the BEA site and the information listed wasnt of much help in writing custom mbeans.
I have following questions. do let me know the answers or any information u have on it.
1) Does a standard MBean implement certain weblogic specific interfaces ? 2) How do I register this MBean ? ( i used t3TaskDef interface which helps me while registering at the startup) 3) How can i access the MBean from a different JVM ? i done a look up on MBean Home using MBean.ADMIN_JNDI_NAME and tried accessing it using getMBean which ended up giving me InstanceNotFoundException, even tho it was registered.
If anyone cud provide me a sample code of MBean interface the implementation class of it, registering class for it and the Agent that is used for accessing it would be of great help.
Thanks in Advance.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com