Get started with JBoss Overview

Source: Internet
Author: User
      This article mainly describes the overview of JBoss and briefly describes the bin directory, Lib, client, and server.

JBoss Overview: JBoss is a componentized microkernel structure, which consists of a server kernel and various extension components. It connects and manages various extension components through JMX (Java Management extension, the extended components include JTs/JTA components, security management (JAAS) groups, data source components, remote management components, and so on. All components are connected and loaded to the server kernel as bean services. We can customize specific server instances and use the required components to meet our development and application requirements. In the following introduction, we use the jboss4.0.4ga version. Unless otherwise specified, jboss_home refers to the JBoss installation path.

JBoss Overview: JBoss generally has the following directories: Bin, Lib, client, and server. We will introduce them separately.

1. The bin directory mainly contains scripts and start/stop packages for starting and stopping services in various operating systems.
Run. BAT and shutdonw. Bat scripts. You can run scripts on the console to start and stop services:
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 only use this parameter during development), we can run. row 80th REM set java_opts =-xdebug-xrunjdwp: Transport = dt_socket, address = 8787, Server = Y, suspend = Y % java_opts % of the bat script is removed from the REM above, if you need to supportCodeApply the changes immediately without restarting the server. You can change it to set java_opts =-xdebug-noagent-xrunjdwp: Transport = dt_socket, address = 8787, Server = Y, suspend = Y % java_opts %

2. Lib
Some servers and core packages developed by J2EE, such as J2EE. jar can be obtained from this package. During J2EE development, copy the files in this directory to your workspace or connect your compiling and running paths to this directory.

3. Client
Some Dependent packages required by the J2EE development client also introduce the files in this directory to your work zone.

4. Server
Server instance. By default, the server provides three server instances: All, default, and minimal. All provides all the extension components of JBoss (including embedding a Tomcat web container ), default provides most components of JBoss, while minimal does not. If you need to customize the desired server instance, you can create a directory under this directory, copy all the files under all to this directory, and increase or decrease accordingly.

Next we will introduce the use and configuration of each extension component, using the server's all server instance, so before you start, don't forget to start it up and run-C all. The above is the overview of 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.