简体   繁体   English

通过自定义安装程序在JBoss上部署Web应用程序

[英]Deploy web application on JBoss via custom installer

I am not sure where should I start from as I have to deploy a web application on JBoss via custom installer. 我不知道从哪里开始,因为我必须通过自定义安装程序在JBoss上部署Web应用程序。

I have created the Dynamic Web Apllication which comunicates with BES ( BlackBerry Enterprise Server ) to perform some operations on devices. 我创建了动态Web应用程序 ,它与BES( BlackBerry Enterprise Server )通信以在设备上执行某些操作。

Now I want to create a installer file ( .exe ) file which will take care of following things: 现在我想创建一个安装程序文件( .exe )文件,它将处理以下事项:

  1. Installation of JBoss server on client machine 在客户机上安装JBoss服务器
  2. Deploy my application on JBoss server 在JBoss服务器上部署我的应用程序

so that I just have to give that installer file to client and on single click the installer will do all the things for me. 所以我只需要将安装程序文件提供给客户端,单击即可安装程序为我完成所有操作。

  • Package the normal (unmodified) JBoss distribution into your installer 将正常(未修改的)JBoss发行版打包到安装程序中
  • The installer unpacks the JBoss distribution, and uses jboss-cli.sh to configure it. 安装程序解压缩JBoss发行版,并使用jboss-cli.sh进行配置。
  • The installer copies your application into the deployment directory 安装程序将您的应用程序复制到部署目录中

  • Configure and deploy your application on your development system (including data sources etc.) 在开发系统上配置和部署应用程序(包括数据源等)
  • Package that JBoss installation into your installer (you probably don't need the content in .../standalone/data/ ) 将JBoss安装打包到安装程序中(您可能不需要.../standalone/data/
  • The installer just unpacks that JBoss installation on the client's system 安装程序只是在客户端系统上解压缩JBoss安装

The 2nd options possibly seems to be easier, but in the long run, the 1st option is superior, because you automatically get a script of all configuration changes. 第二个选项似乎更容易,但从长远来看,第一个选项是优越的,因为您自动获得所有配置更改的脚本。

Note: The 1st option requires JBoss 7 注意:第一个选项需要JBoss 7

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

相关问题 通过install4j安装程序在JBoss上部署Web应用程序的步骤 - Steps to deploy web application on JBoss via install4j installer 通过install4j安装程序或Advanced Installer在Tomcat上部署Web应用程序的步骤 - Steps to deploy web application on Tomcat via install4j installer or Advanced Installer 在JBoss AS 7上部署Web应用程序时出错 - Error when deploy web-application on JBoss AS 7 如何在JBOSS中部署应用程序? - How to deploy Application in JBOSS? 在 jboss 中部署应用程序失败 - Failed to deploy an application in jboss 如何在 JBoss 上部署 Java 独立应用程序以及其他 Web 应用程序 - How to deploy Java standalone application on JBoss along with other web applications 无法在JBOSS服务器上部署基于Maven的Java Web应用程序 - Unable to deploy maven based java web application on JBOSS server 如果将Jdbc作为Web应用程序部署在Jboss AS 7中,模块名称是什么? - What's the module name if deploy jdbc in Jboss AS 7 as web application 在jboss 7上部署Java EE应用程序 - deploy java EE application on jboss 7 在JSF2 Web应用程序(JBoss)中以编程方式登录到自定义JAAS LoginModule - Programmatic Login to custom JAAS LoginModule in JSF2 web application (JBoss)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM