JBoss is an enterprise Javabean (ENTERPRISE Javabean) that can be used as a web server. JBoss is an enterprise javabean (Enterprise Javabean) that can be used as a web server. It is not a simple update of Javabeans, but a number of classes that provide distributed access including entity beans, session beans, and message-driven beans

1. Install JBOSS

Install JBOSS

The ontology is located here and can be downloaded to the JBOSS installation package using Win installation as an example

Decompress to local remember the address of the decompression to configure the JBOSS environment variable

JBoss EAP installation: copy the zip file to the C:\JavaDev\tools folder on your local disk using the decompression tool to decompress the zip file. The folder C:\JavaDev\tools\jboss-eap-* should be created and filled with content. Set the environment variable JBOSS_HOME to point to the newly created Jboss EAP folder. The former. Set the JBOSS_HOME = C: \ JavaDev \ tools \ jboss eap - 7.3

JBOSS relies on the JAVA environment so make sure you have the JAVA environment configured for the user path before installing it

2. Install the patch

JBoss patch update: 1. Copy the patch zip file to the C:\JavaDev\ Tools folder on your local disk. 2. Start the JBoss server. 3. Connect to the JBoss CLI. Bat -c -- Controller =127.0.0.1:9990 4. Run the patch application command from the JBoss CLI command prompt. For example: Patch application C:\JavaDev\tools\ jboss-eap-7.3.5-patch.zip

Integration of 3.

3.1 Integration with IDEA At present, the most convenient version of IDEA Ultimate can come with plug-ins

It’s easy to find your own JBOSS installation path, which is easy to use when you have configured it using the Maven command

mvn clean install   
Copy the code

Packaged and installed, it will be deployed directly into Jboss

3,2 integration with eclipse

It is also not difficult to search for JBOSS in the plugin market by going to HELP-> JBOSS in the Plugin market

Install it, type the project into a JAR or war package, set up JBOSS on the Servers TAB, and then deploy and add the package.

3.3 Manually Deploying a Prepared Package

Put the package directly in the standalone->deployments installation file to deploy

Or the maven command

mvn clean install -Pjboss,localdev
Copy the code

4. Start JBOSS

In IDEA and Eclipse, you can start it directly with plug-ins, but manually start it by going to [JBOSS_HOME]/bin

Type the command

standalone.bat
Copy the code

If you need to specify file startup

EAP_HOME/bin/standalone.bat --server-config=standalone-full.xml
Copy the code

IDEA Specifies the configuration file startup requirements:

-Djboss.server.default.config=standalone-full.xml
Copy the code

Eclipse specifies file startup by simply configuring the startup file.

5. Add the JBOSS user

CMD -> cd [JBOSS_HOME]/bin

Type the command

dd-user.bat
Copy the code

Enter Username & Password Enter ‘Yes’ for the question ‘About to add user username to Management Console’ Enter ‘No’ for EJB calls Done ! You can use this credentials to log in to JBoss console

Ok Add user succeeded.

6. Start

Can automatically open the browser If not, please visit http://localhost:9990/console/

If all goes well you will see the packages you deployed earlier. Finally, record their deployment process, forget to have a reference in the future, if there is any error, please leave a message I timely change thank you.