GraphQLย vsย Spring

Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

GraphQL
GraphQL

4.6K
4K
+ 1
253
Spring
Spring

1.9K
1.5K
+ 1
938
Add tool

GraphQL vs Spring: What are the differences?

GraphQL: A data query language and runtime. GraphQL is a data query language and runtime designed and used at Facebook to request and deliver data to mobile and web apps since 2012; Spring: Provides a comprehensive programming and configuration model for modern Java-based enterprise applications. A key element of Spring is infrastructural support at the application level: Spring focuses on the "plumbing" of enterprise applications so that teams can focus on application-level business logic, without unnecessary ties to specific deployment environments.

GraphQL can be classified as a tool in the "Query Languages" category, while Spring is grouped under "Frameworks (Full Stack)".

"Schemas defined by the requests made by the user", "Will replace RESTful interfaces" and "The future of API's" are the key factors why developers consider GraphQL; whereas "Java", "Open source" and "Great community" are the primary reasons why Spring is favored.

GraphQL and Spring are both open source tools. Spring with 30.6K GitHub stars and 19.6K forks on GitHub appears to be more popular than GraphQL with 11.7K GitHub stars and 753 GitHub forks.

Facebook, Instagram, and Twitter are some of the popular companies that use GraphQL, whereas Spring is used by MIT, Zillow, and Intuit. GraphQL has a broader approval, being mentioned in 559 company stacks & 748 developers stacks; compared to Spring, which is listed in 319 company stacks and 184 developer stacks.

What is GraphQL?

GraphQL is a data query language and runtime designed and used at Facebook to request and deliver data to mobile and web apps since 2012.

What is Spring?

A key element of Spring is infrastructural support at the application level: Spring focuses on the "plumbing" of enterprise applications so that teams can focus on application-level business logic, without unnecessary ties to specific deployment environments.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose GraphQL?
Why do developers choose Spring?

Sign up to add, upvote and see more prosMake informed product decisions

What companies use GraphQL?
What companies use Spring?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with GraphQL?
What tools integrate with Spring?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to GraphQL and Spring?
gRPC
gRPC is a modern open source high performance RPC framework that can run in any environment. It can efficiently connect services in and across data centers with pluggable support for load balancing, tracing, health checking...
Falcor
Falcor lets you represent all your remote data sources as a single domain model via a virtual JSON graph. You code the same way no matter where the data is, whether in memory on the client or over the network on the server.
React
Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
graphql.js
Lightest GraphQL client with intelligent features. You can download graphql.js directly, or you can use Bower or NPM.
MongoDB
MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.
See all alternatives
Decisions about GraphQL and Spring
No stack decisions found
Interest over time
Reviews of GraphQL and Spring
No reviews found
How developers use GraphQL and Spring
Avatar of datapile
datapile uses SpringSpring

Spring is another gift rained down by the gods of Open Source Software (a.k.a. Pivotal Labs in this particular case) that just makes sense on all levels.

From Spring Boot, to SpringMVC, the configuration architecture & profile paradigm, Spring Cloud expandability, to the ease with which one can deploy Spring applets as microservices within Docker is an absolute joy.

Avatar of Giovanni Candido da Silva
Giovanni Candido da Silva uses SpringSpring

The core of the application use Spring Stack, to provide services and structure like:

  • Persistence
  • REST
  • Email
  • Security
  • Self contained application with spring boot
  • And many others.
Avatar of jasonmjohnson
jasonmjohnson uses GraphQLGraphQL

GraphQL will be used as the public API for the data persistence layer. It communicates nicely with all other languages and can provide API responses in the format specified in the request.

Avatar of Kang Hyeon Ku
Kang Hyeon Ku uses SpringSpring

๊ทธ๋ƒฅ ๊ฐ„๋‹จํ•œ MVC ์›น ํ”„๋ ˆ์ž„ ์›Œํฌ ์ธ์ค„ ์•Œ์•˜๋Š”๋ฐ ์ •๋ง ๋ชจ๋“ˆํ™”๊ฐ€ ์ž˜ ๋˜์žˆ๊ณ , ์‚ฌ์šฉํ•˜๋‹ค๋ณด๋ฉด ๊ฐœ๋ฐœ์ž์—๊ฒŒ ์ •๋ง ํŽธ๋ฆฌํ•˜๊ฒŒ ๋งŒ๋“ค์–ด ๋†“์•˜๋‹ค. vaildation ๋ถ€๋ถ„์€ ๋”ฐ๋กœ ์ฒ˜๋ฆฌ ํ•  ์ˆ˜ ์žˆ๊ณ , ํŒŒ๋ผ๋ฏธํ„ฐ ๋‹ด๋Š” ๋ณ€์ˆ˜์™€ ๋””ํดํŠธ ๊ฐ’์„ ์ธ์ž๋กœ ์„ค์ •ํ•ด ์ฃผ๋Š” ๋ถ€๋ถ„๋„ ์ฐธ ์ข‹์€ ๊ฒƒ ๊ฐ™๋‹ค. ๋˜ spring-data ๋Š” jpa ํ™œ์šฉํ•ด ๋น ๋ฅด๊ฒŒ ๊ฐœ๋ฐœํ•˜๋Š”๋ฐ ์œ ์šฉํ•˜๋‹ค.

Avatar of Nick De Cooman
Nick De Cooman uses GraphQLGraphQL

Applied GraphQL in a side-project I'm currently working on. Using the Apollo GraphQL implementation for both server-side and React client.

Avatar of ByeongGi
ByeongGi uses SpringSpring
  • SpringFramework ์ค‘ MVC , AOP ๋“ฑ์˜ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ํ™œ์šฉํ•˜์—ฌ ์›น ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜ ํ”„๋กœ์ ํŠธ ๊ตฌ์„ฑ
  • ๊ณตํ†ต ๋กœ์ง ๊ตฌํ˜„ ๋ฐ ๋ณด์•ˆ ์ฒ˜๋ฆฌ ๊ฐ€๋Šฅ

  • Spring5์—์„œ ์ง€์›ํ•˜๋Š” ํ•จ์ˆ˜ํ˜• ํ”„๋กœ๊ทธ๋ž˜๋ฐ ๊ฒฝํ—˜ ์žˆ์Œ

Avatar of Hevelop
Hevelop uses GraphQLGraphQL

From Magento 2.3 GraphQL is provider by a core implementation, this is used to implement PWA frontend.

Avatar of Ralic Lo
Ralic Lo uses SpringSpring

Used Spring Boot and its ORM to interacting with database server for web application development.

Avatar of Told
Told uses GraphQLGraphQL

We use GraphQL as our transport standard for all API calls.

Avatar of Michael Manges
Michael Manges uses GraphQLGraphQL

Connecting my Gatsby site to GraphCMS.

How much does GraphQL cost?
How much does Spring cost?
Pricing unavailable
Pricing unavailable