简体   繁体   中英

Deploying a Spring app to Weblogic with no web components - war, rar, or ejb?

I'm deploying a new Spring JMS application to Weblogic 11g. What is the accepted way to deploy a Spring application with no web components to Weblogic?

Historically the apps I've been working on have used a WAR to load the application context. This does not seem like an acceptable solution now since this new application does not have any web components. Wrapping the deployment in an EJB does not seem acceptable either since Spring is supposed to be a replacement to EJB. A RAR does not seem to fit either, since the new application is not supplying any resources to other applications.

What options do I have, what is the accepted deployment method here?

Actually RAR archive is used for resources.

Firstly you should create the components of JMS in WebLogic side (JMS server, JMS module, JMS connection factory, queue or topic) that your application may use. When this components are integrated all that you need to create the EAR archive and deploy it. EAR can be created without any EJB modules.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM