The JBoss Enterprise Web Platform ships with two server profiles. You can choose which configuration to start by passing the
-c parameter to the server startup script. For instance, the run.sh -c production command would start the server in the production profile. Each profile is contained in a directory named JBOSS_HOME/server/$PROFILE/, where $PROFILE represents the profile name. You can look into each server profile's directory to see the services, applications, and libraries included in the profile.
Note
The exact contents of the
server/$PROFILE directory depends on the profile service implementation and is subject to change as the management layer and embedded server evolve.
- The
defaultprofile is the mostly common used profile for application developers. It supports the standard Java EE 5.0 programming APIs (for example, Annotations, JPA, and EJB3). - The
productionprofile has the features of thedefaultprofile with added clustering support and enterprise extensions. It is optimized for production environments.
The detailed services and APIs supported in each of these profiles will be discussed throughout.