Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between standalone and domain on JEE6?

I'm starting an JBoss to use on the development, and I'm using it as standalone. I read that on the production environment the JBoss should be as a domain.

I searched for that to understand what's the difference between than. But I didn't found any document well explained.

like image 584
endrigoantonini Avatar asked Oct 30 '12 16:10

endrigoantonini


People also ask

What is the difference between standalone and domain mode?

In the standalone mode, you just have one instance running; thus, only one profile can be chosen. In the domain mode, you can have different instances running, sharing the same domain controller but providing different features, and thus, profiles.

What is standalone mode in JBoss?

For these use cases, a JBoss Application Server 7 instance can be run as a "standalone server". A standalone server instance is an independent process, much like an JBoss Application Server 3, 4, 5, or 6 instance is. Standalone instances can be launched via the standalone.sh or standalone.

What is Domain mode in JBoss?

The JBoss EAP "Domain" mode differs from traditional Standalone mode and allows you to deploy and manage EAP instances in a multi server topology. In this first article we are going to set up a JBoss EAP 7.0 domain with the following requirements: 1 Domain Controller on a machine called host0.

What is domain controller and host controller in JBoss?

The domain controller is the central government for a managed domain. A domain controller configuration requires two steps: A host needs to be configured to act as the Domain Controller for the whole domain. The host must expose an addressable management interface binding for the managed hosts to communicate with it.


2 Answers

That's not really correct. Standalone is fine for production. It's commonly used in production, especially when you only need one instance of the server.

Domain is used when you run several instances of JBoss AS and you want a single point where you can control configuration from. You can read more about it in the documentation.

Update

The link has been changed to the latest version of WildFly as the JBoss AS 7 documentation has been archived, but is still available at https://docs.jboss.org/author/display/AS71/Admin%20Guide.html#8094211_AdminGuide-StandaloneServer

like image 195
James R. Perkins Avatar answered Sep 17 '22 21:09

James R. Perkins


Standalone mode

  • each JBoss server has its own configuration
  • single JVM process

Domain mode

  • central control of multiple servers
  • central configuration for multiple servers
like image 26
Ahmed Salem Avatar answered Sep 17 '22 21:09

Ahmed Salem