Source: https://seerepo.com/compare/google/guice/vs/spring-projects/spring-boot
Markdown source: https://seerepo.com/compare/google/guice/vs/spring-projects/spring-boot.md
Description: guice and spring-boot share 4 technologies: jakarta.servlet:jakarta.servlet-api, Spring, jakarta.persistence:jakarta.persistence-api, and slf4j-simple. Both are written in Java.

# guice vs spring-boot

guice and spring-boot share 4 technologies: jakarta.servlet:jakarta.servlet-api, Spring, jakarta.persistence:jakarta.persistence-api, and slf4j-simple. Both are written in Java.

- [google/guice](https://seerepo.com/r/google/guice): Guice (pronounced 'juice') is a lightweight dependency injection framework for Java 11 and above, brought to you by Google.
- [spring-projects/spring-boot](https://seerepo.com/r/spring-projects/spring-boot): Spring Boot helps you to create Spring-powered, production-grade applications and services with absolute minimum fuss.

## What they share and what sets them apart

- In common: jakarta.servlet:jakarta.servlet-api, Spring, jakarta.persistence:jakarta.persistence-api, slf4j-simple
- Only in guice: guice, guice-assistedinject, org.apache.felix.framework, aopalliance:aopalliance, jakarta.inject:jakarta.inject-api, com.google.dagger:dagger
- Only in spring-boot: JAX-RS, H2 Database, lettuce-core, Liquibase, MongoDB, r2dbc-postgresql, spring-amqp-client, spring-data-ldap, spring-jms, spring-kafka, spring-r2dbc, spring-rabbit, spring-rabbitmq-client, io.r2dbc:r2dbc-spi, jakarta.jms:jakarta.jms-api, Neo4j, com.zaxxer:HikariCP, com.hazelcast:hazelcast, org.apache.activemq:activemq-client, Couchbase, Flyway, org.springframework.pulsar:spring-pulsar, org.springframework.ldap:spring-ldap-core, io.r2dbc:r2dbc-pool, org.apache.qpid:protonj2-client, grpc-services, jersey-container-servlet, jersey-media-json-jackson, jersey-spring6, jetty-ee11-websocket-jetty-server, org.apache.tomcat.embed:tomcat-embed-websocket, org.jetbrains.kotlin:kotlin-stdlib-jdk8, servlet-api, Spring Boot, spring-data-rest-webmvc, spring-graphql, tomcat-embed-core, tomcat-embed-el, org.springframework.grpc:spring-grpc-core, org.glassfish.jersey.core:jersey-server, org.eclipse.jetty.ee11:jetty-ee11-webapp, org.eclipse.jetty.ee11.websocket:jetty-ee11-websocket-jakarta-server, Thymeleaf, org.eclipse.jetty.compression:jetty-compression-gzip, org.eclipse.jetty.compression:jetty-compression-server, org.springframework.hateoas:spring-hateoas, org.springframework.data:spring-data-commons, spring-data-cassandra, spring-data-couchbase, spring-data-elasticsearch, spring-data-jpa, spring-data-mongodb, spring-data-neo4j, spring-data-r2dbc, org.jooq:jooq, org.hibernate.orm:hibernate-core, spring-security-oauth2-authorization-server, spring-security-oauth2-client, spring-security-saml2-service-provider, spring-session-data-redis, spring-session-jdbc, org.springframework.security:spring-security-crypto, angus-mail, groovy-templates, com.samskivert:jmustache, jakarta.mail:jakarta.mail-api, com.sendgrid:sendgrid-java, org.freemarker:freemarker, org.glassfish.jersey.ext:jersey-bean-validation, jul-to-slf4j, micrometer-jakarta9, micrometer-tracing-bridge-brave, micrometer-tracing-bridge-otel, zipkin-reporter-brave, io.micrometer:micrometer-core, io.micrometer:micrometer-observation, ch.qos.logback:logback-classic, OpenTelemetry, org.apache.logging.log4j:log4j-core, io.micrometer:micrometer-tracing, org.apache.logging.log4j:log4j-api, org.slf4j:slf4j-api, io.micrometer:micrometer-registry-otlp, io.opentelemetry.instrumentation:opentelemetry-logback-appender-1.0

## Side by side

| | guice | spring-boot |
|---|---|---|
| Size | 114,738 lines written, 394 code files | 759,739 lines written, 4,267 code files |
| Who writes it | 0% of its commits signed by AI | 0% of its commits signed by AI. With Claude Code |
| Activity | Last push October 30, 2026, 2,099 commits, 12,731 stars | Last push November 12, 2026, 42,555 commits, 81,902 stars |
| Tests | 229 test files. 53.6% of its code files have a test that imports them | 4,558 test files. 55.8% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, guice or spring-boot?

spring-boot, with 759,739 lines written; guice has 114,738.

The proof: [spring-projects/spring-boot's code at commit 4fac8e8](https://github.com/spring-projects/spring-boot/tree/4fac8e8693ccfa4c06b1b098e64ba844936106dd)

### Which has more GitHub stars, guice or spring-boot?

spring-boot, with 81,902 stars; guice has 12,731.

The proof: [spring-projects/spring-boot on GitHub](https://github.com/spring-projects/spring-boot)

### Which has more tests, guice or spring-boot?

spring-boot, with 4,558 test files; guice has 229.

The proof: [spring-projects/spring-boot's code at commit 4fac8e8](https://github.com/spring-projects/spring-boot/tree/4fac8e8693ccfa4c06b1b098e64ba844936106dd)

### Which was updated more recently, guice or spring-boot?

spring-boot: its last push was on November 12, 2026, and guice's on October 30, 2026.

The proof: [spring-projects/spring-boot's commits on GitHub](https://github.com/spring-projects/spring-boot/commits)

## Sources

- google/guice: Read on November 10, 2026, at commit 6816060 (https://github.com/google/guice/tree/68160608741c653ed6f86dfe5bc1adfa9d766862)
- spring-projects/spring-boot: Read on November 12, 2026, at commit 4fac8e8 (https://github.com/spring-projects/spring-boot/tree/4fac8e8693ccfa4c06b1b098e64ba844936106dd)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
