Java Tour EJB (1)-Soldier not moved, fodder first (JBoss)

Source: Internet
Author: User
Tags jboss jboss server tomcat server

Before explaining the EJB, I had to mention JBoss. Before the DRP was made contact with the Tomcat server, compared to JBoss, Tomcat is lightweight, and JBoss belongs to the application-level server. We mainly introduce the JBoss server.

 Download and install

Download we'd better go to the official website to download, as the evolution has appeared a lot of versions, you can choose the latest and most stable version (note must match the JDK version). This is not explained in detail here.

Installation is very simple, will download the installation package to decompress, remember the installation path is best not to appear in Chinese and space. (May be error, in order to avoid, it is best not to use Chinese and white space directory)

My installation directory is F:\jboss-eap-6.2-, and the directory structure is:

 Directory parsingstartup file (Run.bat)  

  Click Run.bat (batch file) to start Jboss,ctrl+c and terminate JBoss operation.

When you double-click the Run.bat script, the default startup configuration item is defaults, and of course we can modify the configuration of the startup item.

Note: If the error occurs because:

1, whether the port number is occupied, such as 8080;

2. Whether the Java_home and CLASSPATH system variables are set for the JDK, and if not, set.

3. Check if the JDK version used by JBoss is more than 1.5 and can be viewed in the console output information.

4, if the occurrence of findstr is not internal or external command, is not a running program or batch file, you should append "%systemroot%\system32;%systemroot%;" in the system variable path.

Management Background  

Input http://localhost:8091; The front is your host address, the latter is your port number, my here is 8091, how to view, see:


To view the contents of a file:

 Configuring System Variables

The configuration of the Jboss_home environment variable points to the installation directory of JBoss, so we need to add the environment variable when we have finished installing it.

Right-click the "My Computer--Properties--Advanced environment variable," Add the Jboss_home variable in the "System variable", the value is the installation path of JBoss, for example, my is: f:\ jboss-eap-6.2, in order to facilitate the input of the JBoss command, we add the JBoss Bin directory to the system path, find the variable named path in the system variable, the point edit append at the end of the variable:;%jboss_home%\bin;

 integration into eclipse or MyEclipse

  Re-configure the JDK


  This integrates jboss into eclipse or myeclipse.


Isn't it convenient to start jboss?

Here JBoss installation and configuration is complete, there is no understanding of the place or in doubt, please communicate ~

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Java Tour EJB (1)-Soldier not moved, fodder first (JBoss)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.