what do people use for presentation layer in Java? [closed]
One of the things that I don't like java is too many frameworks, and for everything you have to choose what to use...
I want to start a new web开发者_C百科 application, something like a small hostelworld.com I decided to use spring as DI and security framework. but still don't know which framework to use for the presentation layer. what framework do you usually use to create a friendly UI or what do you suggest me to use??
- plain html+ js framework (no java framework)
- richfaces
- Icefaces
- GWT
- ZK
- Vaadin
- wicket
- JSF 2.0
- name yours ??
I know it's a quite subjetive question and may not have a definite answer, but telling your experience with any of them will help everyone or people who are facing the same problem to decide what framework to use
Like mikera commented it is hard to say which one is better, if the answering person has used only a few of them, not all. If you have some time and good will and you really want to know which is the best, I could suggest the following:
Check which technology has fanciest plugin to your favorite IDE. You'll see that already by searching little bit for tutorials for every one of them. I know that at least Vaadin has a GUI for Eclipse and I think many others also do have one.
Why not consider a content management system? A good one is Liferay, for example. There you have tools for creating the content by ready tools and even the site can be managed by its own tools.
These are some general tips for the area, that may be usefull also for others :)
I've personally used
- Apache Wicket
- Spring MVC + JSP
- JSF
- GWT
and for a webapplication which is not high frequently visited I recommend
- Apache Wicket
the most.
It has the clearest event based component and model approach and the lowest impact on the html templates I've seen till today.
I have started using velocity lately which is pretty decent and not as invasive as some other tools.
However, I have started looking into PhoneGap which will let you create apps for apple, android, and Microsoft devices. This may not be what you are looking for, but with it you can create apps for these devices and share the back end code. It is really useful.
Asa a side note, Google's Guice is a really good DI toolkit. Here is a comparison of Spring and Guice.
JSF 2(Mojarra) with Facelets as view technology. Primefaces for components is my latest favorite.
精彩评论