JAVA EXAMPLE PROGRAMS

JAVA EXAMPLE PROGRAMS

Publish Your Article Here

How to start/stop JBoss AS 7 in standalone mode?


Here are the steps to start JBoss AS 7.X in standalone mode:

To start / stop JBoss, goto the bin folder inside JBoss home folder, and execute below command:

/*** To start in linux / UNIX / Mac OS ***/
./standalone.sh

/*** To stop in linux / UNIX / Mac OS ***/

./jboss-cli.sh --connect --command=:shutdown

On Windows find standalone.bat inside bin folder and run it. 
To stop JBoss, simply press Crtl-C on the terminal.
Next Program >>
blog comments powered by Disqus

JBoss configuration examples

  1. How to start/stop JBoss AS 7 in standalone mode?
  2. How to load external property file in JBoss 7 classpath?
  3. How to configure Data Source (JDBC Connection Pool) in JBoss AS 7 standalone mode?
  4. How to configure database failover and high availability in JBoss 7 Datasource?
Knowledge Centre
What is abstract class or abstract method?
We cannot create instance for an abstract class. We can able to create instance for its subclass only. By specifying abstract keyword just before class, we can make a class as abstract class.

public abstract class MyAbstractClass{

}

Abstract class may or may not contains abstract methods. Abstract method is just method signature, it does not containes any implementation. Its subclass must provide implementation for abstract methods. Abstract methods are looks like as given below:

public abstract int getLength();
Famous Quotations
I don’t know the key to success, but the key to failure is trying to please everybody.
-- Bill Cosby

About Author

Most Visited Pages

Other Interesting Sites

Reference: Java™ Platform Standard Ed. 7 - API Specification | Java is registered trademark of Oracle.
Privacy Policy | Copyright © 2017 by Nataraja Gootooru. All Rights Reserved.