JSR268新增了不少功能,下面是JSR268与JSR168变化与新增功能
The major new features of version 2.0 include:
JavaTM Portlet Specification, version 2.0 (2008-01-11) 19
• Events – enabling a portlet to send and receive events and perform state changes
or send further events as a result of processing an event.
• Public render parameters – allowing portlets to share parameters with other
portlets.
5 • Resource serving – provides the ability for a portlet to serve a resource.
• Portlet filter – allowing on-the-fly transformations of information in both the
request to and the response from a portlet.
This section list all changes that are not editorial in nature:
10 • PLT.1.4: added JAXB 2.0 reference
• PLT 1.8: added V2.0 Acknowledgments
• PLT 2.5: added compatibility section
• PLT 2.6: added complete section with major changes introduced with V2.0
• PLT 2.7: added JavaSE and JavaEE requirements for V2.0, now based on servlet
15 2.4, J2EE 1.4 and Java 5.0 and a special Java 1.4 compiled version.
• PLT 3.0: updated to reflect new portlet capabilities
• PLT 3.2: added section on using servlet application lifecycle listeners for portlet
applications
• PLT 4.1: added portlet section
20 • PLT 4.3: added section about portlets and web frameworks
• PLT 5.0, 5.2: added references to new lifecycle interfaces EventPortlet and
ResourceServingPortlet
• PLT 5.2.3: moved the End of Service section from end of this chapter to this place
• PLT 5.3: grouped the existing sections Portlet Definition and Portlet Entity and
25 Portlet Window to a new section Portlet Customization Levels
• PLT 5.4: added new event and resource lifecycle methods
• PLT 5.4.2: added Event Request section
• PLT 5.4.3: added reference to HTTP spec that render should be a safe operation
• PLT 5.4.4: added Resource Request section
30 • PLT 5.4.5.1: added Action Dispatching section
• PLT 5.4.5.2: added Event Dispatching section
• PLT 5.4.5.3: added Resource Serving Dispatching section
• PLT 5.4.5.4: added render mode annotation description
• PLT 6.3: added Default Event Namespace section
35 • PLT 6.4: added Public Render Parameter Names section
• PLT 6.5: added Processing Event QNames section
• PLT 6.6: added Publishing Event QNames section
• PLT 6.7: added Supported Locales section
• PLT 6.8: added Supported Container Runtime Options section
40 • PLT 7.1: added resource URLs and clarification that portlet URLs are only valid
within the current request and may not be real URLs.
PLT 7.1.1: added ne