JBoss Getting Started Experience

Source: Internet
Author: User
Tags jboss

JBoss Overview: JBoss is a component-based microkernel structure consisting of a server core and various extension components, and the use of JMX (Java Management Extension) to manage various extension components, including JTS/JTA components, Security Management (JAAS) groups, data source components, remote management parts, and so on, all components are loaded into the server kernel as a bean service connection. We can use the required components to meet our development application requirements by customizing specific server instances. In the following introduction, we are using the JBOSS4.0.4GA version, if not specifically described, jboss_home refers to the installation path of JBoss.

JBoss Overview: JBoss generally has the following directory bin, Lib, client, server, we will introduce separately.

The 1.bin directory is primarily a number of scripts that start services and stop services in various operating systems and start-stop packages, in Windows, for example, are
Run.bat and Shutdonw.bat scripts, you can start services and stop services by running scripts under the command console:
1) Run to start the default service instance
2) Run-c All to start the all service instance

3) Shutdown-s shut down the server

In development if we want it to support debugging (note that it is best to use this parameter only at development time), you can put the 80th line of the Run.bat script REM set java_opts=-xdebug-xrunjdwp:transport=dt_socket,address =8787,server=y,suspend=y%java_opts% in front of the REM removed, if you need to support code changes in development immediately after the application without restarting the server, you can modify it to set java_opts=-xdebug-noagent -xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y%java_opts%

2.lib
Some servers and Java EE Development core packages, such as J2ee.jar can be obtained from the package, in the development of the Java EE, copy files from the directory to your workspace or connect your compilation, run path to the directory

3.client
Some Java EE development clients require a dependency package that also introduces files from that directory into your workspace

4.server
Server instance, the server provides three server instances by default, all, default, and minimal, where all provides all of JBoss's extension components (including embedding a TOMCAT Web container), and default provides most of the component components of JBoss Minimal, however, does not provide any extension components. If you need to customize the required server instance, you can create a directory under the directory, all the files under all copies to the directory, the corresponding increase or decrease.

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.