JBoss installation

xiaoxiao2021-03-06  42

JBoss Tomcat has become a free open source stable J2EE server, although it is easier to deploy J2EE in JBoss, it is basically written by manually writing XML configuration files, but this makes us more easily understand J2EE's 来 龙 去.

Note that the difference between Tomcat3 and Tomcat 4, the difference between jboss 2 and jboss 3 is large, this is a case in JBoss 2, it is recommended to install JBoss 3. JBoss 3 installation is actually simpler, download decompression Operating, deploying applications.

1. Download the JBOSS integrated Tomcat package from the JBoss homepage http://www.jboss.org.

Download from Ant Homepage to publish J2EE (.ser) or web programs (.war) or Java packages (.jar)

2. Set environment variables

· Java_home = c: /jdk1.4 -> Suppose you install Java 2.0 SDK IN C: /JDK1.4

· Ant_home = C: /jakarta-ant-1.4 -> Suppose you install in C: /jakarta-ant-1.4

· Jboss_dist = c: / jboss_tomcat / jboss -> Suppose you install JBoss in C: / JBoss_Tomcat / JBoss JBoss 3.0 has no jboss this subdirectory

The settings in Windows 2000 are set to the Control Panel -> System -> Environment Variables

3. Set PATH to join% Java_Home% / bin;% ant_home% / bin to be able to perform JDK and Ant

4. Download the JBoss application example from http://www.jboss.org/docs/manual/files/documentation-example.zip. Unzip to

C: / jboss_tomcat || ---- Examples ---> Application example installation directory | ---- jboss | ---- Catalina -> Tomcat 4.0

Enter an Examples / Build directory from Windows: Ant Intro-Interest-Ear

A series of information will appear, and finally "build successfully"

Go to the examples / build-example / intendest directory, discover the newly established Interest.EAR

5. Start JBoss to copy the interest.ear to the C: / jboss_tomcat / deploy directory, in JBoss 3.x is a Server / Default / Deploy directory.

A range of information deploying Interest.ear in the JBOSS control window.

6. A form will appear by http: // localhost: 8080 / intend / access, and after submission, it will be displayed.

At this point, your J2EE application server is installed.

转载请注明原文地址:https://www.9cbs.com/read-71489.html

New Post(0)