• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF: should we use it?

 
Dani Mazzuca
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Marty,
Several times I was reading that JSF doesn't compete with Struts. However, if you read some articles about it, you can discover that most of its functionality comes from Struts. OK, OK, you can render visual components in different ways, but as you said, how many people will use that feature? And at the cost of what?
Also, Web designers usually use professional visual tools like DreamWeaver MX to build its pages, so, IMHO, the custom html tags (forms, etc) created in both, Struts and JSF, are not very practical, not until web designers have a similar tool that lets them construct the pages visually, like the intent of project Rave, but this will take some time.
My impression, and I should emphasize that I was not reading a lot about JSF, so I might be unfair, is that JSF project is not going well, maybe because it has not a clear main objective. So the questions are: Should we use JSF? What for? Is it going to take off? What are your personal opinions about it? (Please, tell me I am wrong! :-))
Dani Mazzuca
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, Web designers usually use professional visual tools like DreamWeaver MX to build its pages,

Such designers are usually building web sites as opposed to web applications. So if custom tags (Struts or home-grown) aren't important to you, you don't need to use them. If you are building a large web app that would be near impossible without them, use a tool appropriate to the job.
bear
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Dani Mazzuca:

My impression, and I should emphasize that I was not reading a lot about JSF, so I might be unfair, is that JSF project is not going well, maybe because it has not a clear main objective. So the questions are: Should we use JSF? What for? Is it going to take off? What are your personal opinions about it? (Please, tell me I am wrong! :-))
Dani Mazzuca

Dani, I heard that Swing developers can easily fetch the concept of JSF... I don't whether it is just a rumor or not... As for me, I haven't tried it JSF yet... I think I am glad of the evolution of JSF, since I have ever used Swing, when I was in the university... Even more, personally I liked Swing at that time... I hope my skill on Swing can resurrect, if JSF is some kinda Swing-liked components...
Just my opinin...
 
Marty Hall
Author
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, the advantages I see in JSF is not just in rendering plain HTML form elements the first time, it is:
  • Associating the form elements with beans so that the values of the form elements (textfield contents, button labels, etc.) can be derived automatically from the bean.
  • Associating the action with a bean so that the results of the form submission can populate a bean automatically.
  • Easily redisplaying HTML forms when they are incompletely filled in, preserving the entries that have already been filled in.


  • As to whether the JSF project is going well or not, IMHO it is too early to tell.
    Cheers-
    - Marty
     
    Ko Ko Naing
    Ranch Hand
    Posts: 3178
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Originally posted by Marty Hall:

    As to whether the JSF project is going well or not, IMHO it is too early to tell.
    Cheers-
    - Marty

    Do u mean JSF is not widely used in the industry yet? Since I used to be Swing-based client-server applications in the past, I am pretty excited of hearing that JSF technology is kinda Swing...
    Hope JSF project is going well in the future...
     
    Gregg Bolinger
    Ranch Hand
    Posts: 15304
    6
    Chrome IntelliJ IDE Mac OS X
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    It is my understanding that JSF is far from complete. So no, it is not widely used yet.
    If you really want to see the benefit of JSF, do some projects in ASP.NET with Visual Studio.NET. I think that is basically what they are trying to achieve with JSF.
     
    Pradeep bhatt
    Ranch Hand
    Posts: 8933
    Firefox Browser Java Spring
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Read sample chapters from
    http://www.theserverside.com/resources/JSFInActionReview.jsp
     
    Marty Hall
    Author
    Ranch Hand
    Posts: 111
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Do u mean JSF is not widely used in the industry yet?

    Actually, I meant that JSF is not used at all in industry yet.
    The spec is not complete, and the first release of JSF is not yet out.
    Cheers-
    - Marty
     
    Pradeep bhatt
    Ranch Hand
    Posts: 8933
    Firefox Browser Java Spring
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Marty,
    Do you think that it will be next major thing in J2EE web application world?
    [ November 14, 2003: Message edited by: Pradeep Bhat ]
     
    Kyle Brown
    author
    Ranch Hand
    Posts: 3892
    5
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    My answer is YES, JSF will be the next big thing. IBM, for one is behind it in a very big way, as are MacroMedia, Sun, and several other companies. IMHO, you ignore JSF at your peril...
    Kyle
     
    Dani Mazzuca
    Ranch Hand
    Posts: 70
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Kyle,
    It is interesting to know that big companies are behind the JSF scenes, particularly, Macromedia. Could you elaborate more, with technical comments about JSF, why do you think it will be the next big thing?
    Dani Mazzuca
     
    Kyle Brown
    author
    Ranch Hand
    Posts: 3892
    5
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    OK, the next release of WSAD will include full support for JSF. We have this available as a limited-availability technical preview now for selected customers. I know that Macromedia is working on JSF support for a Flash renderkit. There are lots of other companies doing similar interesting work. It's from this that I'm drawing my conclusions that it is the next big thing.
    Kyle
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic