In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
It is believed that many inexperienced people have no idea about how to implement the asynchronous messaging framework in Errai 2.0. therefore, this paper summarizes the causes and solutions of the problem. I hope you can solve this problem through this article.
Errai is a GWT-based framework developed by JBoss, which uses the next generation WEB technology to build rich client applications. The framework is based on ErraiBus and provides a truly unified messaging infrastructure for asynchronous messaging between client and server.
After months of development and significant adjustments to some API, the Errai team released the official version 2.0 today. The main improvements of this version are as follows:
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) anda 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
The next version will be 2.1, and the main plan is to implement the following aspects:
Partial support for JPA 2.0
Data binding module conforming to MVP schema
A Jackson-compatible marshalling mode in Errai Marshalling when used with the JAX-RS client.
Support for mobile platforms. There are already some demonstrations here.
After reading the above, have you mastered how to implement the asynchronous messaging framework in Errai 2.0? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.