GraphQL Java备忘单

一种GraphQL Java备忘单帮助您了解GraphQL Java世界中的什么。 如果您执行以下操作,可能会发现它很有用:

想学习GraphQL Java对所有Java GraphQL库感到困惑想在项目中尝试GraphQL Java,但不确定如何启动

Gradle or Maven?

Gradle and Maven are the most popular build automation tools.
Which one you should choose? I can not provide you an answer to that question as this decision is to a large extent up to you and it depends on variables like your project's size or how much customization it needs. The tools like Spring and the constantly increasing amount of integration make it's quite a personal decision. As both approaches have their strengths and weaknesses, I hope this short summary can help you choose the right one for your project.

摇篮马文建立方法基于任务依赖关系图基于固定和线性的相位模型动态和传递依赖是是工件存储库中心马文 Central私人公司资料库是是自定义规则,解决版本冲突是没有提前任务订购是没有管理构建基础架构使用接受自动配置的包装器需要扩展以支持自动配置版本

综上所述,Gradle比Maven强大得多,但是在许多情况下,您不需要使用其花哨的功能。 如果您从事的是小型项目,则应考虑使用Maven,如果它是大型企业应用程序,那么Gradle似乎是正确的选择。 最后,这是您的个人选择。

Libraries

有几个与GraphQL Java相关的库。 唯一严格要求的库是graphql-java这是GraphQL实现本身,但是还有许多其他有用的地方:

  • graphql-java: The alpha and omega of any project, the GraphQL Java implementation itself.

  • graphql-java-tools: The library that allows you to use the GraphQL schema language to build your GraphQL schema. It's inspired by Apollo's graphql-tools, it parses the given GraphQL schema and allows you to bring your own object to fill in the implementations.

  • graphql-spring-boot: A lib that contains various Spring Boot starters to enable GraphQL related services and features.

  • graphql-java-servlet: The implementation of GraphQL Java Servlet including support for popular libraries like Relay.js, Apollo, and OSGi out of the box; wraps the Java implementation of GraphQL provided by GraphQL Java.

  • graphql-java-annotations: The library that offers an annotations-based syntax for GraphQL schema definition.

DEV.TO GraphQL Java articles

Tutorials and other resources

Video tutorials:

带有GraphQL查询示例的Spring Boot-技术入门

使用Kotlin和graphql-java构建GraphQL服务器-MichaelHunger

开发和维护Java GraphQL后端-Bojan Tomic

from: https://dev.to//graphqleditor/graphql-java-cheat-sheet-4316

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值