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

guava

1.2K
193
+ 1
6
MyBatis

206
176
+ 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 StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of guava
Pros of MyBatis
  • 5
    Interface Driven API
  • 1
    Easy to setup
  • 6
    Easy to use
  • 3
    Flexible
  • 3
    Extensions
  • 3
    Integrated with Spring
  • 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 StackShare EnterpriseLearn 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.
    Apache FreeMarker
    It is a "template engine"; a generic tool to generate text output (anything from HTML to auto generated source code) based on templates. It's a Java package, a class library for Java programmers.
    RxJava
    A library for composing asynchronous and event-based programs by using observable sequences for the Java VM.
    Jackson
    It is a suite of data-processing tools for Java (and the JVM platform), including the flagship streaming JSON parser / generator library, matching data-binding library (POJOs to and from JSON) and additional data format modules to process data encoded in Avro, BSON, CBOR, CSV, Smile, (Java) Properties, Protobuf, XML or YAML; and even the large set of data format modules to support data types of widely used data types such as Guava, Joda.
    Project Reactor
    It is a fourth-generation Reactive library for building non-blocking applications on the JVM based on the Reactive Streams Specification. It is a fully non-blocking foundation with efficient demand management. It directly interacts with Java functional API, Completable Future, Stream and Duration.
    See all alternatives