Legolas Woodland wrote: > Hi > Thank you for reading my post. > I want to know what is different betweena jsf portlet and a plain jsf > web application. > imagine that i made a web application using myfaces components , now i > wannt to deploy that web application > into some portlet container like JetSpeed . if i do not need any > information from the portal (user name , portal session ...) > then how i much works it needs ? >
Probably not much will have to change to run it as a portlet. You need some initial setup by using the MyFacesGenericPortlet. The documentation for this is not currently on the website (it will be next time the site is updated, I think). You can read the doc at http://svn.apache.org/viewcvs.cgi/myfaces/site/trunk/src/site/xdoc/docs/portlet.xml?view=markup Redirects in your navigation are bad (I think, I've never used them actually). Also see the differences between servlet & portlet in the ExternalContext methods at http://java.sun.com/j2ee/javaserverfaces/1.1_01/docs/api/javax/faces/context/ExternalContext.html If you use any of those methods, you need to understand the difference to know if it'll work in portlets or if you have to change your code. > another question is : > what is internal technical differences between a jsf portlet and a jsf > web application ? > See http://www.onjava.com/pub/a/onjava/2005/09/14/what-is-a-portlet.html and http://www.onjava.com/pub/a/onjava/2006/02/01/what-is-a-portlet-2.html for good starters on what portlets are. -- Dave Brondsema Software Developer Cornerstone University
signature.asc
Description: OpenPGP digital signature

