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.
- Set up the environment.
- 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.
- 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 publish your project, the target server must be running.
- Launch the Eclipse or Rational Application Developer client into which you installed WebSphere Portlet Factory.
- From the menu, click Window -> Open Perspective -> Other -> WebSphere Portlet Factory.
- From the File menu, select New -> WebSphere Portlet Factory Project.
- Provide a name for the project and then click Next.
- 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. As a default condition, the Dojo Ajax feature set is selected. This setting lets your project take advantage of the latest look and style features for the user interface in your web application.
- Click Next to continue to the Server configuration screen.
The current configuration settings are displayed. 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 or delete the currently selected configuration.
- Optional: Edit an existing configuration for the project for your particular environment.
- In the Server Configuration window, click Edit.
The configuration settings for the selected server configuration are displayed in the Edit Server Configuration window.
- Modify any configuration settings.
- Optional: For some server configurations, you can 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.
- Click Finish to complete creating the project.
If the target server for your server 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 publish your project now. If you click Yes, WAR files are published locally and are automatically published when you make changes to the project.
The name of the new project appears in the Project Explorer. The following properties file is created in your project.
This file lets your project take advantage of the latest theme (the bowstreet.themeFile
property) and default Rich Data Definition (RDD) files (the bowstreet.baseRddFile
property). The property for the theme file (/WEB-INF/factory/themes/blue_WPF7.uitheme
) enables use of the smart refresh feature in post-action behavior that involves partial-page refresh in portlets. The property for the RDD file provides automatic settings for the display and validation of page-automation fields and columns in your user interface (UI). A single RDD file (in /WEB-INF/factory/data_definitions
) is used by default by page-automation pages.
Parent topic: Working with IBM WebSphere Portlet Factory projects