Creating Deployment Profiles
A deployment profile defines the way the application is packaged into the archives that are deployed into the target environment. The deployment profile:
Specifies the format and contents of the archive file to be created
Lists the source files, deployment descriptors, and other auxiliary files to be packaged
Describes the type and name of the archive file to be created
Highlights dependency information, platform-specific instructions, and other information
You can define and store deployment profiles at application or project level, giving you more flexibility and enabling direct referencing and sharing. For example, you could create a WAR profile for projects associated with the View and Controller layers and a Business Components JAR for the model project. You could then create an application-level EAR profile that assembles the model and view-controller profiles for deployment.
You can create a deployment profile by using the New Gallery, or by using application properties or project properties. The types of profiles that are available for you to choose depend on the type of project or application for which you are creating a profile. For example, as the slide shows, application deployment profiles are EAR files, whereas project deployment profiles offer different choices depending on the type of project.