Recently, on the 6th anniversary of the birth of GraphQL Java, the Spring community announced the official creation of a new project through its blog: Spring GraphQL, and also released the milestone 1.0 version of this new project.
Original blog: https://spring.io/blog/2021/07/06/hello-spring-graphql
The task of this project is to integrate GraphQL Java into the Spring ecosystem, and the development of this project will be undertaken by the two teams of both parties.
What is GraphQL?
Even though GraphQL has been hyped up abroad, it has not been widely used in China, just like Hibernate and JPA. So that many developers don't know much about GraphQL.
The following is GraphQL Chinese network , let’s get to know it together:
GraphQL is a query language for APIs, and it is also a language that can satisfy data queries. It provides an easy-to-understand and complete description of the data in your API, which allows the client to accurately obtain the data it needs without any redundancy, and makes it easier for the API to evolve over time. It can also be used to build powerful developer tools.
GraphQL Java and Spring GraphQL
GraphQL is a concept, and the specific implementation needs to be done by each technology platform.
At present, the mainstream development languages basically have ready-made libraries that can be used, and GraphQL Java is the implementation of the Java platform.
Although GraphQL is an implementation of the Java language, so far, it has always been an engine that executes GraphQL requests. The shortcomings are obviously easy to see. In actual application development, users also need to create their own HTTP adapter to further use the business. on.
Therefore, this time Spring and GraphQL Java jointly launched the Spring GraphQL project, which is a measure that benefits both users. Perhaps with the launch of Spring GraphQL, more and more developers will learn about GraphQL through the Spring platform, and Applying it makes it possible for this advanced concept to be implemented.
For readers who are interested in this section, you can go directly to related open source projects through the following links:
- https://github.com/graphql-java/graphql-java
- https://github.com/graphql-java/graphql-java-spring
- https://github.com/spring-projects/spring-graphql
Finally, why do you think GraphQL has not been able to catch up? After the launch of Spring GraphQL, is it likely to become popular in China in the future? Welcome to leave a message to talk about your views!
PS Remember to follow me and don't go away! As a serial blogger of Spring Boot tutorials, the use cases of Spring Graphql will immediately follow to help you get started and understand it better!
Welcome to pay attention to my public account: Program Ape DD, share knowledge and thoughts that can’t be seen elsewhere
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。