13
13
<title >Introduction</title >
14
14
15
15
<sidebar >
16
- <title >JSR-168 The Java Portlet Specification</title >
17
- <para >For more general information about portlet development, please
18
- review a whitepaper from Sun entitled
19
- <link xl : href =" http://developers.sun.com/prodtech/portalserver/reference/techart/jsr168/" >"Introduction to JSR 168"</link >,
20
- and of course the
21
- <link xl : href =" http://jcp.org/aboutJava/communityprocess/final/jsr168/" >JSR-168 Specification</link > itself.</para >
16
+ <title >JSR-286 The Java Portlet Specification</title >
17
+ <para >For more general information about portlet development, please review the
18
+ <link xl : href =" https://jcp.org/en/jsr/detail?id=286" >JSR-286 Specification</link >.</para >
22
19
</sidebar >
23
20
24
21
<para >In addition to supporting conventional (servlet-based) Web development,
25
- Spring also supports JSR-168 Portlet development. As much as possible, the
22
+ Spring also supports JSR-286 Portlet development. As much as possible, the
26
23
Portlet MVC framework is a mirror image of the Web MVC framework, and also
27
24
uses the same underlying view abstractions and integration technology. So, be
28
25
sure to review the chapters entitled <xref linkend =" mvc" /> and
31
28
<note >
32
29
<para >Bear in mind that while the concepts of Spring MVC are the
33
30
same in Spring Portlet MVC, there are some notable differences
34
- created by the unique workflow of JSR-168 portlets.</para >
31
+ created by the unique workflow of JSR-286 portlets.</para >
35
32
</note >
36
33
37
34
<para >The main way in which portlet workflow differs from servlet
50
47
<xi : include href =" swf-sidebar.xml" />
51
48
52
49
<para >The dual phases of portlet requests are one of the real strengths
53
- of the JSR-168 specification. For example, dynamic search results can be
50
+ of the JSR-286 specification. For example, dynamic search results can be
54
51
updated routinely on the display without the user explicitly rerunning
55
52
the search. Most other portlet MVC frameworks attempt to completely
56
53
hide the two phases from the developer and make it look as much like
@@ -670,7 +667,7 @@ public class SampleController extends AbstractController {
670
667
671
668
<para >This can be very valuable since you can then use interceptors
672
669
to pre-process and post-process requests going to these portlets.
673
- Since JSR-168 does not support any kind of filter mechanism, this is
670
+ Since JSR-286 does not support any kind of filter mechanism, this is
674
671
quite handy. For example, this can be used to wrap the Hibernate
675
672
<classname >OpenSessionInViewInterceptor</classname > around a MyFaces
676
673
JSF Portlet.</para >
@@ -1017,7 +1014,7 @@ public class SampleController extends AbstractController {
1017
1014
<classname >CommonsMultipartResolver</classname >, you need to use
1018
1015
<literal >commons-fileupload.jar</literal >. Be sure to use at least
1019
1016
version 1.1 of Commons FileUpload as previous versions do not
1020
- support JSR-168 Portlet applications.</para >
1017
+ support JSR-286 Portlet applications.</para >
1021
1018
1022
1019
<para >Now that you have seen how to set Portlet MVC up to handle
1023
1020
multipart requests, let's talk about how to actually use it. When
@@ -1776,7 +1773,7 @@ public class MyFormController {
1776
1773
<title >Portlet application deployment</title >
1777
1774
1778
1775
<para >The process of deploying a Spring Portlet MVC application is no
1779
- different than deploying any JSR-168 Portlet application. However, this
1776
+ different than deploying any JSR-286 Portlet application. However, this
1780
1777
area is confusing enough in general that it is worth talking about here
1781
1778
briefly.</para >
1782
1779
@@ -1787,7 +1784,7 @@ public class MyFormController {
1787
1784
well-known servlet that provides access to the portlet services defined
1788
1785
in your <literal >portlet.xml</literal > file.</para >
1789
1786
1790
- <para >The JSR-168 specification does not specify exactly how this should
1787
+ <para >The JSR-286 specification does not specify exactly how this should
1791
1788
happen, so each portlet container has its own mechanism for this, which
1792
1789
usually involves some kind of “deployment process” that makes changes to
1793
1790
the portlet webapp itself and then registers the portlets within the
0 commit comments