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.
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.
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.
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.
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.
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
Standalone mode
Domain mode
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With