Installation and configuration of JBOSS in Windows,
Install and configure JBOSS to build a local project environment
I. JDK Installation
First install JDK and configure the environment variable (PATH, CLASSPATH, JAVA_HOME ).
For details, refer to JDK installation and environment variable configuration in Windows.
II. Introduction to Jboss
JBOSS is an EJB server, just like Tomcat is a JSP server, it is a type of server.
In this article, we downloaded the JBoss version jboss6.1.0.Final.
: Http://www.jboss.org/jbossas/downloads
Download the jboss-as-distribution-6.1.0.final.zip file on the downloaded page.
After the download is complete, decompress the package to complete the installation. decompress the package and place it in a directory without spaces (if the directory contains spaces, some inexplicable errors may occur in the future ).
At the same time, set the environment variable JBOSS_HOME in "environment variable settings" and set the value to the installation path of JBoss.
Iii. JBOSS installation process:
1. download the latest JBOSS and decompress it to the E-disk directory (or another disk ),
2. You also need to set the JBOSS_HOME environment variable.
3. Go to the JBOSS-> bin directory and run. bat.
If everything works, we can start the server.
4. Access link: http: // localhost: 8080/
The JBOSS configuration is successful!
The default port number above is 8080.