In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains the "commonly used Java micro-services open source framework", the content of the article is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in-depth, together to study and learn "what are the commonly used Java micro-service open source frameworks"!
1 、 Spring Boot
Spring Boot is a specific version of Spring that makes it easier to build microservices by handling configuration details. Spring Boot is created to self-launch any type of Spring project, not just a microservice. When the application is complete, Spring Boot will be mixed in the Web server and output a JAR file, except for JVM. You can think of it as the original Docker container, which is why many developers responsible for building microservices like Spring Boot very much.
Here the editor has built a front-end learning and exchange QQ group: 132667127, I have sorted out the latest front-end materials and advanced development tutorials, if you want, you can join the group to learn and communicate together.
2 、 Dropwizard
The Dropwizard framework provides a very simple model for developers, which contains many important modules. You can add some business logic or configure other content according to your needs. Finally, you will find that the JAR file is very small and can be started quickly.
Perhaps the biggest limitation of Dropwizard is the lack of dependency injection. If you want to use dependency injection to keep your code clean and loosely coupled, you need to add your own libraries, unlike Spring, but now Dropwizard also supports most features, including logging, health checking, and providing flexible code.
3 、 Cricket
Is a framework for rapid API development. Cricket is small, although it includes many additional features, such as key data storage, to avoid connecting to databases and schedulers to control background repetitive processing. No complexity or other dependencies are added, so it's easy to add code to Cricket and start stand-alone microservices.
4 、 Jersey
One of the standard ways to develop web services is the Java API (aka JAX-RS) of RESTful web services, which is a general specification implemented in the Jersey framework. This approach relies primarily on the use of annotations to specify path mapping and return details. Everything else from parameter parsing to JSON packaging is handled by Jersey.
The main advantage of Jersey is that it implements the JAX-RS standard, which is so popular that some developers are used to combining Jersey with Spring Boot.
5 、 Play
One of the best ways to experience JVM's cross-language capabilities is to use the Play framework, which is compatible with Java or any other JVM language. Its foundation is very modern, with an asynchronous, stateless model that does not overload the server by threads trying to track users and their session data. There are many additional features that can be used to enrich the site, such as OpenID, validation, and file upload support. The Play code base has been developed for more than a decade, so you'll also find ancient features similar to support for XML. Play is mature and light, and this combination is quite distinctive.
Thank you for your reading, these are the contents of "what are the commonly used Java micro-services open source frameworks". After the study of this article, I believe you have a deeper understanding of what the commonly used Java micro-services open source frameworks have. Specific use also needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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: 233
*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.