温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

怎样实现Errai 2.0中的异步消息传递框架

发布时间:2021-09-18 18:02:23 来源:亿速云 阅读:81 作者:柒染 栏目:编程语言

怎样实现Errai 2.0中的异步消息传递框架,相信很多没有经验的人对此束手无策,为此本文总结了问题出现的原因和解决方法,通过这篇文章希望你能解决这个问题。

怎样实现Errai 2.0中的异步消息传递框架怎样实现Errai 2.0中的异步消息传递框架

Errai是JBoss开发的一个基于GWT的框架,使用下一代WEB技术,用于构建富客户端应用。该框架构建在ErraiBus基础上,为客户端与服务器的异步消息传递提供了一个真正统一的消息基础设施。

经过几个月的开发,对一些 API 进行了大幅的调整之后,Errai 团队今天发布了 2.0 的正式版。该版本主要改进内容:

  • Errai eliminates the need for boilerplate code and configuration in several areas, including entry points, remote services, UiBinder, and more.

  • Errai brings some of parts of Java EE 6 to the browser: CDI (standardized IoC and eventing) and a typesafe JAX-RS client. A JPA 2.0 implementation is on the way in 2.1!

  • Errai includes a simpler-to-use and more flexible marshalling and RPC system

  • Errai provides a client-server message bus with bidirectional push messaging (much of the above is based on Errai's Bus, and you can choose to use the bus API directly in your code).

  • Errai is guided by the belief not only that a uniform programming model across client and server is a big advantage, but that it's also advantageous to share significant parts of your code base between the client tier and the server tier

而下一个版本将是 2.1 ,主要计划实现下面几个方面:

  • 部分支持 JPA 2.0

  • 符合 MVP 模式的数据绑定模块

  • A Jackson -compatible marshalling mode in Errai Marshalling when used with the JAX-RS client.

  • 对移动平台的支持。这里已经有一些 演示

看完上述内容,你们掌握怎样实现Errai 2.0中的异步消息传递框架的方法了吗?如果还想学到更多技能或想了解更多相关内容,欢迎关注亿速云行业资讯频道,感谢各位的阅读!

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI