Search code examples
jbossweblogicmanaged-beanmbeans

Deploying .sar files used in jBoss to weblogic


We have ".sar"(Service Archive file) used in jboss. Currently we are planning to migrate the code to Weblogic.

Is there a way to deploy .sar files into weblogic.

If not directly possible, is there a work around where we can deploy the services on web logic.


Solution

  • In order to get the custom mbeans that are in the .sar you will need to repackage the contents as an .ear as a .sar is not standard Java EE deployment mechanism - that is a JBoss proprietary archive.

    Here are some instructions on how to create, package and deploy your own service MBeans (JMX Beans) along with an example of how to use it.

    https://blogs.oracle.com/WebLogicServer/entry/developing_custom_mbeans_to_ma