Deploying WAR on JBOSS - I

15 June 2008

I 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 …

del.icio.us:Deploying WAR on JBOSS - I  digg:Deploying WAR on JBOSS - I  spurl:Deploying WAR on JBOSS - I  wists:Deploying WAR on JBOSS - I  simpy:Deploying WAR on JBOSS - I  newsvine:Deploying WAR on JBOSS - I  blinklist:Deploying WAR on JBOSS - I  furl:Deploying WAR on JBOSS - I  reddit:Deploying WAR on JBOSS - I  fark:Deploying WAR on JBOSS - I  blogmarks:Deploying WAR on JBOSS - I  Y!:Deploying WAR on JBOSS - I  smarking:Deploying WAR on JBOSS - I  magnolia:Deploying WAR on JBOSS - I  segnalo:Deploying WAR on JBOSS - I  gifttagging:Deploying WAR on JBOSS - I

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

Leave a Reply