Get Advice Icon

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

guava

1.2K
193
+ 1
6
MyBatis

225
178
+ 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.

Manage your open source components, licenses, and vulnerabilities
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

269
3.5K
28
3.4K

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?
Manage your open source components, licenses, and vulnerabilities
Learn 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?
    JavaScript
    JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
    Python
    Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
    Node.js
    Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
    HTML5
    HTML5 is a core technology markup language of the Internet used for structuring and presenting content for the World Wide Web. As of October 2014 this is the final and complete fifth revision of the HTML standard of the World Wide Web Consortium (W3C). The previous version, HTML 4, was standardised in 1997.
    PHP
    Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
    See all alternatives