티스토리 뷰

JSF is becoming more popular framework for user interface layer development, many architects and companies assuming that Struts is becoming outdated and JSF is catching up the market. I am not sure whether it is true at this point of time. However I would like express my critic on the advantages and disadvantages of JSF.

Advantages

  1. Big vendors (Oracle, IBM, JBoss, etc) backing JSF implementation like EJB. Can expect good level of support and quality components from these vendors.
  2. By design and concept it allows to create reusable components. That will help to improve productivity and consistency.
  3. Many quality and ready to use components are available from Apache, Richfaces, Infragistics, Oracle, etc.
  4. The concept of action and action listener for button invocation is good.
  5. Has very good support for EL expression that improves the user interface code readability.
  6. Minimal Javascript.

Disadvantages

  1. There is no benchmarking report or promise from Sun Microsystems about the performance of JSF framework. By seeing their concept I believe it is not suitable for high performance application.
  2. The specification doesn’t consider bookmarking facility.
  3. Hardly a very few examples available for developing dynamic pages including new component and removing a component from a page based on business rule.
  4. Every button or link clicked results in a form post. That’s just wrong - why can’t I have true links like the web is supposed to? Form submission for page navigation make complex coding for simple requirement like Cancel button. Read here to know the work around.
  5. Datatable component requires same data from bean on restore view phase. If the data retrieved from database, this will have impact on performance. Click here to know more about this issue.
  6. There is no tight coupling between managed bean and phase listener. This is a major drawback of JSF which makes JSF phase listener feature unusable.
  7. Default error message is not good. Need to customize the default error message.

Bottom Line

JSF simplifies user interface development, and increases complexity on request processing lifecycle. At this point of time I don’t see JSF as a matured solution.

공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2025/08   »
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
글 보관함