What are all the portlet classes in Spring mvc?


What are all the portlet classes in Spring mvc?



In Spring MVC there seem to be two parallel class hierarchies, one with portlet, one without.

What is that? Why is it so and what should I use.




Spring list beans by type

1:



What are the likely pain points to upgrade an application to Spring 3.0
That's because .
How do I move my spring xml configuration outside of my web application?
In addition to supporting conventional (servlet-based) Web development, Spring also supports JSR-168 Portlet development.


How do you know which XML parameters a Spring configuration tag has?
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..
How do I make my pojos transactional?
The Spring documentation (Chapter 16.


How to set up a global prefix and suffix used in each error field in Spring?
Portlet MVC Framework) provides more information about the differences..
How can i get error message in form:errors tag by using MultiActionController?
To answer your last question: you should use the Portlet MVC framework if you are developing portlets (web applications to be deployed in a portal).


DefaultAnnotationHandlerMapping via ContextLoaderListener instead of DispatcherServlet on Spring 3
If you are developing conventional web applications you should use the Web MVC framework..


2:


You mean as opposed to servlet? The portlet MVC framework is specifically for development of JSR-168 (maybe JSR-286 too? not sure) portlets.

There is a separate portlet hierarchy because the portlet MVC workflow differs from the servlet MVC workflow.. If you're developing a portlet, you want the portlet MVC framework.

Otherwise, the Servlet MVC framework is what you need and you don't need to worry about the portlet stuff..



76 out of 100 based on 66 user ratings 466 reviews