You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

  • Package your applications
    If you do not have your application already in the Eclipse, import the application archive using the following steps:
    1. Select File, Import to launch the Select dialog.
    2. Based on your application type, select as given below:
      • For Web application, Select Web, WAR file.
      • For EAR application, Select J2EE, EAR file.
      • For EJB application, Select EJB, EJB JAR file.
    3. Click Next (Note: Remainder of the steps are based on a web application)
    4. Type the name of the WAR file or select the WAR file by clicking on Browse, enter/edit the Project Name and select Apache Geronimo v2.1 Runtime as Target Runtime.
    5. Click Finish to complete the import.
      The imported application can be viewed in the Project Explorer view. The GEP will create a Geronimo specific deployment plan, in this case geronimo-web.xml under WebContent/WEB-INF, if one is not already present in the archive. You may need to edit the deployment plan to map any resources used by your applicatio.
  • Deploy
    To deploy the application on Geronimo, follow the steps below:
    1. In the Servers view, Right-click" on the server select *Add and Remove Projects.
    2. Select the project under Available projects and click on Add button. The project will now be listed under Configured projects. Click Finish.
      The application will be deployed when the server is Started or a Publish is invoked.
  • Run
    In order to run the application follow the steps below:
    1. In the Project Explorer view, Right-click on the project, select Run As, Run on server.
    2. Select Choose an existing server and select Apache Geronimo v2.1 server at localhost.
    3. Click Finish.
      This will start the server if it not already started and run the application. The application's welcome page will open in a browser inside Eclipse.
  • No labels