Hi everybody,
I will probably work on a project as a technical responsible, and the current project is written with Vaadin framework (has been dev for one year). I have no knowledge in Vaadin but with Primefaces. So far, I don't like that a webapp may be written as a swing application, primefaces interfaces are much more beautiful than vaadin's and primefaces set of components look more complete than vaadin's as well. These are probably not a reason to adapt an entire product with Primefaces. But, it sounds really interesting to see a benchmark between both of them. Performance might be an important factor to pick Primefaces over Vaadin.
Does anyone knows or is able to make a benchmark with last version of both framework?
Thank you for your help,
Babas
Primefaces Vs. Vaadin
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
I have no experience in vaadin but afaik programming style is like swing where you create the UI programmatically compared to declarative approach of JSF. PrimeFaces is client centric (html5, css, javascript, jquery...) and Vaadin is server centric.
I'm not aware of a benchmark test. You may consider doing a simple POC with both of them and decide. Performance wise, JSF is great since 2.0 and implementations are performing well as well. I haven't heard about a complaint about it. A big client of ours recently decided to choose PrimeFaces over Vaadin because of high memory usage of Vaadin though. Also I think you need to buy jRebel or something as you can't simple reload the vaadin pages easy as xhtmls as hot reload is necessary. Also I think Vaadin required GWT whose future holds question because of Google.
In summary, both are good frameworks, in the end it depends on your preference.
I'm not aware of a benchmark test. You may consider doing a simple POC with both of them and decide. Performance wise, JSF is great since 2.0 and implementations are performing well as well. I haven't heard about a complaint about it. A big client of ours recently decided to choose PrimeFaces over Vaadin because of high memory usage of Vaadin though. Also I think you need to buy jRebel or something as you can't simple reload the vaadin pages easy as xhtmls as hot reload is necessary. Also I think Vaadin required GWT whose future holds question because of Google.
In summary, both are good frameworks, in the end it depends on your preference.
-
- PrimeFaces Core Developer
- Posts: 3979
- Joined: 03 Dec 2010, 14:11
- Location: Bavaria, DE
- Contact:
About performance:
http://content.jsfcentral.com/c/journal ... r2A1fiRDz8
http://content.jsfcentral.com/c/journal ... r2A1fiRDz8
http://content.jsfcentral.com/c/journal ... r2A1viRDz8
MyFaces is actually really fast if you use it correctly and if you use the right stack.
Also it depends on your application and how you implement it. Here some small tips from my side:
http://tandraschko.blogspot.de/2012/09/ ... ation.html
http://content.jsfcentral.com/c/journal ... r2A1fiRDz8
http://content.jsfcentral.com/c/journal ... r2A1fiRDz8
http://content.jsfcentral.com/c/journal ... r2A1viRDz8
MyFaces is actually really fast if you use it correctly and if you use the right stack.
Also it depends on your application and how you implement it. Here some small tips from my side:
http://tandraschko.blogspot.de/2012/09/ ... ation.html
Thomas Andraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
Thanks guys,
Myfaces looks indeed really great, I've always used mojarra as it is the default implementation. This link might help as well: http://tandraschko.blogspot.de/2012/08/ ... ation.html
Myfaces looks indeed really great, I've always used mojarra as it is the default implementation. This link might help as well: http://tandraschko.blogspot.de/2012/08/ ... ation.html
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
-
- PrimeFaces Core Developer
- Posts: 3979
- Joined: 03 Dec 2010, 14:11
- Location: Bavaria, DE
- Contact:
Thats right - Mojarra improved their performance, too!
MyFaces 2.2 will also provide "view pooling" -> http://lu4242.blogspot.de/2013/12/view- ... pache.html
MyFaces 2.2 will also provide "view pooling" -> http://lu4242.blogspot.de/2013/12/view- ... pache.html
Thomas Andraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
I have experience with both, Vaadin and PrimeFaces. Vaadin is good for small web apps and for developers which came from desktop development. Some people say, Vaadin has less bugs than JSF (well tested). PrimeFaces is richer and more native for web development. You have a fully control in UI. It can be used in big projects without worries about missing components. Programming with Vaadin is like a Swing programming, but for the web. I don't like it to be honest. Perfomance in Vaadin is not better from what I seen. JSF is a standard web framework in the JEE world (part of the JEE). PrimeFaces' community is bigger than Vaadin's one. That's for sure. So, in short words, always bet on Prime .
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Interesting note, Mojarra has only two open bug reports left at time of writing. Mojarra team has been doing bug fixing since 2.2. went final;
https://java.net/jira/secure/IssueNavig ... stId=10258
https://java.net/jira/secure/IssueNavig ... stId=10258
@optimus: yes, I read it and it looks like Mojarra is getting better, almost as good as MyFaces.
@Oleg: Thank you for your post, what do you mean by "small web apps"?
Declarative programming is (from my point of view) much better than "programming" style. I think it is more readable, so more maintainable. (e.g JSF, XAML)
@Oleg: Thank you for your post, what do you mean by "small web apps"?
Declarative programming is (from my point of view) much better than "programming" style. I think it is more readable, so more maintainable. (e.g JSF, XAML)
I agree, that is why I use xforms for form design (www.betterform.de) Even more declarative then jsf for these kinds of things.Babas007 wrote:Declarative programming is (from my point of view) much better than "programming" style. I think it is more readable, so more maintainable. (e.g JSF, XAML)
I even call it Declarative Design instead of programming and it is a DSL (like bpmn in www.activiti.org)
-
- Information
-
Who is online
Users browsing this forum: No registered users and 18 guests