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

guava

323
162
+ 1
6
MyBatis

124
131
+ 1
17
Add tool

guava vs MyBatis: What are the differences?

guava: Google Core Libraries for Java 6+. The Guava project contains several of Google's core libraries that we rely on in our Java-based projects: collections, caching, primitives support, concurrency libraries, common annotations, string processing, I/O, and so forth; MyBatis: SQL Mapper Framework for Java. It is a first class persistence framework with support for custom SQL, stored procedures and advanced mappings. It eliminates almost all of the JDBC code and manual setting of parameters and retrieval of results. It can use simple XML or Annotations for configuration and map primitives, Map interfaces and Java POJOs (Plain Old Java Objects) to database records.

guava and MyBatis can be primarily classified as "Java" tools.

guava and MyBatis are both open source tools. guava with 33K GitHub stars and 7.36K forks on GitHub appears to be more popular than MyBatis with 11.5K GitHub stars and 7.26K GitHub forks.

Zalando, Conceptboard, and RELEX Solutions are some of the popular companies that use guava, whereas MyBatis is used by Jobsrepublic, Luxottica Retail, and Consignet. guava has a broader approval, being mentioned in 23 company stacks & 84 developers stacks; compared to MyBatis, which is listed in 6 company stacks and 16 developer stacks.

Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of guava
Pros of MyBatis
  • 5
    Interface Driven API
  • 1
    Easy to setup
  • 6
    Easy to use
  • 3
    Extensions
  • 3
    Integrated with Spring
  • 3
    Flexible
  • 2
    Data-first support

Sign up to add or upvote prosMake informed product decisions

What is guava?

The Guava project contains several of Google's core libraries that we rely on in our Java-based projects: collections, caching, primitives support, concurrency libraries, common annotations, string processing, I/O, and so forth.

What is MyBatis?

It is a first class persistence framework with support for custom SQL, stored procedures and advanced mappings. It eliminates almost all of the JDBC code and manual setting of parameters and retrieval of results. It can use simple XML or Annotations for configuration and map primitives, Map interfaces and Java POJOs (Plain Old Java Objects) to database records.

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

What companies use guava?
What companies use MyBatis?
See which teams inside your own company are using guava or MyBatis.
Sign up for Private StackShareLearn More

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

What tools integrate with guava?
What tools integrate with MyBatis?
    No integrations found

    Blog Posts

    What are some alternatives to guava and MyBatis?
    Java 8
    It is a revolutionary release of the world’s no 1 development platform. It includes a huge upgrade to the Java programming model and a coordinated evolution of the JVM, Java language, and libraries. Java 8 includes features for productivity, ease of use, improved polyglot programming, security and improved performance.
    RxJava
    A library for composing asynchronous and event-based programs by using observable sequences for the Java VM.
    Quarkus
    It tailors your application for GraalVM and HotSpot. Amazingly fast boot time, incredibly low RSS memory (not just heap size!) offering near instant scale up and high density memory utilization in container orchestration platforms like Kubernetes. We use a technique we call compile time boot.
    Thymeleaf
    It is a modern server-side Java template engine for both web and standalone environments. It is aimed at creating elegant web code while adding powerful features and retaining prototyping abilities.
    Lombok
    It is a java library that automatically plugs into your editor and build tools, spicing up your java. Never write another getter or equals method again, with one annotation your class has a fully featured builder, Automate your logging variables, and much more.
    See all alternatives