WPF Sample Application

download WPF Sample Application

of 20

description

IBM Websphere portlet factory application

Transcript of WPF Sample Application

IBM Websphere Portlet Factory

IBM Websphere Portlet FactoryCreating ProjectCreating a projectA 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..ModelsProfilesWebContent/WEB-INF/work/sourceJRE System LibraryWebContentWEB-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 deployableJava classes used by your Web applications.WEB-INF/clientLibs Part of Factory's class path. Stores the deployableJAR 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 structureWEB-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

DeploymentBefore 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 serverWAR filesA 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 WARDeployment configurationsThere are two types of deployment configurations you can set up in WebSphere Portlet Factory, as follows:

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

Portal Server deployment configurationThis 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!