what is the difference between standalone and domain mode in jboss?
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.