Portlet Factory, Version 6.1.2


 

Creating an IBM WebSphere Portlet Factory project

The first step in building an application is to create a project. This project will contain all the artifacts and features required by the application.

  1. Set up the environment.

    1. Install WebSphere Portlet Factory Designer locally.

      WebSphere Portlet Factory Designer is the development environment for creating web applications, portlets, and widgets. It is installed into an integrated development environment (IDE) such as Eclipse or Rational® Application Developer. If you do not have Eclipse or Rational Application Developer installed already, you can install Eclipse as part of the WebSphere Portlet Factory installation procedure.

    2. Establish access to a local or networked installation of IBM® WebSphere Portal server, IBM WebSphere Application Server, IBM WebSphere Application Server Community Edition (CE), Tomcat, IBM Lotus® Mashups server, or IBM InfoSphere MashupHub.

      To deploy or autodeploy your project, the target server must be running.

  2. Launch the Eclipse or Rational Application Developer client into which you installed WebSphere Portlet Factory.

  3. From the menu, click Window > Open Perspective > Other > WebSphere Portlet Factory.

  4. From the File menu, select New > WebSphere Portlet Factory Project.

  5. Provide a name for the project and then click Next.

  6. In the Feature Set page, select the feature sets to include in the project and click Next.

    You can add feature sets to or remove feature sets from the project at a later time.

  7. Click Next to continue to the Deployment Configuration screen.

    The current configuration settings are displayed on the Deployment Configuration screen. If WebSphere Application Server CE is installed on your system when you install WebSphere Portlet Factory or it was already on your system, the WebSphere Application Server CE server configuration is created for you automatically.

    You can add a new configuration, or edit the currently selected configuration.

  8. Optional: Edit an existing configuration for the project for your particular environment.

    1. In the Project Deployment Configurations window, click Edit.

      The configuration settings for the selected deployment configuration are displayed in the Edit Deployment Configuration window.

    2. Modify any configuration settings.
    3. Optional: Click Test Server Connection to verify the connection to the target server.

      If you receive an error, ensure that your server is running and click Test Server Connection again. Click OK to continue.

  9. Click Finish to complete creating the project.

    If the target server for your deployment configuration is not running, you are prompted to start it. If you plan to create and test applications, you should start the server. Otherwise, you can start the server later.

    You are prompted to deploy your project now. If you click Yes, WAR files are deployed locally and are automatically deployed when you make changes to the project.

Parent topic: About working with projects


Library | Support |