© 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that...

41
© 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications with WebSphere Portlet Factory Speaker: Jonathan Booth WebSphere Portal Technical Conference U.S. 2008

Transcript of © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that...

Page 1: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

© 2008 IBM

Session ID: D12

Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications with WebSphere Portlet Factory

Speaker: Jonathan Booth

WebSphere Portal Technical Conference U.S. 2008

Page 2: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

2WebSphere Portal Technical Conference U.S. 200822

Agenda

Portlet Factory overview

Data integration and SOA in Portlet Factory

Working with Lotus Domino

Working with tasks from WebSphere Process Server

Working with Lotus Connections and Lotus Quickr

Working with services from InfoSphere MashupHub

Working with IBM Information Server

Working with Workplace Web Content Management

Additional Features of Portlet Factory

Portlet Factory roadmap

Q&A

Page 3: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

3WebSphere Portal Technical Conference U.S. 200833

WebSphere Portlet Factory

Rapid development Robust integration capabilities Service-oriented development Simple deploy to WebSphere

Portal or WebSphere Application Server

Plug-in to Eclipse, IBM Rational tools, or WebSphere Integration Developer

IBM WebSphere Portlet Factory simplifies & accelerates the development, deployment, maintenance, and reuse of custom portlets and applications.

Page 4: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

4WebSphere Portal Technical Conference U.S. 200844

Accelerate new deployments

Developers of all skill levels can rapidly build multi-page, complex applications without writing Java code

* Generated Method [_pageDispatcher] * Generated by builder call [bc21] */public void _pageDispatcher(WebAppAccess webAppAccess){ com.bowstreet.webapp.JSPSupport.dispatch(webAppAccess);} /** * Generated Method [getFlights_PagingGetImgName] * Generated by builder call [bc21] */public String getFlights_PagingGetImgName(WebAppAccess webAppAccess, String button, String position){ PagingAssistant asst = (PagingAssistant)webAppAccess.getVariables().getObject("getFlights_Paging"); String img = button + position; if ((button.equals("First") || button.equals("Prev")) && !asst.hasPreviousPage()) img = button + "Disabled"; if ((button.equals("Next") || button.equals("Last")) && !asst.hasNextPage()) img = button + "Disabled"; return webAppAccess.getVariables().getXmlText("getFlights_PagingButtonImages", img);

Wizard-driven Builders

…generate J2EE-compliant code automatically

“We selected Portlet Factory because it’s a tool that’s easy

to use. We like the Builder and profiling technology and it

makes it much easier for us to maintain and test our code. Portlet Factory gives us the

ability to leverage our existing resources and it’s a standards-based tool that is a natural fit

with WebSphere Portal .”

Bill Jenkins Director of IT

UNICCO

Page 5: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

5WebSphere Portal Technical Conference U.S. 200855

Automation of service-oriented applications

Portlet Factory automates high-level design patterns

Domino

SAP and Siebel

Web Service

Tables

FormsCharts

- for creating services from enterprise data- for building the presentation layer

Page 6: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

6WebSphere Portal Technical Conference U.S. 200866

Key concepts: builders

Capture design patterns and automate the creation of code

Have easy to use, wizard-like interfaces

Create or modify any number of application elements and artifacts Pages, schemas and

data, server-side and client-side actions and logic, back end connectivity, etc.

/** * Generated Method [employees_SelectRow] */public void employees_SelectRow(WebAppAccess webAppAccess,

Integer rowIndex, String nextAction) { int index = rowIndex.intValue(); Variables vars = webAppAccess.getVariables(); int selectedRow = index - 1; IXml data = vars.getXml("employeesGetEmployeesByDeptResults"); if (data == null) return; data = data.findElement("EmployeeList"); if (data == null) return; int row = 0; IXml child = data.getFirstChildElement(); while (child != null) { if (row == selectedRow) { vars.setXml("employees_SelectedRowData", child); break; } row++; child = child.getNextSiblingElement(); } webAppAccess.callMethod( "employeesGetEmployeeRecord" );

webAppAccess.processAction(nextAction);}

Page 7: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

7WebSphere Portal Technical Conference U.S. 200877

Key concepts: models

Models are containers for aggregating builders

Developers work iteratively with builders in a model to create a custom “assembly line”

A model is typically used to create a service or presentation pages

Page 8: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

8WebSphere Portal Technical Conference U.S. 200888

Agenda

Portlet Factory overview

Data integration and SOA in Portlet Factory

Working with Lotus Domino

Working with tasks from WebSphere Process Server

Working with Lotus Connections and Lotus Quickr

Working with IBM Information Server

Working with IBM Information Server

Working with Workplace Web Content Management

Additional Features of Portlet Factory

Q&A

Page 9: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

9WebSphere Portal Technical Conference U.S. 200899

Service-oriented architecture (SOA)

Key Benefits

Promotes independent development and testing of front end and data layers

Automates back end connectivity

Enables reuse of assets

WebSphere Portlet Factory features a Data Services Layer - providing automatic support for a service provider & consumer paradigm

Reuse existing assets

Use one data service to

drive display of multiple

portlets

Reuse same UI with different data services

Page 10: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

10WebSphere Portal Technical Conference U.S. 20081010

Presentation models

Ser

vice

Con

sum

er

Ser

vice

Def

initi

on

SQ

L C

all

Ser

vice

Ope

ratio

n

Ser

vice

Ope

ratio

n

SQ

L C

all

Service model

DB

Ser

vice

Con

sum

er

Service and presentation models

Vie

w &

For

mV

iew

& F

orm

Page 11: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

11WebSphere Portal Technical Conference U.S. 20081111

Presentation models

Ser

vice

Con

sum

er

Ser

vice

Def

initi

on

Dom

ino

Dat

a A

cces

s

Ser

vice

Ope

ratio

n

Ser

vice

Ope

ratio

n

Dom

ino

Dat

a A

cces

s

Service model

Ser

vice

Con

sum

er

Service and presentation models – Domino

Vie

w &

For

mV

iew

& F

orm

Page 12: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

12WebSphere Portal Technical Conference U.S. 20081212

Presentation models

Ser

vice

Con

sum

er

Ser

vice

Def

initi

on

Web

Ser

vice

Cal

l

Ser

vice

Ope

ratio

n

Ser

vice

Ope

ratio

n

Web

Ser

vice

Cal

l

Service model

Ser

vice

Con

sum

er

Service and presentation models – web services

Vie

w &

For

mV

iew

& F

orm

RemoteServer

or Enterprise Service Bus

Page 13: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

13WebSphere Portal Technical Conference U.S. 20081313

Data integration support in Portlet Factory

System or Data Source Builder

Relational databases SQL Call

SAP SAP Function Call

Siebel Siebel Business Component

PeopleSoft Peoplesoft Component Interface

IBM Lotus Domino Domino Data Access

WSDL/SOAP Web service Web Service Call or Web Service Multiple Operation

REST-style service, Lotus Connections, Lotus Quickr,

InfoSphere MashupHub

REST Service Call

IBM WebSphere Process Server tasks Human Task Processing Action and

Human Task Query

IBM Information Server IBM Information Service Call

XML Data Import to XML

Java beans Linked Java Object

EJB EJB Call

Microsoft® Excel Excel Import

IBM Workplace Web Content Management Lotus Web Content Management Access

IBM Lotus Forms Lotus Forms Launch and Embed

Demo

Page 14: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

14WebSphere Portal Technical Conference U.S. 20081414

Agenda

Portlet Factory overview

Data integration and SOA in Portlet Factory

Working with Lotus Domino

Working with tasks from WebSphere Process Server

Working with Lotus Connections and Lotus Quickr

Working with services from InfoSphere MashupHub

Working with IBM Information Server

Working with Workplace Web Content Management

Additional Features of Portlet Factory

Q&A

Page 15: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

15WebSphere Portal Technical Conference U.S. 20081515

Lotus Domino

Domino Data Access builder provides access to Domino data and application elements:

Databases Views (tables) Documents Forms Agents Formulas

Demo

Page 16: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

16WebSphere Portal Technical Conference U.S. 20081616

Agenda

Portlet Factory overview

Data integration and SOA in Portlet Factory

Working with Lotus Domino

Working with tasks from WebSphere Process Server

Working with Lotus Connections and Lotus Quickr

Working with services from InfoSphere MashupHub

Working with IBM Information Server

Working with Workplace Web Content Management

Additional Features of Portlet Factory

Q&A

Page 17: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

17WebSphere Portal Technical Conference U.S. 20081717

WebSphere Process Server

Business Process Integration Extension provides access to human tasks from WebSphere Process Server

Available as a download from SOA Business Catalog

Builders:

Human Task Processing Action adds support for:• Initiating a task• Processing a running task

Human Task Query adds support for:• Retrieving lists of tasks, e.g. “My Tasks”

Pre-built task list provider

Pre-built task list portlet

Page 18: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

18WebSphere Portal Technical Conference U.S. 20081818

Task processing – builder and running application

Use task metadata file

exported from WebSphere Integration Developer

Task-specific data structures

are automatically used to generate forms and views

Page 19: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

19WebSphere Portal Technical Conference U.S. 20081919

Task list – builder and running application

Task list data query criteria can be used

out of the box or customized

Task list portlet can be used out of the box or

customized

Page 20: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

20WebSphere Portal Technical Conference U.S. 20082020

Agenda

Portlet Factory overview

Data integration and SOA in Portlet Factory

Working with Lotus Domino

Working with tasks from WebSphere Process Server

Working with Lotus Connections and Lotus Quickr

Working with services from InfoSphere MashupHub

Working with IBM Information Server

Working with Workplace Web Content Management

Additional Features of Portlet Factory

Q&A

Page 21: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

21WebSphere Portal Technical Conference U.S. 20082121

Lotus ConnectionsLotus Quickr

These products support REST services and ATOM publishing protocol for access to data and services

Portlet Factory’s REST Service Call builder makes it easy to access those services

Detailed samples and articles are available on wiki and developerWorks

Page 22: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

22WebSphere Portal Technical Conference U.S. 20082222

Lotus Connections “Profiles”

Demo

Page 23: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

23WebSphere Portal Technical Conference U.S. 20082323

Lotus Quickr – document library

Demo

Page 24: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

24WebSphere Portal Technical Conference U.S. 20082424

Agenda

Portlet Factory overview

Data integration and SOA in Portlet Factory

Working with Lotus Domino

Working with tasks from WebSphere Process Server

Working with Lotus Connections and Lotus Quickr

Working with services from InfoSphere MashupHub

Working with IBM Information Server

Working with Workplace Web Content Management

Additional Features of Portlet Factory

Q&A

Page 25: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

25WebSphere Portal Technical Conference U.S. 20082525

InfoSphere MashupHub

MashupHub provides REST-style access to enterprise data

Supports transforming and mixing of information sources

In Portlet Factory, REST Service Call builder accesses MashupHub services

Page 26: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

26WebSphere Portal Technical Conference U.S. 20082626

MashupHub Catalog

Facilitate sharing & reuse through the catalog

A single central catalog for feeds and

widgets

Tagging and Rating promotes

collaboration, re-use, and business self

service

Secure and govern access

and use

Demo

Page 27: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

27WebSphere Portal Technical Conference U.S. 20082727

Agenda

Portlet Factory overview

Data integration and SOA in Portlet Factory

Working with Lotus Domino

Working with tasks from WebSphere Process Server

Working with Lotus Connections and Lotus Quickr

Working with services from InfoSphere MashupHub

Working with IBM Information Server

Working with Workplace Web Content Management

Additional Features of Portlet Factory

Q&A

Page 28: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

28WebSphere Portal Technical Conference U.S. 20082828

IBM Information Server

Information Service Call builder supports services from Information Server

Builder is available as download from Portal Catalog

Page 29: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

29WebSphere Portal Technical Conference U.S. 20082929

Information Service Call builder

Builder allows for browsing information services and their

metadata

Portlet Factory builder

Page 30: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

30WebSphere Portal Technical Conference U.S. 20083030

Information Service Call – running application

Page 31: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

31WebSphere Portal Technical Conference U.S. 20083131

Agenda

Portlet Factory overview

Data integration and SOA in Portlet Factory

Working with Lotus Domino

Working with tasks from WebSphere Process Server

Working with Lotus Connections and Lotus Quickr

Working with services from InfoSphere MashupHub

Working with IBM Information Server

Working with Workplace Web Content Management

Additional Features of Portlet Factory

Q&A

Page 32: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

32WebSphere Portal Technical Conference U.S. 20083232

IBM Workplace Web Content Management

Create custom portlets using content & components from WCM

pages page fragments images text style sheets

Retrieve content & components using various criteria

Name Path Authoring template

Page 33: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

33WebSphere Portal Technical Conference U.S. 20083333

Agenda

Portlet Factory overview

Data integration and SOA in Portlet Factory

Working with Lotus Domino

Working with tasks from WebSphere Process Server

Working with Lotus Connections and Lotus Quickr

Working with services from InfoSphere MashupHub

Working with IBM Information Server

Working with Workplace Web Content Management

Additional Features of Portlet Factory

Q&A

Page 34: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

34WebSphere Portal Technical Conference U.S. 20083434

Additional features – Ajax and user interface

Portlet Factory has a rich set of builders for enhancing and modifying the application user interface

These UI builders automate the work of customizing the appearance and behavior of an application

Rich Data Definition builder automatically applies validation, formatting, UI type, labels, required flag, etc., to all the pages generated from a schema

Ajax builders automatically generate all the complex client-side and server-side code needed for Ajax-style applications

Page 35: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

35WebSphere Portal Technical Conference U.S. 20083535

Ajax builder support

Partial page rendering

Type-ahead

Dynamic validation

Drag and drop

Popup windows and “tooltips”

Inline edit

Row highlighter

Create REST-style services from any back end data

Demo

Page 36: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

36WebSphere Portal Technical Conference U.S. 20083636

Additional features – dynamic profiling

Portlet Factory profiling is used to generate multiple application variations from a single source model

Variations can be tied to:

Roles or groups Customers, partners, or regions Portlet customization by administrators or end users

Profiling enables business users to customize the application – without requiring additional coding by developers

Any aspect of application can be varied by profile: look and feel, level of functionality, services, logic, etc.

Demo

Page 37: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

37WebSphere Portal Technical Conference U.S. 20083737

WebSphere Portlet Factory Roadmap2008 - 2009

6.1.2Dec 2008

• Enhanced usability• iWidget support• Improved generated User Interface• Team development support• Improved documentation• Expanded platform support

• WAS7, zOS 1.9• Expanded designer platform support

• Eclipse 3.4, RAD 7.5

7.0Q2/Q3 2009

6.1 Trial Aug 2008

6.1.0.1 FixpackQ3 2008

6.1.2.1 FixpackQ1 2009

• Address customer APARs

• IP v6 support

• Address customer APARs

• Enhanced usability• Improved generated User Interface• Enhanced Web 2.0 support• Team development support• Enhanced Web Services support• Improved documentation• Expanded platform support

• Electronically available 60 day trial

* Release dates and features reflect forward looking statements and are subject to change based on market demands

6.1June 2008

• Enhanced usability• New builders• Improved performance• Enhanced Web Service functionality• Expanded designer platform support• Expanded portlet platform support• Extended samples and documentation• Added portal catalog offerings

Page 38: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

38WebSphere Portal Technical Conference U.S. 20083838

Summary

Portlet Factory overview

Software automation of design patterns using builders Deploy applications to WebSphere Portal or WebSphere

Application Server Data integration and SOA in Portlet Factory

Automatic support for a service provider/consumer architecture

Support for a wide variety of IBM and other data sources Demos of integration with various IBM data sources

Additional features of Portlet Factory

Ajax and rich user interfaces Dynamic profiling for application variations and

customization

Page 39: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

39WebSphere Portal Technical Conference U.S. 20083939

Additional Information and Resources

Portlet Factory wiki

http://www-10.lotus.com/ldd/pfwiki.nsf Includes numerous samples and articles, best practices

documents, and links to other resources Portlet Factory zone on developerWorks

http://www.ibm.com/developerworks/websphere/zones/portal/portletfactory/

WebSphere Portal

http://www-3.ibm.com/software/genservers/portal/ WebSphere Portal Business Solutions Catalog:

http://catalog.lotus.com/wps/portal/portal Education

http://www-3.ibm.com/software/genservers/portal/education/

Page 40: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

40WebSphere Portal Technical Conference U.S. 20084040

Session ID: D12

Session: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications with WebSphere Portlet Factory

Presenter: Jonathan BoothPlease take a few minutes to fill out the session survey. Thank you

Mark your calendars!Mark your calendars!

2009 U.S. WebSphere Portal Technical Conference2009 U.S. WebSphere Portal Technical ConferenceOctober 12-15, 2009, Sheraton San Diego Hotel and MarinaOctober 12-15, 2009, Sheraton San Diego Hotel and Marina

WebSphere Portal Technical Conference U.S. 2008

Page 41: © 2008 IBM Session ID: D12 Session Title: Creating custom WebSphere Portal applications that leverage data and services from IBM products and applications.

STORY TITLE

41WebSphere Portal Technical Conference U.S. 20084141

© IBM Corporation 2008 All Rights Reserved.

The information contained in this publication is provided for informational purposes only. While efforts were made to verify the completeness and accuracy of the information contained in this publication, it is provided AS IS without warranty of any kind, express or implied. In addition, this information is based on IBM’s current product plans and strategy, which are subject to change by IBM without notice. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, this publication or any other materials. Nothing contained in this publication is intended to, nor shall have the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM software.

References in this presentation to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. Product release dates and/or capabilities referenced in this presentation may change at any time at IBM’s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to future product or feature availability in any way. Nothing contained in these materials is intended to, nor shall have the effect of, stating or implying that any activities undertaken by you will result in any specific sales, revenue growth or other results.

All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual environmental costs and performance characteristics may vary by customer.

IBM, the IBM logo, WebSphere, Lotus, Lotus Notes, Domino, Quickplace, Sametime, Workplace and Quickr are trademarks of International Business Machines Corporation in the United States, other countries, or both.

Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.

Microsoft and Windows are trademarks of Microsoft Corporation in the United States, other countries, or both.

Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both.

Other company, product, or service names may be trademarks or service marks of others.

All references to Renovations Inc. refer to a fictitious company and are used for illustration purposes only.