During the course of development, you use the WebSphere® Portlet Factory Designer to create and run widgets locally.
The recommended best practice for rapid development of widgets is to have a locally-installed IBM® Lotus® Mashups server. If you do not have a local mashup server, refer to Publishing for Production (see below) for information about how to generate a production WAR to deploy widgets to a remote mashup server using the IBM InfoSphere MashupHub.
Developing widgets with WebSphere Portlet Factory consists of the following steps.
- Create and publish the widget functionality using the WebSphere Portlet Factory Designer.
You can also create customized widget functionality with the Designer by profile-enabling builder inputs, as described in Profiling IBM WebSphere Portlet Factory applications
The following builders are not supported in Lotus Mashups.
Cooperative Portlet Source
Cooperative Portlet Target
Lotus Forms Embed
Lotus Forms Launch
Lotus Web Content Management Access
Portal Document Manager Access
Web Service Enable
WebSphere Portal Credential
WebSphere Portal Link
Do not add any of these builders to your model if it is run in Lotus Mashups.
- Run the widget models from WebSphere Portlet Factory Designer to test them.
- Publish the widgets to the Lotus Mashups toolbox by right-clicking on the project and selecting Widgets -> Publish Widgets to Lotus Mashups toolbox to publish the widget. Select the widgets you want to publish and click OK.
If you make additional changes to the widget models after you include the widgets in a mashup page, log out of the mashup server and log back in to see the effects of the changes on your widgets.
When you have finished developing and testing your widgets, export a production deployment WAR for your project. The project WAR can be published to the appropriate Lotus Mashups server through the InfoSphere MashupHub as described in Export for production
Parent topic: Developing Web applications with IBM WebSphere Portlet Factory: wpf7