Primefaces Vs. Vaadin

UI Components for JSF
Babas007
Posts: 251
Joined: 24 May 2011, 09:42

27 Dec 2013, 14:48

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

cagatay.civici
Prime
Posts: 18082
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

27 Dec 2013, 15:09

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.

tandraschko
PrimeFaces Core Developer
Posts: 3598
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

27 Dec 2013, 15:34

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
Always Bet On Prime (+ Extensions)!

Thomas Andraschko
PrimeFaces Developer | PrimeFaces Extensions Founder
Apache OpenWebBeans PMC | Apache DeltaSpike PMC | Apache MyFaces PMC

Personal Blog: http://tandraschko.blogspot.de/

Babas007
Posts: 251
Joined: 24 May 2011, 09:42

27 Dec 2013, 16:23

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


tandraschko
PrimeFaces Core Developer
Posts: 3598
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

28 Dec 2013, 00:09

Thats right - Mojarra improved their performance, too!

MyFaces 2.2 will also provide "view pooling" -> http://lu4242.blogspot.de/2013/12/view- ... pache.html
Always Bet On Prime (+ Extensions)!

Thomas Andraschko
PrimeFaces Developer | PrimeFaces Extensions Founder
Apache OpenWebBeans PMC | Apache DeltaSpike PMC | Apache MyFaces PMC

Personal Blog: http://tandraschko.blogspot.de/

User avatar
Oleg
Expert Member
Posts: 3803
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

28 Dec 2013, 00:13

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

cagatay.civici
Prime
Posts: 18082
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

28 Dec 2013, 00:39

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

Babas007
Posts: 251
Joined: 24 May 2011, 09:42

28 Dec 2013, 12:37

@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)

kukeltje
Expert Member
Posts: 9342
Joined: 17 Jun 2010, 13:34
Location: Netherlands

28 Dec 2013, 13:32

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 agree, that is why I use xforms for form design (www.betterform.de) Even more declarative then jsf for these kinds of things.

I even call it Declarative Design instead of programming and it is a DSL (like bpmn in www.activiti.org)
Ronald van Kuijk
______________________________
PrimeFaces 6.1, PrimeFaces plus 0.0.2 | JbossWildfly 10.1| Mojarra 2.2.13
Fedora 61, Firefox 'most recent'
Read the forum posting rules
Beginners: https://jsf.zeef.com/bauke.scholtz

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 12 guests