Reviews
WebSphere TutorialsWebSphere V5.0 : Running Applications - Export J2EE applications
WebSphere V5.0 : Running Applications - Export J2EE applications
In this tutorial you will learn about WebSphere V5.0 : Running Applications - Export J2EE applications, Exporting an enterprise application into an EAR file and Exporting Web Archive (WAR) files.
Exporting an enterprise application into an EAR file
Complete the following steps to export an EAR file:
1. Switch to the J2EE perspective.
.
2. From the File menu, select Export...
.
3. Select the EAR file export wizard and click Next.
.
4. Select the EAR project that you want to export.
.
5. Select the location where you want to export.
.
6. Specify additional options as appropriate using the Options check boxes.
- To export source files, select Export source files.
. - If you are exporting to an existing JAR file and you do not want to be warned about overwriting it, select Overwrite existing files without warning.
. - To include build path information and metadata files, select Include project build paths and meta-data files. This allows you to preserve the original names of projects included in or referenced by the application project, for re-importing the EAR in another workspace. NOTE, however, that on re-import, binary projects will be created if this option is used.

7. Click Finish.
The wizard exports the contents of the EAR project to the specified EAR file. Additionally, for each project that corresponds to a module or utility JAR in the application, the project contents are exported into a nested module or JAR file in the EAR file. If any unsaved changes exist on any of the files in any of the referenced projects, you will be prompted to save these files prior to export.
Exporting Web Archive (WAR) files
A Web archive (WAR) file is a packaged Web application that can be exported to test, publish, and deploy the resources developed within a Web project.
To export WAR file from a Web project, do the following:
1. From the context menu of a Web project folder, select Export.... You can alternatively select menu File > Export...
.
2. Select the WAR file export wizard and click Next.
.
3. Specify the Web project you wish to export (this field is primed if you used the context menu to launch the wizard), and specify a location for the new WAR file.
.
4. Optionally, supply WAR export Options, such as whether or not to include Java source files in the WAR, and whether to overwrite any existing resources during the export process.
NOTE: Source files are not usually included in a WAR file, because they are not necessary for the server to run the web application.

_________________
Author: Mikalai Zaikin. Please Click Here to visit Authors site for any updates and changes to the study notes.
WebSphere Tutorials
- WebSphere V5.0 : Building Expressions
- WebSphere V5.0 : Creating SQL statements
- WebSphere V5.0 : Applying DDL scripts to a remote database
- WebSphere V5.0 : Deploying to the database
- WebSphere V5.0 : Defining a table
- WebSphere V5.0 : Defining a database
- Working with Data in WebSphere
- WebSphere V5.0 : Debugging - JSP debugging
- WebSphere V5.0 : Debugging - Scrapbook Page
- WebSphere V5.0 : Debugging - View variables
- WebSphere V5.0 : Debugging - Step-through code
- WebSphere V5.0 : Debugging - Set breakpoints
- WebSphere V5.0 : Running Applications - Export J2EE applications
- WebSphere V5.0 : Running Applications - Run/operate server
- WebSphere V5.0 : Running Applications - Understand Session Manager
- WebSphere V5.0 : Running Applications - Configure data sources
- WebSphere V5.0 : Running Applications - Create server instance and server configuration
- WebSphere V5.0 : Web Development - Use Web Page Wizards
- WebSphere V5.0 : Web Development - Work with Web Application Deployment Descriptor
- WebSphere V5.0 : Web Development - Use content assist
- WebSphere V5.0 : Web Development - Use Page Designer to add and modify HTML and JSP content
- WebSphere V5.0 : Web Development - Understand classpath and module dependencies
- WebSphere V5.0 : Web Development - Create resources in appropriate J2EE locations
- WebSphere V5.0 : Web Development - Create a web project
- WebSphere V5.0 : Java Development - Use property dialogues
- WebSphere V5.0 : Java Development - Use hierarchy view
- WebSphere V5.0 : Java Development - Use task view
- WebSphere V5.0 : Java Development - Use search function
- WebSphere V5.0 : Java Development - Use content assist function and declarations
- WebSphere V5.0 : Java Development - Use refactoring features
- WebSphere V5.0 : Java Development - Use Outline View and Browsing View
- WebSphere V5.0 : Java Development - Create Java project, packages, classes, methods
- WebSphere V5.0 : Workbench Basics - Use the Help feature to aid in development activities
- WebSphere V5.0 : Workbench Basics - Import to and export from the workbench
- WebSphere V5.0 : Workbench Basics - Work with Perspectives
- WebSphere V5.0 : Workbench Basics - Set workbench preferences
- WebSphere V5.0 : Workbench Basics - Create J2EE projects







