| How to deploy an application on JBoss AS |
|
|
|
| Written by F.Marchioni | |||||
| Wednesday, 16 December 2009 10:11 | |||||
|
A short tutorial for JBoss AS beginners which explains how to deploy an application.
Deploying an application with JBoss AS is a straightforward task. If you have access to the host where JBoss is installed you can simply copy the application (.jar , .war, .ear etc) into the JBOSS_HOME/server/<your config>/deploy folder
Simply substitute <your config> with your server configuration (default, all, minimal, web, standard) An application can be deployed in two flavours:
It is advised to use exploded directory for development and packed archive for production since you can do partial redeployments of the application with exploded directory. For example if you are deploying a Web application and you want to update just one Servlet, with exploded directory you can do it without redeploying the application. Also remember that simply "touching" a Java EE configuration file (web.xml , application.xml) causes the application to redeploy. In the same way, touching a JBoss specific configuration file (like jboss-web.xml) will cause the application to redeploy as well. Not satisfied with standard deploying ? check the following resources: How to deploy an application remotely with JBoss AS How to configure a different deployment directory with JBoss AS How to add a custom JBoss archive in an ear
JBoss.org Search
Custom Search
Only registered users can write comments!
Powered by !JoomlaComment 3.26
3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved." |
|||||
| Last Updated ( Wednesday, 16 December 2009 10:40 ) |





