DZone
Java Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Java Zone > Experiencing JSF 1.2: Good but Needs a Framework

Experiencing JSF 1.2: Good but Needs a Framework

Jakub Holý user avatar by
Jakub Holý
·
Aug. 04, 11 · Java Zone · Interview
Like (0)
Save
Tweet
5.86K Views

Join the DZone community and get the full member experience.

Join For Free

i’ve got an opportunity to experiment with jsf 1.2 while preparing a lecture about dbunit express and test webapp for jsf el validator . same as jsf 1.1, it’s much easier to use than the low level, too http-ish servlets but still it is not flexible enough and usable per se, it is absolutely necessary to use a decent framework (such as rich or ice faces) to be really productive. automatic value and method binding is cool but not sufficient.

for example forcing datatable to get filtered when you change selection in a select list was rather non-trivial and making the table sortable by every column required quite lot of work and if i wanted to have that for every table, i’d need to develop framework of my own. of course with various jsf component libraries you get such things out of the box but still jsf 1.2 is little to rigid, for example methods that could take parameters (which came in jsf 2.0) would make things a lot simpler.

i’ve also considered using business objects – such as ejbs – directly as jsf backing beans but i feel that in this version it might be suitable only for small applications (where the overhead of concern separation doesn’t pay off) or  some special ones. the problem is that even though backing beans are pojos, jsf still forces them to a rather specific shape, which should be confined to the web layer  – such as having action methods that take no parameters and return an indication of which view to dislay next.

i would very much like to experiment with and compare other interesting frameworks such as play!, grails, and gwt (and given that i’ve finally got to learning clojure, perhaps also compojure), though i likely won’t have time for that. if i do, you will come to know :-)

from http://theholyjava.wordpress.com/2011/07/30/experiencing-jsf-1-2-good-but-needs-a-framework/

Framework

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Ultra-Fast Microservices in Java: When Microstream Meets Open Liberty
  • Package and Deploy a Lambda Function as a Docker Container With AWS CDK
  • Everything I Needed to Know About Observability, I Learned from ‘Bewitched’
  • Waterfall Vs. Agile Methodologies: Which Is Best For Project Management?

Comments

Java Partner Resources

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo