I am just curious to know if anyone of you has used JSF for the Web Client. I see no reason why I should use plain Servlets/JSP when I can have the JSF framework.
Looking forward to hearing your opinion.
Lars [ November 29, 2006: Message edited by: Lars Behnke ]
Create a Component diagram that shows all of the J2EE components used in the system and their interaction. For example, what EJBs, Servlets, and/or JSPs might be needed?
After all, the assignment was written several years ago and in the meantime new J2EE technologies emerged or became stronger, such as Web Services, AJAX and JSF.
Therefore, I don't see any risk in using JSF in your assignment.
Regards, Dan
William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Dan, as AJAX isn't part of J2EE, is it possible to use it? XM [ November 28, 2006: Message edited by: Marx Villegas ]
When the compiler's not happy, ain't nobody happy...
Dan Drillich
Ranch Hand
Joined: Jul 09, 2001
Posts: 1129
posted
0
Marx,
The following article 'Asynchronous JavaScript Technology and XML (AJAX) With the Java Platform' on the Sun site at http://java.sun.com/developer/technicalArticles/J2EE/AJAX/ gives you the feel that Sun definitely considers AJAX to be part of the J2EE platform.
Just look at the url - .... J2EE and then AJAX.
Regards, Dan
Marx Villegas
Ranch Hand
Joined: Mar 10, 2006
Posts: 94
posted
0
I agree. AJAX is cool. There are already a couple of open source frameworks for using JSF + javascriptless AJAX. It'd be great if something like this is standardized. regards XM
Lars Behnke
Ranch Hand
Joined: May 09, 2006
Posts: 76
posted
0
Thanks for your postings.
I think we can regard AJAX as an technology related to J2EE - like HTML, CSS, Javascript, WebServices, CORBA etc. So I agree with Dan and I am quite sure we could use it if we wanted. However, I would better leave that decision to the software designer. IMO it's not an architectural question, rather an question which JSF component library to use. As Marx said, there are good JSF/AJAX components available. Some of them encapsulate AJAX in such a way, that developers do not even have to bother learning JavaScript.
Concerning JSF - I nearly made up my mind to build the FBN web client on top of JSF. I worked with JSF for the past couple of years and I appreciate its event driven programming model and its POJO controllers. Since I would never build an real-life Application on top of pure JSP, proprietary servlet controllers and so forth, I will give JSF a go in the assignment...
Lars [ November 29, 2006: Message edited by: Lars Behnke ]