JBoss Errai, should I use it to replace all GWT-RPC client calls?

If I have JBoss Errai (I download it for server push), is there any benefit to using GWT-RPC for client-side calls? Or if I just use Errai to call everything, client and server, what will I lose? Can it send all the same data types, and can it also be used for client-initiated calls like GWT-RPC?
JBoss Errai can replace the GWT-RPC mechanism, the difference is that you can’t write boilerplate code; and you can Side-The server side injects dependencies through CDI.

If I have JBoss Errai (I download for server push), is there any benefit to using GWT-RPC for client-side calls? Or if I just use Errai to call everything, client and server, what will I lose? Can it send all the same data types, and can it also be used for client-initiated calls like GWT-RPC?

JBoss Errai can replace the GWT-RPC mechanism, the difference is that you will not write boilerplate code; and you can inject dependencies through CDI on the client-server side.

p>

Leave a Comment

Your email address will not be published.