Announcement Announcement Module
No announcement yet.
MBeanServerFactoryBean vs. WebLogicMBeanServerFactoryBean Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • MBeanServerFactoryBean vs. WebLogicMBeanServerFactoryBean

    Which of these should we use with Spring 1.2.5 and Weblogic 8.1? The BEA dev2dev site uses MBeanServerFactoryBean. Does this mean WebLogicMBeanServerFactoryBean is deprecated?

  • #2
    First take a look at the versions - IIRC WebLogicMBeanServerFactoryBean was added in a more recent version so the dev2dev might have missed it


    • #3
      First take a look at the classnames. According to the changelog.txt WebLogicMBeanServerFactoryBean was added in 1.2 final. I think you are referring to WebLogicJndiMBeanServerFactoryBean which was indeed added in 1.2.6.

      I believe WebLogicMBeanServerFactoryBean will only be relevant for versions before 9.0. But I wanted to get clarification from the source.


      • #4
        After doing some more reading about WebLogicMBeanServerFactoryBean and WebLogicJndiMBeanServerFactoryBean it appears they both will still be relevant. WebLogicJndiMBeanServerFactoryBean is a version of WebLogicMBeanServerFactoryBean that won't require specifying the credentials of the server when used locally.

        Why BEA didn't use WebLogicMBeanServerFactoryBean is still a mystery to me, although I suspect both will work.