Klikk på tall for å vise stripe
Toon 1Toon 2Toon 3Toon 4Toon 5Toon 6Toon 7Toon 8Toon 9Toon 10 JavaZone JavaZone

What's new and cool in Portlet 2.0

f6a6ca6b-d1da-4be7-93f0-fa46bed5b794
View video  Presentation
Four years after the release of the Portlet 1.0 specification, the new Portlet 2.0 specification introduces many new features that will greatly improve the interactivity of portlet applications and portals. The specification introduces advanced coordination features such as portlet events standardizing inter portlet communication and public render parameters which allows several portlets to share the same render parameters. The new resource serving feature allows a portlet to deliver personalized resources to the browser such as images or PDF documents based on the current user preferences and profile, it also offers the capability to serve markup fragments from a portlet providing support for ajax portlet development. Portlets are now allowed to interact with the portal request and response with the possibility to read or write HTTP headers and insert markup elements to the head section of the portal page. Others important features such as enhanced content caching and portlet filtering have been also introduced in the specification.
Outline
  • Short introduction (3mns)
  • Portal & Portlet 1.0 (10mns)
    • explain the role of an enterprise portal in the ecosystem and the solution it provides
    • portlet history and concepts: brief recap of the Portlet 1.0 specification, its history, limitations and place in the Java EE ecosystem; brief overview of portlet containers
  • New Portlet 2.0 features focusing on advanced portlet coordination and AJAX applications based on the resource serving feature. Other features are reviewed albeit in lesser detail. Each major feature is explained, introduced by use cases. Differences with Portlet 1.0 are examined when relevant. Features are then demonstrated to get the audience to efficiently understand the concepts.
    • Coordination features: portlet events and portlet public render parameters
    • AJAX portlets based on the resource serving feature: the resource serving feature and use case for implementing AJAX portlet are explained. Some AJAX use cases are not covered by the specification, we'll explain why the expert group did not provide support for such cases and possible scenarii to address the issue.
    • Quick overview of other features: sticky request attributes, GenericPortlet improvements, header access, portlet filters and caching, etc...
  • Conclusion (2mns)
  • Q&A (10mns)
Language:
English
Level:
intermediate
Required experience:
Web application development skills are expected, portal or portlet experience is not mandatory.
Expected audience:
Developers that wants to create applications for portals using the Java EE platorm and leverage the new features of the Portlet 2.0 specification. Architects that want to build a portal using several Portlet applications based on the Portlet 2.0 specification. Attendees will learn about the new features provided by the Portlet 2.0 specification and how to leverage them in their Portlet applications.
  • Photo of Julien Viet
    Julien Viet
    Julien Viet is the founder and project lead of the open source project JBoss Portal since 2004, he has been working with Java portal and CMS technologies and started as a contributor of the JBoss Application Server project in 2002. Julien represented Red Hat on the expert group of the JSR 286 Portlet 2.0 specification and is the lead architect of the JBoss Portlet Container which is an implementation of the specification. Julien is also a member of JSR-283: Content Repository for Java Technology API 2.0 specification.