Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does anyone exist who has used JBoss Errai in their projects?

I am searching GWT Design to setup project. I could use MVP(GWTP) or JBoss Errai. I haven't decided yet. Is there anyone who experienced in one of these?

You can give advantages and disadvantages of these frameworks.

like image 298
firstthumb Avatar asked Sep 13 '10 10:09

firstthumb


3 Answers

Errai by far the best for a complete set of tools. GWT dispatch can be used just by itself if not using Errai or GWTP .

like image 102
Shahzeb Avatar answered Sep 26 '22 11:09

Shahzeb


JBoss Errai is quite "mature" now I think, and I am using it for my commercial projects.

Basically, one of the best features of Errai now (as of this moment) is that it allows really good templating with GWT.

like image 31
quarks Avatar answered Sep 24 '22 11:09

quarks


Errai features:

  • Errai UI, too easy to learn.
  • Errai UI again, the CSS use is native, just in special cases you have to set a CSS style in code.
  • LESS Suport.
  • JPA on browser.
  • CDI through Weld, you can use Seam over spring.
  • You can have page navigation (Errai navigation).
  • Don't have to declare two interfaces to have interaction with the server.
  • Communication with the server in the form of messages, events, or through REST or RPC.

GWT vanilla features:

  • UI Binder. What?! more tags to learn? oh come on!
  • CSS through Java code.
  • Does not have LESS support.
  • Does not support CDI injection of services natively.
  • Does not support page navigation natively (activities and places works just in one page).
  • Does not have any support of client-side persistence.
  • You have to declare two interfaces to have interaction with the server (yeah, you can have an assistant that makes the code for you, but is boilerplate code that you have to maintain).
  • GWT interaction just by RPC mechanism.

So, IMHO if you can add Errai in your GWT projects your developments will be more comfortable :-)

Cheers!

like image 37
n3k0 Avatar answered Sep 23 '22 11:09

n3k0