IBM Software Group © 2008 IBM Corporation ® RAD Portlet and Portal Tools Update for WebSphere...

Preview:

Citation preview

IBM Software Group

© 2008 IBM Corporation

®

RAD Portlet and Portal Tools Update for WebSphere Portal v6.1

IBM Software Group Lotus Software

WebSphere Portal Version 6.1 Technical Training © 2008 IBM Corporation2

RAD 7.0.x

What is New in RAD 7.5

Packaging, Licensing and Entitlement

Additional Information

Question and Answer Session

Agenda

2

IBM Software Group Lotus Software

WebSphere Portal Version 6.1 Technical Training © 2008 IBM Corporation3

For WebSphere Portal v6.1, (6/30/08 上市 )

RAD 7.0.0.7, eGA 6/30/08– Limited to the deployment of a WP 6.0 Portlet Project onto a

WP 6.1 Server only!

– Requires separate install WP 6.1

– NO new standards or no new WP 6.1 functionality

– No tooling for WP 6.1 Portlet & Portal site development

IBM Software Group Lotus Software

WebSphere Portal Version 6.1 Technical Training © 2008 IBM Corporation4

RAD 7.0.0.6 Support for Portal Application Development

Test & Debug

Import & Deploy

Create

WebSphere PortalWebSphere PortalVisual Portlet & Portal SiteDevelopment

JSF, StrutsEnterprise Application IntegrationPortal page LayoutThemes and Skins

Import and Deploy Wizard

Integrated with WP

V6.0.xV5.1

IBM Software Group Lotus Software

WebSphere Portal Version 6.1 Technical Training © 2008 IBM Corporation5

Rational Application Developer Makes it Easy!

Little to no coding, reduced development time.

– Portlet generation wizards

– Visual Portal page layouts

– Visual Theme and skin editing

– Rich and functional UI components easily integrated into Portlets

– No coding to integrate portlets (Click to Action portlet-to-portlet information sharing)

– Easy local testing via integrated Portal test server environment*

Visual portlet development using JSF tools

Visual portal page development using Portal Designer

IBM Software Group Lotus Software

WebSphere Portal Version 6.1 Technical Training © 2008 IBM Corporation6

IBM Rational Application Developer v7.0.x

Accelerate J2EE, portal, Web Services and SOA application development using rapid application development tools and visual development techniques

Increase flexibility through Eclipse 3.2 support that helps extend the development environment and granular installation options

Shorten the Java learning curve through visual design that updates code, point-and-click database connectivity, visual portal development techniques and more

Improve code-level design and share designs with distributed teams using UML visual modeling tools

IBM Software Group Lotus Software

WebSphere Portal Version 6.1 Technical Training © 2008 IBM Corporation7

IBM Rational Application Developer v7.0.x

Integrate your business applications with WS-I compliant Web services and service-oriented architectures

Collaborate and share assets across the team using built-in Rational ClearCase LT version control

Improve code quality with automated tools that apply coding standards and perform runtime analysis

Integrated and optimized for IBM WebSphere Application Server and IBM WebSphere Portal Server products

IBM Software Group Lotus Software

WebSphere Portal Version 6.1 Technical Training © 2008 IBM Corporation8

RAD 7.0.X

What is New in RAD 7.5

Packaging, Licensing and Entitlement

Additional Information

Question and Answer Session

Agenda

8

IBM Software Group Lotus Software

WebSphere Portal Version 6.1 Technical Training © 2008 IBM Corporation9

For WebSphere Portal v6.1, (9/14/08 上市 )

RAD 7.5, 9/15/08–Complete support for the full WP 6.1 Portlet and Portal feature

sets

IBM Software Group Lotus Software

WebSphere Portal Version 6.1 Technical Training © 2008 IBM Corporation10

• Increasing developer productivity

● Iterative development for JEE5 applications using annotation based programming model, with enhanced support for creation, validation, refactoring, and deletion of artifacts.

● Programming model tools:

● JEE5 (EJB 3.0, JPA, JSF 1.2, JAX-WS 2.0, JAX-B 2.0, JSP 2.1, Servlet 2.5)

● Domain modeling (visual edit)

● Java, EJB, XSD, WSDL, Data

● Web Development (visual edit)

● Latest Web Services standards support

● SIP (JSR 289)

● Deployment Support

● JEE visual DD editors

● WAS 7 support

● Eclipse 3.4

● XML productivity features

● Extra Debuggers (XSLT, stored procedures, etc)

● Struts (v1.2)

• Increasing developer productivity

● Iterative development for JEE5 applications using annotation based programming model, with enhanced support for creation, validation, refactoring, and deletion of artifacts.

● Programming model tools:

● JEE5 (EJB 3.0, JPA, JSF 1.2, JAX-WS 2.0, JAX-B 2.0, JSP 2.1, Servlet 2.5)

● Domain modeling (visual edit)

● Java, EJB, XSD, WSDL, Data

● Web Development (visual edit)

● Latest Web Services standards support

● SIP (JSR 289)

● Deployment Support

● JEE visual DD editors

● WAS 7 support

● Eclipse 3.4

● XML productivity features

● Extra Debuggers (XSLT, stored procedures, etc)

● Struts (v1.2)

• Performance & Usability ImprovementsSupport for WP 6.1 Server support

Exploit new features of underlying stack

• RAD UI refinements

• Visual tooling

• New standard support

• JSR-286

• WSRP 2.0

Web 2.0 Support for Portal Server

● Client side programming model support

● Support semantic tagging

● Enhancement to Portal themes

● Support Ajax Proxy

● Person tagging support

Improved Support for 3rd Party JSF,Strut Bridges 

• Performance & Usability ImprovementsSupport for WP 6.1 Server support

Exploit new features of underlying stack

• RAD UI refinements

• Visual tooling

• New standard support

• JSR-286

• WSRP 2.0

Web 2.0 Support for Portal Server

● Client side programming model support

● Support semantic tagging

● Enhancement to Portal themes

● Support Ajax Proxy

● Person tagging support

Improved Support for 3rd Party JSF,Strut Bridges 

What’s new for RAD Portlet and Portal ToolsRAD RAD Portlet & Portal Tools

IBM Software Group Lotus Software

WebSphere Portal Version 6.1 Technical Training © 2008 IBM Corporation11

WebSphere Portal v6.1 Support WP v6.1 Server Support

– Updated Wizard Steps

– Ability to test connection with credentials

– Updates to Server configuration editor to help manage deployment option local to RAD

– Portlet Settings

– Portal Setting

– Publishing options

WP v6.1 Stubs Support– contain all jars necessary for

compilation of a JSR286 portal/portlet project

IBM Software Group Lotus Software

WebSphere Portal Version 6.1 Technical Training © 2008 IBM Corporation12

New Portlet Standards in WebSphere Portal V6.1

JSR 286 – Java™ Portlet Specification V2.0– IBM is leading this JSR, all major Java technology portal (commercial and open source) vendors

represented in the EG

– Reference implementation will be provided at Apache Pluto 2.0

– TCK will be available for free (Will extend the JSR 168 TCK)

– Schedule: final around end of 2007

Web Services for Remote Portlets (WSRP) V2.0– Standard protocol for accessing portlets as web service

– Defined at OASIS, chaired by IBM

– Schedule: final around end of 2007

Common goals– Enable coordination between portlets and allow building composite applications based on portlet

components (events and render context (e.g. public render parameters) )

– Serving resources

– Allow for a better user experience using AJAX patterns

WebSphere Portal supports events between JSR168+PB and JSR286 Portlets.

IBM Software Group Lotus Software

WebSphere Portal Version 6.1 Technical Training © 2008 IBM Corporation13

JSR-286 Support

Creation of JSR 286 Portlet Project: Support for Portlet Events: JSR 286

allows the Portlets to declare events it wants to publish (send), and events it wants to process (receive).

Support for Resource Serving: JSR 286 allows Portlets to serve resources. The resources here may be images, jsps and so on. The Portlet can serve resource using resource URLs. The Portlet tooling will address the code generation done as a result of adding <portlet:resourceURL> tag in the Portlet JSP.

IBM Software Group Lotus Software

WebSphere Portal Version 6.1 Technical Training © 2008 IBM Corporation14

Web 2.0 Client Side Aggregation

Browser-side Aggregation, Navigation and Customization

– Renders XML obtained from the server on the browser side

– Implemented using AJAX, XML, Dojo, and JavaScript

– Accesses and manipulates Portal through REST* services

Superior user experience– Highly reactive and direct user interface

– Many actions possible without server roundtrips

– Avoids page flickering

Improved performance and scalability through

– Reduced server side processing - offloads rendering to browser

– Reduced bandwidth requirements between server and browser

– Reduced client-side processing – mostly fragment reloads, few page reloads

– Improved caching, all artifacts can be cached independently

Gadgets

Atom / RSS Feeds

REST-accessible Markup FragmentsPortlets or other

WSRP Services

*REST is the acronym for „Representational State Transfer“It is the architectural model on which the WWW is based

IBM Software Group Lotus Software

WebSphere Portal Version 6.1 Technical Training © 2008 IBM Corporation15

Support for Client Side Programming model

One click to enable Web 2.0 functionality Improves performance Reduces repeated round trips to server No Flicker Leverages you system processing power User actions in the browser cause

JavaScript to execute Script communicates directly with the

server– XmlHttpRequest or hidden IFRAME

Server replies– Data: text, JSON, XML, etc.

– HTML fragment

– JavaScript in the page interprets this reply and uses it to update one or more page areas

IBM Software Group Lotus Software

WebSphere Portal Version 6.1 Technical Training © 2008 IBM Corporation16

3rd party AJAX library support

In order to support the ever-growing list of AJAX libraries, RAD will allow you to configure 3rd party libraries

RAD uses a facet of the "AJAX Toolkit Module" to host AJAX libraries defined by the users

IBM Software Group Lotus Software

WebSphere Portal Version 6.1 Technical Training © 2008 IBM Corporation17

3rd Party AJAX Libraries OOTB

Out of the box the following libraries are defined already:

– Scriptaculous

– Open Rico

– Dojo Toolkit (v0.4)

– Dojo Toolkit (v1.0)

Once this facet is installed, it's associated libraries are listed under "JavaScript Toolkits"

Features for toolkit developers – "Personality builder" allows toolkit

developers to input a set of data to wizards that output a basic plugin that supports an 3rd party AJAX library.

IBM Software Group Lotus Software

WebSphere Portal Version 6.1 Technical Training © 2008 IBM Corporation18

Ajax Proxy support

3 ways to add Ajax support – When you create a New Portlet

Project

– Through Portlet deployment Descriptor page of project

– Through Project Facets wizard

Easy to edit – Proxy Tab in Portlet Deployment

Descriptor

Easy to remove– 1 right click away to remove

IBM Software Group Lotus Software

WebSphere Portal Version 6.1 Technical Training © 2008 IBM Corporation19

WSRP 2.0

WSRP 2.0 allows to connect and assemble remote UI services

WSRP 2.0 is deliberately a set of optional extensions to the v1 protocol

Features:– Consumer mediated coordination

– Eventing -> notification based coordination– Public Navigational Parameters -> shared navigational state

– Leasing

– Additional portlets

– Import/Export portlets– Copy portlets

– Resources via WSRP

– Producer proxies in-band requests to resources– Portlet receives full state relative to rendering the resource

– CC/PP support

– Facility to describe protocol extensions

IBM Software Group Lotus Software

WebSphere Portal Version 6.1 Technical Training © 2008 IBM Corporation20

RAD 7.0.x

What is New in RAD 7.5

Packaging, Licensing and Entitlement

Additional Information

Question and Answer Session

Agenda

20

IBM Software Group Lotus Software

WebSphere Portal Version 6.1 Technical Training © 2008 IBM Corporation21

WP 5.1 Limited Use Licensed Entitlement to RAD 6 Portal Tools

IBM Rational Application Developer was provided with WebSphere Portal Version 5.1 Enable and Extend editions for the explicit use of developing applications for WebSphere Portal. It is an integrated development environment (IDE) that helps developers quickly design, develop, analyze, test, profile and deploy high-quality Web, Service-oriented Architecture (SOA), Java, J2EE and portal applications. It enables end-to-end local and remote testing of portal applications, portlets, and J2EE based web applications and creates high-quality enterprise applications using visual editors, code generators, and best practices.

You were entitled to install one copy of RAD on a single-user, developer workstation. RAD can only be used to develop/test/deploy portal applications. In addition, this component of the RAD Program may be used only for the purposes of evaluating, demonstrating, developing, or testing application programs in conjunction with your licensed use of the Enable Program.

IBM Software Group Lotus Software

WebSphere Portal Version 6.1 Technical Training © 2008 IBM Corporation22

Can customers continue to use Rational Application Developer with WebSphere Portal?

Yes customers can continue to use Rational Application Developer (RAD) v6.0.x with WebSphere Portal v5.0 and v5.1.0.3.

– Rational Application Developer v6 does not support WebSphere Portal v6.0.x Projects

Customers who would like to use RAD 7.0.x or RAD v7.5 with WebSphere Portal v6.0.x or WP 6.1 need to upgrade to a full licensed copy of Rational Application Developer v7.0.x.

– RAD v7.0.x supports both WebSphere Portal v6.0.x and v5.1.0.3

– RAD v7.0.0.7 supports WebSphere Portal v6.0.x, v5.1.0.3 and supports the running of a WP 6.0 portlet project on a WP 6.1 server runtime

– RAD v7.5 will support WebSphere Portal 6.0.x and 6.1

IBM Software Group Lotus Software

WebSphere Portal Version 6.1 Technical Training © 2008 IBM Corporation23

RAD Today

What is Coming Next in RAD 7.5

Packaging, Licensing and Entitlement

Additional Information

Question and Answer Session

Agenda

23

IBM Software Group Lotus Software

WebSphere Portal Version 6.1 Technical Training © 2008 IBM Corporation24

Documented Best Practices on DevWorks!

Installing and configuring WebSphere Portal V6.0 Servers for development with Rational Application Developer V7.0 and Rational Software Architect V7.0

Advanced Portlet Development Capabilities, Wiring, WSRP

Enhanced Portlets

Migration

Portal Site Development in a Distributed Environment Using Rational Application Developerv7

Rapid portal site development and Portal Site Design

Debugging and Profiling Portal & Portlet Apps

JSR Faces Portlet integration with Data Sources

Publish portal artifacts

And more …

IBM Software Group Lotus Software

WebSphere Portal Version 6.1 Technical Training © 2008 IBM Corporation25

Additional RAD Information and Resources

Rational Application Developer on developerWorks:

http://www-128.ibm.com/developerworks/rational/products/rad/

Rational Application Developer Release Notes Quick Links:

http://w3-103.ibm.com/software/xl/portal/viewcontent?type=doc&srcID=R9&docID=Q037376H41907N67

Rational Licensing Home Page:

http://w3-103.ibm.com/software/xl/portal/viewcontent?type=doc&srcID=R9&docID=R107288S44149G18

IBM Software Group Lotus Software

WebSphere Portal Version 6.1 Technical Training © 2008 IBM Corporation26

Additional WebSphere Portal Information and Resources WebSphere Portal Business Solutions Catalog:

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

WebSphere Portal Product Information:– http://www-306.ibm.com/software/genservers/portal

WebSphere Portal Information Center Documentation:– http://www.ibm.com/developerworks/websphere/zones/portal/proddoc.html

IBM Software Group Lotus Software

WebSphere Portal Version 6.1 Technical Training © 2008 IBM Corporation27

RAD Today

What is Coming Next in RAD 7.5

Packaging, Licensing and Entitlement

Additional Information

Question and Answer Session

Agenda

27

IBM Software Group Lotus Software

WebSphere Portal Version 6.1 Technical Training © 2008 IBM Corporation2828

Question and Answer Session

Recommended