[Building Sakai] Is it possible to use JSF 2.0 in new Sakai tools?

Steve Swinsburg steve.swinsburg at gmail.com
Mon Feb 8 13:45:54 PST 2010


Hi Tiago,

If you are looking at doing lots of AJAX and want to develop in a Java based framework, I'd highly recommend Apache Wicket. You can perform AJAX from pure Java using the Wicket framework.

It also seamlessly integrates with Spring and Hibernate, and there are dozens of extensions and components built for it. It has a large community behind it and it actively developed and maintained. You might find the components are built for you already if you check on the Wicket user mailing list.

In the upcoming Sakai release, several tools are Wicket baed (Profile2 and SiteStats) and both are rich AJAX applications - there are more Wicket based tools in the contrib space also.

Info about Wicket: http://wicket.apache.org/
Info about some of the community extensions: http://wicketstuff.org/wicket14/ajax/

Considering this is a new tool, I would advise against JSP and JSF for the reasons outlined previously, but also due to the lack of separation between code and presentation.

cheers,
Steve

On 09/02/2010, at 1:55 AM, Tiago Gaspar wrote:

> Hi Aaron and Stephen,
> 
> Thanks for the reply!
> 
> I'm working for some time with applications that require lots of Ajax (like an Instant Messenger). In order to do that, I'm using a RIA framework called ZK (http://www.zkoss.org/). That framework offers a markup language called ZUL and alternatively all components in JSF or JSP format. Sakai also offers JSF and JSP support, so in order to provide an uniform approach, we are choosing between JSF and JSP.
> 
> We need to build some UI components for synchronous text, audio and video support.
> 
> Could you explain better why JSP is better for Sakai instead of JSF?
> 
> 
> PS: I'm developing for Sakai 2.6 and 2.5.
> 
> Thanks,
> Tiago.
> 
> 
> On Mon, Feb 8, 2010 at 12:12 PM, Aaron Zeckoski <aaronz at vt.edu> wrote:
> In general the community would probably recommend against developing
> tools for Sakai using JSF (I know I would). Which version of Sakai are
> you developing this for?
> 
> If you can use something like Spring MVC, JSP, or RSF I think you will
> find things are a lot easier for you. If you are very familiar with
> JSF though and want the best chance of being compatible with many
> different versions of Sakai then you will want to stick with JSF 1.x.
> 
> Hope that helps
> -AZ
> 
> 
> On Mon, Feb 8, 2010 at 2:05 PM, Tiago Gaspar <tiagocgaspar at gmail.com> wrote:
> > Hi,
> > I understand that Sakai default tools are not JSF 2.0 compatible.  But, I'm
> > starting a new tool and I was wondering if JSF 2.0 could be used. Could it
> > also be used with sakai JSF tags (JSF 1.1)?
> > Thanks,
> > Tiago.
> > _______________________________________________
> > sakai-dev mailing list
> > sakai-dev at collab.sakaiproject.org
> > http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> >
> > TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org
> > with a subject of "unsubscribe"
> >
> 
> 
> 
> --
> Aaron Zeckoski (azeckoski (at) vt.edu)
> Senior Research Engineer - CARET - University of Cambridge
> https://twitter.com/azeckoski - http://www.linkedin.com/in/azeckoski
> http://aaronz-sakai.blogspot.com/ - http://tinyurl.com/azprofile
> 
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100209/67a409b7/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3823 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100209/67a409b7/attachment.bin 


More information about the sakai-dev mailing list