Deploying WAR on JBOSS - I
15 June 2008I will present simple steps to create a web application (WAR) and will show how to deploy a WAR on JBOSS.
Let me start from installing Java.
http://java.sun.com/javase/downloads/
Run the installer and install Java at: “C:\Program Files\Java\jdk1.6.0_06\”. An important thing to note is that JBoss, requires the full JDK which contains the JRE along with some additional stuff like javac compiler.
Next step is to install JBoss. Go to the JBoss download page at:
http://labs.jboss.org/jbossas/downloads
Download and install the version you like. I am using JBoss version 4.2.2.GA.
Next step is to create a work folder. Create is separately lets say: C:\Projects\HelloWorld. In the work folder, create a file named “JBoss.bat” and add following contents:
@echo off set JAVA_HOME=\Program Files\Java\jdk1.6.0_06 set JBossHome=\Apps\JBoss\jboss-4.2.2.GA set Path=%JAVA_HOME%\bin;%Path% cd "%JBossHome%\bin" run.bat
This script will simply launch JBoss application server.
Continued …
Related Posts:
Top Of Page | Trackback
If you found this page useful, consider linking to it. Simply copy and paste the code below into your web site.
It will look like this: Deploying WAR on JBOSS - I