编程知识 cdmana.com

Spring 2021 report released: who is the real brother?

Who is the Spring The elder brother ?

The top three projects this year remain unchanged . about 75% Of the respondents were using it Spring Data、Spring Security and Spring WebMVC. However , These are not the only ones that are widely used Spring modular . About a third of the respondents are using Spring Kafka、Spring Batch、Spring Cloud、Spring WebFlux and Spring Integration, and 25% Of the respondents used Spring Session、Spring LDAP、Spring AMQP and Spring Cloud Gateway.( It will be described in detail later Spring Cloud Gateway)

Spring Projects

Data, data Everywhere

The quality of applications depends on their data . Complex applications may use multiple data sources or even across multiple clouds .Spring Data Make use of data access technology 、 Relational and non relational databases 、map-reduce Frameworks and cloud based data services become easier —— And sub projects of specific technologies .

Spring Data JPA, Can be easily implemented Java Persistence be based on API Your repository is at the top of the list of subprojects , yes 79% The first choice for developers .Spring Data JDBC(Java Database connection ), It defines methods for connecting and querying almost all relational databases API, With 74% The second . Several modules of non relational database are also very popular , Include MongoDB (46%)、Redis (37%) and Elasticsearch (31%).

Spring Data

Kotlin Make new progress

Spring Supports three programming languages :Java、Groovy、 and Kotlin,Kotlin An object-oriented language , Including many ideas of functional programming , On 2016 First introduced in . We always want to know what new technology is more popular ,Kotlin Seems to be the winner .

exceed 40% Of respondents are already using Kotlin establish Spring project (18% It is being widely used ), And the extra 18% Plan to use it . Nine out of ten said they were optimistic about Kotlin, Our survey covers 15 In this new technology , This is the most positive feedback of all .

Kotlin

API Is the most important Spring function

the height is 97% The people of agree “API To our Spring Development work is crucial .” To learn about API More information about using , We split... For internal and external consumers API. These are the first and third use cases this year . Business applications fell to second place .

Because of the interior API Has become such an important use case , Know what internal... People are using API The market and how they find and try API It will be interesting . Look for questions about these topics next year .Spring Cloud Gateway Provides a developer friendly way to route 、 Protection and monitoring API request . Interest in this open source project is soaring , At the same time, for our business support version Tanzu Spring Cloud Gateway Interest is also soaring .

super 80% People are using modern application architecture

Spring One of the benefits of is that it can help developers keep up with the pace of modern technology , So they don't have to keep learning new languages or frameworks ;86% People who use Spring Modern architectural style —— Almost everyone (94%) All use microservices , and 35% Use Reactive,19% Use serverless..

Spring Native

When we ask Spring What can be improved , There are two things that have attracted much attention : Reduce startup time and optimize memory usage . By way of Spring The application is compiled into a native executable ,Spring Native Solved these challenges —— And it's ready to take off .

Why hesitate ?

use Spring Native The biggest obstacle is : Still in the testing phase (59%) and GraalVM Native image technology needs to mature (46%).92% Stakeholders in GraalVM Take a positive attitude , This fact shows that the community believes that the technology will mature rapidly .

Spring Native

The future is bright

Spring Native On 2021 year 3 In June, it entered the public beta stage . Even though Spring Native Still in the testing phase , but 65% It has been planned to deploy :29% some time 12 months , in addition 29% stay 1-2 Within one year , also 7% plan 5 During the year .

Spring Native

Spring is K8s Take off

stay Kubernetes Run containerization on Spring The number of application organizations has increased from last year's 44% Soar to 57%. this 13 Point jump with the whole industry Kubernetes Use growth consistently .

Nine out of ten respondents want to see the right Kubernetes Better support , Include Kubernetes Native service discovery and configuration management (67%)、 A simplified Spring Boot Application container image Assembly line (57%) and Spring Application management of applications (52%).

summary

2021 Year is Spring A year of continued prosperity ,61% The organizations surveyed said Spring Is their main or only development platform , Higher than last year 52%. Amazing to achieve 95% Of people agree with Spring Boot It has a huge positive impact on productivity ,90% Person representation Spring The impact is greater than other Java The platform is bigger .Stack Overflow and Spring.io Once again Spring The main source of information for the community . We will work all year round on Spring.io, To address community feedback on website availability and content discoverability .

Spring The key to releasing huge productivity is a lot of things that help accelerate code delivery Spring project . for example : near 80% The organization uses Spring Data—— It is associated with MongoDB、Redis and Elasticsearch Leading data technology integration . If you are looking for the right Spring Project to accelerate your development work , It may be helpful to know your peers who make decisions based on project maturity and document quality . In using modern architecture 86% Of the respondents ,94% Using microservices ,35% Use Reactive,19% Use Serverless.

most (97%) Of the respondents said API Critical to their development work . although JSON over HTTP and OpenAPI Take the lead , Surprisingly, there have been 20% In use with GraphQL Of API. If your organization sees API Rapid growth , Please check out Spring Cloud Gateway and API Portal To help simplify API management .Spring Everyone in the community seems to know Spring Native. Because it's still in testing , Few people use it , but Spring Native In a favorable position , Can be used quickly in the near future .

With its huge ecosystem and good performance record ,Spring Still Enterprises Java Preferred platform for , There will be more in the future . This annual survey is a valuable resource , Because we are with Spring Community cooperation , Prioritize new areas of innovation and identify and solve problems . Thank you for taking the time to read this report . If you're involved in the investigation , Thank you for your feedback !

Last , If you are learning Spring, So our Spring Boot and Spring Cloud course , It will help you :Spring Boot series Spring Cloud series .

The author of this article : Dreamlike technology ,
Link to the original text :https://mp.weixin.qq.com/s/ZuHueNnSjYKBSmezRp9K8g
The copyright belongs to the author , Please indicate the author of the reprint 、 original text 、 Translators and other source information

版权声明
本文为[Program ape DD]所创,转载请带上原文链接,感谢
https://cdmana.com/2021/10/20211002145752203k.html

Scroll to Top