Вы находитесь на странице: 1из 20

IBM Websphere Portlet Factory

Creating Project

Creating a project

A single WebSphere Portlet Factory project can contain multiple portlets or Web applications

1. Select New WebSphere Portlet Factory Project

2.Specify project name

3.next->adding feature set

4.next-> Specify java build settings

5.Next -> Spiecify deployement configuration

Project structure

Project structure contd..


Models Profiles WebContent/WEB-INF/work/source JRE System Library WebContent

WEB-INF

Project structure contd..


WEB_INF Directory structure WEB-INF/bin Contains various batch files and scripts. WEB-INF/builders Contains all of the builder definition files used in the Factory. WEB-INF/classes Part of Factory's class path. Contains the deployable Java classes used by your Web applications. WEB-INF/clientLibs Part of Factory's class path. Stores the deployable JAR files used by your Web applications. WEB-INF/config Contains the property files used by the Factory. WEB-INF/factory Contains non servable Factory core elements.

Project structure contd..


WEB_INF Directory structure WEB-INF/lib Part of the Factory's class path. Contains all the JAR files used by the Factory. WEB-INF/logs Contains log files from the Factory. WEB-INF/manifests Contains a manifest of all the files in your project. WEB-INF/models Contains all the models installed as part of the Factory, as well as models you create. WEB-INF/profiles Contains all of your profile sets. WEB-INF/script_templates Contains .jst templates. WEB-INF/work Contains sample Java source files and classes. WEB-INF/work/classes The work/classes directory is also part of Factory's class path. All classes in this directory get dynamically loaded by the Factory. WEB-INF/work/source Contains sample code and serves as a convenient place to store Java source files for your Web applications.

Web App

Deployment
Before you can test or run your application, you need to deploy the
application as a WAR file to an application server or portal server.

Deploy war file in IBM WebSphere Portal 6.0 server

WAR files
A WAR file is an archive consisting of application artifacts, which can be deployed to an application server or portal server.

There are three types of WAR files that you can deploy from WebSphere Portlet Factory: Development WAR Portlet WAR Deployment WAR

Deployment configurations
There are two types of deployment configurations you can set up in WebSphere Portlet Factory, as follows:

Application Server deployment configuration This configuration covers the development and deployment WAR files

Portal Server deployment configuration This configuration covers the portlet WAR file, and must be set to use a portal server.

Application Server Deployment Configurations

Application Server Deployment configuration settings

Portal Server Deployment Configuration

Portal Server Deployment Configuration Settings

Thank You!

Вам также может понравиться