Introduction
- JSR-168 The Java Portlet Specification
- For more general information about portlet development, please
- review a whitepaper from Sun entitled
- "Introduction to JSR 168",
- and of course the
- JSR-168 Specification itself.
+ JSR-286 The Java Portlet Specification
+ For more general information about portlet development, please review the
+ JSR-286 Specification.In addition to supporting conventional (servlet-based) Web development,
- Spring also supports JSR-168 Portlet development. As much as possible, the
+ Spring also supports JSR-286 Portlet development. As much as possible, the
Portlet MVC framework is a mirror image of the Web MVC framework, and also
uses the same underlying view abstractions and integration technology. So, be
sure to review the chapters entitled and
@@ -31,7 +28,7 @@
Bear in mind that while the concepts of Spring MVC are the
same in Spring Portlet MVC, there are some notable differences
- created by the unique workflow of JSR-168 portlets.
+ created by the unique workflow of JSR-286 portlets.The main way in which portlet workflow differs from servlet
@@ -50,7 +47,7 @@
The dual phases of portlet requests are one of the real strengths
- of the JSR-168 specification. For example, dynamic search results can be
+ of the JSR-286 specification. For example, dynamic search results can be
updated routinely on the display without the user explicitly rerunning
the search. Most other portlet MVC frameworks attempt to completely
hide the two phases from the developer and make it look as much like
@@ -670,7 +667,7 @@ public class SampleController extends AbstractController {
This can be very valuable since you can then use interceptors
to pre-process and post-process requests going to these portlets.
- Since JSR-168 does not support any kind of filter mechanism, this is
+ Since JSR-286 does not support any kind of filter mechanism, this is
quite handy. For example, this can be used to wrap the Hibernate
OpenSessionInViewInterceptor around a MyFaces
JSF Portlet.
@@ -1017,7 +1014,7 @@ public class SampleController extends AbstractController {
CommonsMultipartResolver, you need to use
commons-fileupload.jar. Be sure to use at least
version 1.1 of Commons FileUpload as previous versions do not
- support JSR-168 Portlet applications.
+ support JSR-286 Portlet applications.Now that you have seen how to set Portlet MVC up to handle
multipart requests, let's talk about how to actually use it. When
@@ -1776,7 +1773,7 @@ public class MyFormController {
Portlet application deploymentThe process of deploying a Spring Portlet MVC application is no
- different than deploying any JSR-168 Portlet application. However, this
+ different than deploying any JSR-286 Portlet application. However, this
area is confusing enough in general that it is worth talking about here
briefly.
@@ -1787,7 +1784,7 @@ public class MyFormController {
well-known servlet that provides access to the portlet services defined
in your portlet.xml file.
- The JSR-168 specification does not specify exactly how this should
+ The JSR-286 specification does not specify exactly how this should
happen, so each portlet container has its own mechanism for this, which
usually involves some kind of “deployment process” that makes changes to
the portlet webapp itself and then registers the portlets within the