简体   繁体   English

如何将已部署的应用程序从应用程序服务器更改为Web服务器?

[英]How can i change deployed application to webserver from application server?

I am having a web application which is deployed in oracle weblogic application server. 我有一个部署在oracle weblogic应用程序服务器中的Web应用程序。 After getting analysed, i found that there is no need for application server(atleast for this application), i am in need to deploy this application into the oracle weblogic web server. 经过分析后,我发现不需要应用程序服务器(该应用程序最少),我需要将此应用程序部署到oracle weblogic Web服务器中。

can anyone help on this, how can i change deployed application to webserver from application server ? 谁能提供帮助,如何将已部署的应用程序从应用程序服务器更改为Web服务器?

Or in a different words, i can say how can i migrate my application deployment from oracle weblogic application server to oracle weblogic web server ? 或者换句话说,我可以说如何将我的应用程序部署从oracle weblogic应用程序服务器迁移到oracle weblogic Web服务器?

I am using weblogic 10. and Maven to build the application 我正在使用weblogic 10.和Maven来构建应用程序

About the application, it is using Apache axis, webservices, jsf, and few java classes. 关于该应用程序,它使用的是Apache axis,webservices,jsf和少量Java类。

Thanks in advance! 提前致谢!

I've recently migrated one application from WAS to tomcat The approach i followd is. 我最近将一个应用程序从WAS迁移到了tomcat。我遵循的方法是。

  • Identify and remove all the WL specific dependencies / jars (that you may not need of) 识别并删除所有WL特定的依赖项/罐(您可能不需要)

  • Change the build script to generate .war instead of .ear 更改构建脚本以生成.war而不是.ear

  • deploy the generated .war to any servlet container/ webserver 将生成的.war部署到任何servlet容器/ Web服务器

with your specs (axis,ws,jsf) you dont need a .ear but .war will do. 使用您的规格(axis,ws,jsf),您不需要.ear,但.war可以。

if you are using ant modify your build script, i'd suggest go for maven for better dependency management 如果您正在使用ant修改您的构建脚本,我建议您去maven以获得更好的依赖管理

building of top of the answer by @TechExchange 通过@TechExchange建立最佳答案

even for Jboss, you still need to analyze the application to remove all WL specifics. 即使对于Jboss,您仍然需要分析应用程序以删除所有WL细节。 Ex: Descriptors for EJB's MDB's and so on. 例如:EJB的MDB的描述符,等等。 with JBOSS you can still use the ear format. 使用JBOSS,您仍然可以使用ear格式。

A quesiton, you had mentioned that because you found that the application doesn't need a app server you decided to migrate it to web server, now with JMS in the picture do you still need to move? 一个问题,您提到过,因为您发现该应用程序不需要应用程序服务器,因此决定将其迁移到Web服务器,现在图片中的JMS是否仍需要移动?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 此 Java 应用程序部署在服务器上时有何变化? - How does this Java application change when deployed on a server? Web服务器和应用服务器通信 - Webserver and application server communcation 如何使用Windows应用程序从Web服务器访问数据 - how can access data from a webserver using a windows application 如何在应用程序服务器上部署的多个WAR / EAR文件中重用库? - How can I reuse a library in multiple WAR/EAR files deployed on an application server? 如何从已部署的应用程序中以编程方式更改 WildFly 日志记录级别 - How to change WildFly logging levels programatically from within deployed application 如何在 spring 引导应用程序中更改服务器? - How can I change server in spring boot application? 如何从部署在其上的Java Web应用程序访问tomcat日志文件? - How can I access tomcat log files from Java web application deployed on it? 如何在tomcat服务器中获取所有已部署的应用程序 - How to get all deployed application in tomcat server JBoss Application Server:从另一台机器访问已部署的Web应用程序 - JBoss Application Server: Accessing deployed web application from another machine 如何将此代码从applet更改为独立应用程序 - How can I change this code from an applet to a standalone application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM