You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by measwel <ma...@yahoo.com.au> on 2009/09/05 19:18:15 UTC

JSF scalability issues?

LS,

I read recently, that JSF is not well suited for big projects, as it faces
scalability issues when the number of concurrent users of the webapp grows.
This is due to the controller beans that get instantiated per user.
Therefore, so the article stated, it is advisable to use another framework
for big projects. 

I would like to know if there is any truth to that, if JSF is indeed less
scalable than say struts2.

Thank you,
MPK
-- 
View this message in context: http://www.nabble.com/JSF-scalability-issues--tp25310548p25310548.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: JSF scalability issues?

Posted by Omar Elprince <ge...@gmail.com>.
Here is a good reference that would help in deciding if JSF is the  
right choice.

JSF for nonbelievers
http://www.jsfcentral.com/listings/A9190?link



On Sep 6, 2009, at 8:07 AM, measwel wrote:

>
> Hereby the links:
>
> http://debasishg.blogspot.com/2006/09/which-web-framework-do-you-want-to-use.html
> http://www.thomasknierim.com/108/web-development/jsf-scalability/
>
> Please comment.
> -- 
> View this message in context: http://www.nabble.com/JSF-scalability-issues--tp25310548p25317142.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>


Re: JSF scalability issues?

Posted by measwel <ma...@yahoo.com.au>.
Richard,

I have made a small webapp based on JSF and it was rather painless, except
for issues with objects getting detached. I decided I wanted to build a
larger webapp, but then came across the jsf scalability warnings. As I dont
want to run into scalability problems, I decided to use struts2. Well, it is
way harder for me to put up something useful in struts2, the learning curve
is steeper.

Now I am facing a choice; continue in struts2 or switch to jsf for my big
webapp project. Please advise; is scalability really an issue to consider?

Thanks,
Marek
-- 
View this message in context: http://www.nabble.com/JSF-scalability-issues--tp25310548p25317801.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.


architectural questions

Posted by measwel <ma...@yahoo.com.au>.
Hi,

I am about to start a new webapp project and have to decide on the
technology. I have done some prototyping in struts2 with spring and
hibernate, but was not really amused by the action mapping effort that has
to go into it, nor with the way struts2 handles ui forms. 

So I am back pondering upon using JSF 2.0. After reading the articles, I can
believe that scalability should not be a problem. But since I am very new to
the technology, I would appreciate an explaination on the following:

- What is MyFaces?
- What is Facelets?
- Should I use seam?
- Should I use spring?
- possible pitfalls? Do's an dont's.
- I have a project in JSF 1.2. Is it easy to port it to JSF 2.0? What would
be the benefit?

Thank you,
MPK
-- 
View this message in context: http://www.nabble.com/JSF-scalability-issues--tp25310548p25318997.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: JSF scalability issues?

Posted by Gerhard Petracek <ge...@gmail.com>.
hi,

just as additional information - bruno wrote an interesting mail [1] some
months ago.

regards,
gerhard

[1]
http://www.nabble.com/-OT--Toys-R-us-Britain-apparently-uses-MyFaces-tt21586978.html

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


2009/9/6 Cagatay Civici <ca...@gmail.com>

> First article is outdated, so not a valid reference to consider now.
>
> Regarding second article, I disagree with that since every web framework
> has some sort of lifecycle to process the request and generate the response,
> why is it a problem that JSF has one too. Also session is not specific to
> JSF, it's developer's responsibility
> to use memory efficiently.
>
> Finally I suggest you taking a look at JSF 2.0. Here's a good article;
>
> http://andyschwartz.wordpress.com/2009/07/31/whats-new-in-jsf-2
>
>
> On Sep 6, 2009, at 2:12 PM, Richard Yee wrote:
>
>  First of all, the blog post is three years old. The article may have had
>> some valid points at the time, but the implementations have improved and the
>> technology is understood better now. JSF 2.0 also has a lot of new features
>> that improve on the weak spots in the previous specs too.
>>
>> Richard
>>
>> Sent from my iPhone
>>
>> On Sep 6, 2009, at 5:07 AM, measwel <ma...@yahoo.com.au>
>> wrote:
>>
>>
>>> Hereby the links:
>>>
>>>
>>> http://debasishg.blogspot.com/2006/09/which-web-framework-do-you-want-to-use.html
>>> http://www.thomasknierim.com/108/web-development/jsf-scalability/
>>>
>>> Please comment.
>>> --
>>> View this message in context:
>>> http://www.nabble.com/JSF-scalability-issues--tp25310548p25317142.html
>>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>>
>>>
>

Re: JSF scalability issues?

Posted by Cagatay Civici <ca...@gmail.com>.
First article is outdated, so not a valid reference to consider now.

Regarding second article, I disagree with that since every web  
framework has some sort of lifecycle to process the request and  
generate the response, why is it a problem that JSF has one too. Also  
session is not specific to JSF, it's developer's responsibility
to use memory efficiently.

Finally I suggest you taking a look at JSF 2.0. Here's a good article;

http://andyschwartz.wordpress.com/2009/07/31/whats-new-in-jsf-2

On Sep 6, 2009, at 2:12 PM, Richard Yee wrote:

> First of all, the blog post is three years old. The article may have  
> had some valid points at the time, but the implementations have  
> improved and the technology is understood better now. JSF 2.0 also  
> has a lot of new features that improve on the weak spots in the  
> previous specs too.
>
> Richard
>
> Sent from my iPhone
>
> On Sep 6, 2009, at 5:07 AM, measwel <ma...@yahoo.com.au>  
> wrote:
>
>>
>> Hereby the links:
>>
>> http://debasishg.blogspot.com/2006/09/which-web-framework-do-you-want-to-use.html
>> http://www.thomasknierim.com/108/web-development/jsf-scalability/
>>
>> Please comment.
>> -- 
>> View this message in context: http://www.nabble.com/JSF-scalability-issues--tp25310548p25317142.html
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>


Re: JSF scalability issues?

Posted by Richard Yee <ri...@gmail.com>.
First of all, the blog post is three years old. The article may have  
had some valid points at the time, but the implementations have  
improved and the technology is understood better now. JSF 2.0 also has  
a lot of new features that improve on the weak spots in the previous  
specs too.

Richard

Sent from my iPhone

On Sep 6, 2009, at 5:07 AM, measwel <ma...@yahoo.com.au>  
wrote:

>
> Hereby the links:
>
> http://debasishg.blogspot.com/2006/09/which-web-framework-do-you-want-to-use.html
> http://www.thomasknierim.com/108/web-development/jsf-scalability/
>
> Please comment.
> -- 
> View this message in context: http://www.nabble.com/JSF-scalability-issues--tp25310548p25317142.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>

Re: JSF scalability issues?

Posted by measwel <ma...@yahoo.com.au>.
Hereby the links:

http://debasishg.blogspot.com/2006/09/which-web-framework-do-you-want-to-use.html
http://www.thomasknierim.com/108/web-development/jsf-scalability/

Please comment.
-- 
View this message in context: http://www.nabble.com/JSF-scalability-issues--tp25310548p25317142.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: JSF scalability issues?

Posted by Omar Elprince <ge...@gmail.com>.
It would be useful for every one if you send the reference source of  
the article you are referring to in your email.

On Sep 5, 2009, at 1:18 PM, measwel wrote:

>
> LS,
>
> I read recently, that JSF is not well suited for big projects, as it  
> faces
> scalability issues when the number of concurrent users of the webapp  
> grows.
> This is due to the controller beans that get instantiated per user.
> Therefore, so the article stated, it is advisable to use another  
> framework
> for big projects.
>
> I would like to know if there is any truth to that, if JSF is indeed  
> less
> scalable than say struts2.
>
> Thank you,
> MPK
> -- 
> View this message in context: http://www.nabble.com/JSF-scalability-issues--tp25310548p25310548.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>


Re: JSF scalability issues?

Posted by Richard Yee <ri...@gmail.com>.
What article did you read that in? How are you defining a 'big  
project' and a 'large number of concurrent usrs'? We are using JSF  
(MyFaces and Trinidad) on several projects and have load tested with  
over a thousand concurrent user and have not experienced any issues.  
The key to scaling any application is to make sure objects are stored  
in the shortest scope as possible to decrease the memory footprint.  
Conversation scope is very useful for this. It is is true that any   
poorly designed application probably won't scale very well. How big is  
the server that you are planning to run on in production?

Richard

On Sep 5, 2009, at 10:18 AM, measwel <ma...@yahoo.com.au>  
wrote:

>
> LS,
>
> I read recently, that JSF is not well suited for big projects, as it  
> faces
> scalability issues when the number of concurrent users of the webapp  
> grows.
> This is due to the controller beans that get instantiated per user.
> Therefore, so the article stated, it is advisable to use another  
> framework
> for big projects.
>
> I would like to know if there is any truth to that, if JSF is indeed  
> less
> scalable than say struts2.
>
> Thank you,
> MPK
> -- 
> View this message in context: http://www.nabble.com/JSF-scalability-issues--tp25310548p25310548.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>