COPYRIGHT RESERVED 2009 BY MAX TSAI



Visit Max Tsai at Facebook | Twitter | atom

Wednesday, June 27, 2007

Portlet - uPortal

Deploy Portlet
  1. Deploy .war thru ant
    ant deployPortletApp -DportletApp=%PATH_TO_PORTLET.WAR%
  2. Go into uPortal and create a channel for the the portlet. Follow thru the guide. The only thing is the Portlet definition ID:$NAME_OF_WAR/$PORTLET-NAME
    i.e. Hello.war and HelloWorldPortlet
    Hello.HelloWorldPortlet
    or,
    just create the ChanPub XML file manually and publish it
    ant pubchan
Create a Portlet
  1. create a vaild web.xml
  2. implement javax.portlet.Portlet (or, extends GenericPortlet that is an implementation of javax.portlet.Portlet) -- jar file
  3. craete a portlet.xml
  4. pack three thing into .war filr
Spring Web MVC
get your book -- Spring MVC and Web Flow

------
  • http://www.ja-sig.org/wiki/display/JCON/Spring+Portlet+MVC+Workshop+Denver+2007
  • http://opensource.atlassian.com/confluence/spring/display/JSR168/Home
------

No comments:

Post a Comment