aspose file tools
The moose likes Struts and the fly likes JSF - performance? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "JSF - performance?" Watch "JSF - performance?" New topic
Author

JSF - performance?

Anuj Upadhyay
Greenhorn

Joined: Mar 17, 2004
Posts: 9
Hi all,

I have not implemented an application using JSF and was wondering the performance issues associated with it. One reads about it quite often, especially when comparisons are made, but it would be good to get some concrete answers from someone who has a system in production using JSF.

Any JSF pitfalls? Maybe the author can throw more light on this also.

Thanks,
Anuj
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8876

someone who has a system in production using JSF.


Production system ? I dont think any one has. :roll:


Groovy
Hans Bergsten
Author
Ranch Hand

Joined: Dec 01, 2003
Posts: 106
Originally posted by Anuj Upadhyay:
Hi all,

I have not implemented an application using JSF and was wondering the performance issues associated with it. One reads about it quite often, especially when comparisons are made, but it would be good to get some concrete answers from someone who has a system in production using JSF.

Any JSF pitfalls? Maybe the author can throw more light on this also.

Thanks,
Anuj



JSF is a specification and the performance depends on a specific implementation of the specification.

I've seen reports about a flawed synchronization approach for the reference implementation that can cause performance problems, but there are other implementations. One I hear a lot of good things about is MyFaces: http://sourceforge.net/projects/myfaces/.

There's at least one more open source implementation and you'll soon see many commercial implementations from application server vendors.


Hans Bergsten, hans@gefionsoftware.com<br />Author of O'Reilly's<br />- JavaServer Pages,<br />- JavaServer Faces<br /><a href="http://www.hansbergsten.com/" target="_blank" rel="nofollow">http://www.hansbergsten.com/</a>
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982

There's at least one more open source implementation and you'll soon see many commercial implementations from application server vendors.


So far, JSF seems not being popular, although it may get famous soon or later.

I guess large vendors, like IBM, SUN, BEA, will soon provide JSF plug-ins for JSF, however, by now, any tools and plug-ins that I can use together with WSAD?

Nick


SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
Hans Bergsten
Author
Ranch Hand

Joined: Dec 01, 2003
Posts: 106
Originally posted by Nicholas Cheung:


So far, JSF seems not being popular, although it may get famous soon or later.

I guess large vendors, like IBM, SUN, BEA, will soon provide JSF plug-ins for JSF, however, by now, any tools and plug-ins that I can use together with WSAD?

Nick


Based on all the JSF articles, questions in Sun's JSF forum, JSF books about to be released, and the number JSF BOFs and sessions at this year's JavaOne, I say JSF seems to be very popular.

All the vendors you mentioned have tools in the works, for instance Sun's Java Studio Creator and Oracle's JDeveloper. I believe early access versions with JSF support is available for both products.

Keep in mind that the JSF 1.0 spec was released in March, roughly 3 months ago, and JSF 1.1 was released last week to fix a few problems. It always takes a few months for the vendors to get their products tested and released. And it takes even longer before major companies start using a new technology, so just be patient.
bas duijzings
Ranch Hand

Joined: Apr 07, 2004
Posts: 83
(Nicholas)
So far, JSF seems not being popular, although it may get famous soon or later.

(Hans)
Based on all the JSF articles, questions in Sun's JSF forum, JSF books about to be released, and the number JSF BOFs and sessions at this year's JavaOne, I say JSF seems to be very popular.

I agree with nicholas that the market has not caught on. Again it all depends on the adaption of the decision makers in the market. Architects need to find their way throuhg this new specification. They, in their turn, need to bring management up to speed with these possibilities. After that management will demand for more user interaction on the sites. So yes this will take time. As for hans' remark, yes it may be popular on the forums, etc, but that is not the market place yet.
I hope it will catch on, and it is early days yet

baz


have a nice one
Anuj Upadhyay
Greenhorn

Joined: Mar 17, 2004
Posts: 9
Originally posted by Hans Bergsten:



JSF is a specification and the performance depends on a specific implementation of the specification.

I've seen reports about a flawed synchronization approach for the reference implementation that can cause performance problems, but there are other implementations. One I hear a lot of good things about is MyFaces: http://sourceforge.net/projects/myfaces/.

There's at least one more open source implementation and you'll soon see many commercial implementations from application server vendors.


Thanks for the insight Hans!

Like all other Sun - Java related specifications we would have to wait for this to evolve as well. Different implementation means compatibility issues similar to the J2EE (EJB) implementations of today.

Just another question, what implementation do you base your book on?

Thanks,
Anuj
Hans Bergsten
Author
Ranch Hand

Joined: Dec 01, 2003
Posts: 106
Originally posted by Anuj Upadhyay:
Just another question, what implementation do you base your book on?


I've used the reference implementation to test all examples, but they should work with any compliant implementation.
James Holmes
Author
Ranch Hand

Joined: Jan 06, 2004
Posts: 64
JSF is definitely gaining popularity as Hans points out. There have been several articles and books written with surely more to come. For a comprehensive listing of JavaServer Faces links you can visit my website at:

http://www.jamesholmes.com/JavaServerFaces/

Hope that helps,

James

Originally posted by Hans Bergsten:


Based on all the JSF articles, questions in Sun's JSF forum, JSF books about to be released, and the number JSF BOFs and sessions at this year's JavaOne, I say JSF seems to be very popular.

All the vendors you mentioned have tools in the works, for instance Sun's Java Studio Creator and Oracle's JDeveloper. I believe early access versions with JSF support is available for both products.

Keep in mind that the JSF 1.0 spec was released in March, roughly 3 months ago, and JSF 1.1 was released last week to fix a few problems. It always takes a few months for the vendors to get their products tested and released. And it takes even longer before major companies start using a new technology, so just be patient.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: JSF - performance?
 
Similar Threads
Passing values to JSp with href
Alternatives to JSF
reg resource bundle
Java for log in authentication? (looking for tutorial that applies to situation)
JSF Performance