"JBoss" JBoss directory structure

Source: Internet
Author: User
Tags jboss jboss server

JBoss can start Minimal,default and all in 3 ways by default. The number of modules in the three modes is incremented sequentially   For example: 1-Execute Jboss_home/bin/run.bat batch file to start JBoss, start with default of 2-run run-c All in the command, JBoss will start with the all Model 3-You can customize a server to suit your needs, such as building a test directory  run-c TEST&NBSP;JBOSS directory structure under Jboss_home/server jboss_home/ Bin:jboss executable Commands Jboss_home/client:jboss Client locks Use some of the common jar files Jboss_home/docs:jboss Some DTD documents, sample code and test documents jboss_home/ Some jar files used in Server:jboss server-side startup Jboss_home/server/default:jboss The default server jboss_home/server/default/conf: A directory that includes the configuration files for the JBoss default server jboss_home/server/default/data:jboss an embedded Hypersonec database that stores data jboss_home/server/default/ Deploy: Directory for deploying JBoss applications Jboss_home/server/default/lib: The jar file directory that will be loaded when the JBoss default server is started Jboss_home/server/default /log: Log file hosting JBoss default server Jboss_home/server/default/temp/deploy: In order to report the server every time it can be run stably, JBoss will build a buffer file for each application in this directory at runtime, and the runtime's program operation will not affect the module jboss_home/server/default/work in the directory: The working directory provided for the JBoss internal program  jboss Mbeanjboss is a system built on JMX technology, so using JMX technology to develop appropriate Mbean components can extend JBoss functionality, add new features 1-Create an Mbean interface, inherit servicembean,  Servicembean represents a service object in the form of an mbean that exists in JBossPublic Interface Xxxxmbean extends Servicembean  Public class Counter extends Servicembeansupport implements xxxxmbean{   public int get (int num) {                      .... name=new ObjectName ("Book.liuyong:service=counter"); string[] sig={"int"}; string[] args={new Integer (3)}; Object Result=server.invoke (name, "Add", OPARGS1,SIG1);               ....     } }2-packaged. SAR Write Jboss-service.xml configuration file to build Jboss=service.xml file, add <server> <mbean code= " Com.liuyongjmx.mbeans.counter.Counter "Name=" Book.liuyong:service=counter "></server>3- Package counter and Counterbean with Jboss-server.xml files as Counter.sar package 4-Deploy packages to Jboss_home/server/default/deploy

"JBoss" JBoss directory structure

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.