Search |
|||
SOA way of life: a day in the GUI ShopPosted by felipegaucho on June 9, 2008 at 3:08 AM PDT
The GUI ShopAsking through mailing lists and reading Internet blogs, you can find an uncountable options to produce the front-end of J2EE applications, including different platforms - J2ME, J2SE and J2EE - and different technologies and frameworks on each of these platforms. It is hard to say at first sight what is better, so let's start creating some criteria to evaluate our options. First of all I will reduce the scope of my search to web technologies (Desktop and Mobile technologies deserve another blog entries).
After reading a lot of propaganda about web application development frameworks, I finished with the following candidates:
Shopping Cart - CheckoutTime to pick up a product and go home to try the new gift. As you can notice above, there is no golden hammer in the web applications market, but as any other buying stuff, you must select one. For today, I will just enumerate my preference and discuss with my Jazoon pals about that :) After the conference I plan to write a new blog entry with my conclusions. If you ask me today, I would bet on JRuby, even more because it comes with a nice free gift: a free online course starting on July :) Remember: it is an open discussion and not a formal product evaluation, it is based only on my opinion and also on the discussion I read in my mailing lists. If you remember some missed web-framework, please send to me and I will include in the selection list. »
Related Topics >>
Web Applications Comments
Comments are listed in date ascending order (oldest first)
Submitted by caroljmcdonald on Fri, 2008-06-13 11:18.
I have an example of a JSF client calling a jax-ws webservice here
http://weblogs.java.net/blog/caroljmcdonald/archive/2007/09/sample_appli...
this sample app is also used in the javaone metro HOL here:
http://developers.sun.com/learning/javaoneonline/j1lab.jsp?lab=LAB-3410&...
The client was really easy to build , you can build a CRUD JSF client in a minute using netbeans, see this tutorial:
http://www.netbeans.org/kb/61/web/jsf-jpa-crud-wizard.html
I modified the generated code from Netbeans to make a prettier html table, then I modified the JSF managed bean controller to call a jax-ws to get the list of items instead of using JPA to get the list of items from the DB.
Submitted by gkbrown on Tue, 2008-06-10 09:17.
You may want to check out Pivot. We haven't officially launched yet, but we will soon:
https://pivot.dev.java.net/
Given your criteria, it may be a good fit:
Submitted by jwenting on Mon, 2008-06-09 03:52.
"server friendly" would exclude Grails and possibly JRuby (not sure if that deploys at server level or will deploy within a web application).
Seam works (logically) best with JBoss, may require more than Tomcat to work (mind, I've not tried it).
JavaFX is unstable, and the license precludes its use unless you want to commit to the GPL (core components are GPL).
Leaves only JSF, which may or may not be feasible if you want to support older application servers that might not support it (or only support older JSF implementations). It's also somewhat difficult to switch between JSF vendors/suppliers, which can make cross-server portability tricky.
so you should ask yourself first and foremost where your priorities are in this. The smallest common denominator would be JSP with JSTL talking to your web services using JAX-RPC on a 1.4 JDK running Tomcat 4. Hardly interesting technology to attract developers to your project of course.
Or you could loosen your cross-server requirements somewhat and go for JSF 1.2 running on a Spring 2 layer using Spring WS. Would require a more modern server, and may not integrate seemlessly with every installation out there depending on the JSF implementations in use (and possibly other libraries).
Submitted by rodrigolopes on Mon, 2008-06-09 04:03.
I'd include FLEX (not Flash) in my list of options. Actually only the Flex Builder API is paid. And it's even free for students and non-profit projects. Although it's harder, you can use any editor to write your .mxml and .as files.
Submitted by graemeroch on Mon, 2008-06-09 11:37.
The first comment by jwenting is incorrect, Grails deploys onto any servlet 2.4+ container. See http://grails.org/Deployment
|
|||
|
|