开发者

JBoss Errai, should I replace all my GWT-RPC client calls with it?

开发者 https://www.devze.com 2023-03-28 07:13 出处:网络
Is there still any benefit to using GWT-RPC to do my client-side calls if I开发者_JAVA技巧 have JBoss Errai (which I downloaded in order to do server push)? Or would I lose nothing if I just used Erra

Is there still any benefit to using GWT-RPC to do my client-side calls if I开发者_JAVA技巧 have JBoss Errai (which I downloaded in order to do server push)? Or would I lose nothing if I just used Errai calls for everything, client and server side? Can it send all the same data types, and does it perform as well, as GWT-RPC for client-originated calls?


JBoss Errai can substitute the GWT-RPC mechanism, the difference is the boilerplate code that you won't write; and you can inject dependencies through CDI in both client-server sides.

0

精彩评论

暂无评论...
验证码 换一张
取 消