• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

JSR 286/MVC Support in Spring 3.0

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
Generic question..
Since Spring3.0 is stable, need to know if JSR 286 portlets development using Spring portlet api's is a good idea instead of the current rage of JSF in IBM RAD / Portal Server 6.1 ? In other words is it a good option that we can leverage MVC support provided by SPRING over what is provided by JSF ?

Thanks in advance,
-Mike
 
Mike Skit
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Guys, any input is appreciated..
 
author
Posts: 469
20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Mike,

Spring has its own Spring Portlet MVC framework which is exclusively designed to support portlets 2.0. If you already know Spring MVC then in no time you'll be up and running with Spring Portlet MVC framework. If you look at the API of Spring Portlet MVC then you'll find that it uses the same class / interface name (but different packaging) to make things very easy for any Spring MVC developer to easily learn Spring Portlet MVC. I will say that currently Spring Portlet MVC is the best MVC framework for developing portlets. Using Spring Portlet MVC 3.0 annotations (and support for Bean Validation API, Unit testing using TestContext framework) further simplifies development.

regards
ashish
Author: Portlets in Action
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ashish,

I am new to portal. i have an idea what portal is and how to add portlets to a page in a portal.
I have a query here. how can i develop spring mvc portlets in weblogic 10.3 environment.
i have been searching for the books in the market and googling it for 2 weeks. i did not find it.
can you just help me out.



Thanks&Regards
mahammad gouse shaik
 
Ashish Sarin
author
Posts: 469
20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Mahammad,

You can refer to the following articles that were published by Dzone to familiarize yourself with developing portlets using Spring Portlet MVC:

http://books.dzone.com/articles/hello-world-portlet-using-Spring-3-portlet-MVC
http://books.dzone.com/articles/spring-30-portlet-mvc-part-2

The articles contain links to the source code which you can use as reference for developing portlets for WebLogic or for any Portlet 2.0 compliant container.

You can also find lot of source code specific to Spring 3.0 Portlet MVC in chapter 7 and 8 of the Portlets in Action book. You can download the source code for chapter 7 and 8 from Google code: http://code.google.com/p/portletsinaction/downloads/list

Hope this helps.

regards
 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just gone through the articles. Really helpful for the beginners. Thank you for the efforts.

Regards
Prashanth
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Using Spring Portlet MVC 3.0 annotations (and support for Bean Validation API, Unit testing using TestContext framework)
 
Ashish Sarin
author
Posts: 469
20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sarah,

If you look at the code of chapter 8 of Portlets in Action at Google code (http://code.google.com/p/portletsinaction/downloads/list), then you'll find how to go about using Bean Validation API, Spring's TestContext framework, Spring Portlet MVC annotations, and so on.

regards
ashish
 
reply
    Bookmark Topic Watch Topic
  • New Topic