cta quote button

Best Hibernate Books to Read

Read More

How Much Does It Cost to Hire Web Developers in Ukraine?

Our pricing is completely transparent: you pay your engineers’ salaries and a flat monthly fee for our services. No hidden charges.

Read More

1. Just Hibernate: A Lightweight Introduction to the Hibernate Framework (2014)

If you’re looking for a short, sweet, and simple introduction (or reintroduction) to Hibernate, this is the book you want. Through clear real-world examples, you’ll learn Hibernate and object-relational mapping from the ground up, starting with the basics. Then you’ll dive into the framework’s moving parts to understand how they work in action.

Storing Java objects in relational databases is usually a challenging and complex task for any Java developer, experienced or not. This book, like others in the Just series, delivers a concise, example-driven tutorial for Java beginners. You’ll gain enough knowledge and confidence to start working on real-world projects with Hibernate.

  • Compare how Jdbc and Hibernate work with object persistence
  • Learn how annotations are used to create Hibernate applications
  • Understand how to persist and retrieve Java data structures
  • Focus on the fundamentals of associations and their mappings
  • Delve into advanced concepts such as caching, inheritance, and types
  • Walk through the Hibernate Query Language Api, with examples
  • Develop Java Persistence Api applications, using Hibernate as the provider
  • Work hands-on with code snippets to understand the technology

Author(s): Madhusudhan Konda

2. Beginning Hibernate: For Hibernate 5 (2016)

Get started with the Hibernate 5 persistence layer and gain a clear introduction to the current standard for object-relational persistence in Java. This updated edition includes the new Hibernate 5.0 framework as well as coverage of NoSQL, MongoDB, and other related technologies, ranging from applications to big data. Beginning Hibernate is ideal if you’re experienced in Java with databases (the traditional, or connected, approach), but new to open-source, lightweight Hibernate.

The book keeps its focus on Hibernate without wasting time on nonessential third-party tools, so you’ll be able to immediately start building transaction-based engines and applications. Experienced authors Joseph Ottinger with Dave Minter and Jeff Linwood provide more in-depth examples than any other book for Hibernate beginners. They present their material in a lively, example-based manner―not a dry, theoretical, hard-to-read fashion.

What You’ll Learn

  • Build enterprise Java-based transaction-type applications that access complex data with Hibernate
  • Work with Hibernate 5 using a present-day build process
  • Use Java 8 features with Hibernate
  • Integrate into the persistence life cycle
  • Map using Java’s annotations
  • Search and query with the new version of Hibernate
  • Integrate with MongoDB using NoSQL
  • Keep track of versioned data with Hibernate Envers
  • Who This Book Is For

    Experienced Java developers interested in learning how to use and apply object-relational persistence in Java and who are new to the Hibernate persistence framework.

    Author(s): Joseph B. Ottinger, Jeff Linwood

    3. Hibernate Tips: More than 70 solutions to common Hibernate problems (2017)

    When you use Hibernate in your projects, you quickly recognize that you need to do more than just add @Entity annotations to your domain model classes. Real-world applications often require advanced mappings, complex queries, custom data types, and caching. Hibernate can do all of that. You just have to know which annotations and APIs you need to use.

    Hibernate Tips: More than 70 solutions to common Hibernate problems show you how to efficiently implement your persistence layer with Hibernate’s basic and advanced features. Each Hibernate tip consists of one or more code samples and an easy-to-follow step-by-step explanation. You can also download an example project with executable test cases for each Hibernate tip.

    This book gives you more than 70 ready-to-use solutions that show how to:

    • Define standard mappings for basic attributes and entity associations.
    • Implement your own attribute mappings and support custom data types.
    • Use Hibernate’s Java 8 support and other proprietary features.
    • Read data from the database with JPQL, Criteria API, and native SQL queries.
    • Call stored procedures and database functions.

    Get your copy of Hibernate Tips: More than 70 solutions to common Hibernate problems now and implement your persistence layer with ease.

    Author(s): Thorben Janssen, Steve Ebersole

    4. Groovy in Action: Covers Groovy 2.4 (2015)

    Summary

    Groovy in Action, Second Edition is a thoroughly revised, comprehensive guide to Groovy programming. It introduces Java developers to the dynamic features that Groovy provides, and shows how to apply Groovy to a range of tasks including building new apps, integration with existing code, and DSL development. Covers Groovy 2.4.

    Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

    About the Technology

    In the last ten years, Groovy has become an integral part of a Java developer’s toolbox. Its comfortable, common-sense design, seamless integration with Java, and rich ecosystem that includes the Grails web framework, the Gradle build system, and Spock testing platform have created a large Groovy community

    About the Book

    Groovy in Action, Second Edition is the undisputed definitive reference on the Groovy language. Written by core members of the Groovy language team, this book presents Groovy like no other can—from the inside out. With relevant examples, careful explanations of Groovy’s key concepts and features, and insightful coverage of how to use Groovy in-production tasks, including building new applications, integration with existing code, and DSL development, this is the only book you’ll need. Updated for Groovy 2.4.

    Some experience with Java or another programming language is helpful. No Groovy experience is assumed.

    What’s Inside

    • Comprehensive coverage of Groovy 2.4 including language features, libraries, and AST transformations
    • Dynamic, static, and extensible typing
    • Concurrency: actors, data parallelism, and dataflow
    • Applying Groovy: Java integration, XML, SQL, testing, and domain-specific language support
    • Hundreds of reusable examples

    About the Authors

    Authors Dierk König, Paul King, Guillaume Laforge, Hamlet D’Arcy, Cédric Champeau, Erik Pragt, and Jon Skeet are intimately involved in the creation and ongoing development of the Groovy language and its ecosystem.

    Table of Contents

      PART 1 THE GROOVY LANGUAGE
    1. Your way to Groovy
    2. Overture: Groovy basics
    3. Simple Groovy datatypes
    4. Collective Groovy datatypes
    5. Working with closures
    6. Groovy control structures
    7. Object orientation, Groovy style
    8. Dynamic programming with Groovy
    9. Compile-time metaprogramming and AST transformations
    10. Groovy as a static language
    11. PART 2 AROUND THE GROOVY LIBRARY
    12. Working with builders
    13. Working with the GDK
    14. Database programming with Groovy
    15. Working with XML and JSON
    16. Interacting with Web Services
    17. Integrating Groovy
    18. PART 3 APPLIED GROOVY
    19. Unit testing with Groovy
    20. Concurrent Groovy with GPars
    21. Domain-specific languages
    22. The Groovy ecosystem

    Author(s): Dierk König, Paul King

    5. Java Persistence with Hibernate (2015)

    Summary

    Java Persistence with Hibernate, Second Edition explores Hibernate by developing an application that ties together hundreds of individual examples. In this revised edition, authors Christian Bauer, Gavin King, and Gary Gregory cover Hibernate 5 in detail with the Java Persistence 2.1 standard (JSR 338). All examples have been updated for the latest Hibernate and Java EE specification versions.

    About the Technology

    Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

    Persistence—the ability of data to outlive an instance of a program—is central to modern applications. Hibernate, the most popular Java persistence tool, offers automatic and transparent object/relational mapping, making it a snap to work with SQL databases in Java applications.

    About the Book

    Java Persistence with Hibernate, Second Edition explores Hibernate by developing an application that ties together hundreds of individual examples. You’ll immediately dig into the rich programming model of Hibernate, working through mappings, queries, fetching strategies, transactions, conversations, caching, and more. Along the way you’ll find a well-illustrated discussion of best practices in database design and optimization techniques. In this revised edition, authors Christian Bauer, Gavin King, and Gary Gregory cover Hibernate 5 in detail with the Java Persistence 2.1 standard (JSR 338). All examples have been updated for the latest Hibernate and Java EE specification versions.

    What’s Inside

    • Object/relational mapping concepts
    • Efficient database application design
    • Comprehensive Hibernate and Java Persistence reference
    • Integration of Java Persistence with EJB, CDI, JSF, and JAX-RS * Unmatched breadth and depth

    About the Reader

    The book assumes a working knowledge of Java.

    About the Authors

    Christian Bauer is a member of the Hibernate developer team and a trainer and consultant. Gavin King is the founder of the Hibernate project and a member of the Java Persistence expert group (JSR 220). Gary Gregory is a principal software engineer working on application servers and legacy integration.

    Table of Contents

      PART 1 GETTING STARTED WITH ORM
    1. Understanding object/relational persistence
    2. Starting a project
    3. Domain models and metadata
    4. PART 2 MAPPING STRATEGIES
    5. Mapping persistent classes
    6. Mapping value types
    7. Mapping inheritance
    8. Mapping collections and entity associations
    9. Advanced entity association mappings
    10. Complex and legacy schemas
    11. PART 3 TRANSACTIONAL DATA PROCESSING
    12. Managing data
    13. Transactions and concurrency
    14. Fetch plans, strategies, and profiles
    15. Filtering data
    16. PART 4 WRITING QUERIES
    17. Creating and executing queries
    18. The query languages
    19. Advanced query options
    20. Customizing SQL

    Author(s): Christian Bauer, Gavin King

    6. Portlets in Action: Covers Portlet 2.0, Spring 3.0, Portlet MVC, WSRP 2.0, Portlet Bridges, Ajax, Comet, Liferay, Gateln, Spring JDBC and Hibernate (2011)

    Summary

    Portlets in Action is a comprehensive, hands-on guide to building portlet-driven applications in Java. Covers Portlet 2.0, Spring 3.0 Portlet MVC, WSRP 2.0, Portlet Bridges, Ajax, Comet, Liferay, GateIn, Spring JDBC, and Hibernate.

    About the Technology

    Portlets are the small Java applications that run within a portal. Good portlets work independently and also communicate fluently with the portal, other portlets, as well as outside servers and information sources. Using Java’s Portlet 2.0 API and portal servers like Liferay, you can build flexible, stable business portals without the design overhead required by other application styles.

    About the Book

    Portlets in Action is a comprehensive guide to building portlet-driven applications in Java. It teaches portlet development hands-on as you develop a portal that incorporates most key features of the Portlet 2.0 API. And because portals and portlets are so flexible, the accompanying source code can be easily adapted and reused. Along the way, you’ll learn how to work with key web frameworks like Spring 3.0 Portlet MVC and DWR.

    Written for Java developers. No prior experience with portlets required

    Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.

    What’s Inside

    • Complete coverage of the Portlet 2.0 API
    • Spring 3.0 Portlet MVC and the Liferay portal server
    • Portal design best practices
    • Reusable source code

    ================================

    Table of Contents

      PART 1 GETTING STARTED WITH PORTLET DEVELOPMENT
    1. Introducing portals and portlets
    2. The portlet lifecycle
    3. Portlet 2.0 API – portlet objects and container-runtime options
    4. Portlet 2.0 API – caching, security, and localization
    5. Building your own portal
    6. Using the portlet tag library
    7. PART 2 DEVELOPING PORTLETS USING SPRING AND HIBERNATE
    8. Getting started with Spring Portlet MVC
    9. Annotation-driven development with Spring
    10. Integrating portlets with databases
    11. PART 3 ADVANCED PORTLET DEVELOPMENT
    12. Personalizing portlets
    13. Communicating with other portlets
    14. Ajaxing portlets
    15. Reusable logic with portlet filters
    16. Portlet bridges
    17. Web Services for Remote Portlets (WSRP)

    Author(s): Ashish Sarin

    7. High-Performance Java Persistence (2016)

    A high-performance data access layer must resonate with the underlying database system. Knowing the inner workings of a relational database and the data access frameworks in use can make the difference between a high-performance enterprise application and one that barely crawls.

    This book is a journey into Java data access performance tuning. From connection management, to batch updates, fetch sizes and concurrency control mechanisms, it unravels the inner workings of the most common Java data access frameworks.

    The first part aims to reduce the gap between application developers and database administrators. For this reason, it covers both JDBC and the database fundamentals that are of paramount importance when reducing transaction response times. In this first part, you'll learn about connection management, batch updates, statement caching, result set fetching and database transactions.

    The second part demonstrates how you can take advantage of JPA and Hibernate without compromising application performance. In this second part, you'll learn about the most efficient Hibernate mappings (basic types, associations, inheritance), fetching best practices, caching and concurrency control mechanisms.

    The third part is dedicated to jOOQ and its powerful type-safe querying capabilities, like window functions, common table expressions, upsert, stored procedures and database functions.

    Author(s): Vlad Mihalcea

    8. Hibernate, Spring & Struts Interview Questions You’ll Most Likely Be Asked (Job Interview Questions Series) (Volume 7) (2016)

    • 300 Hibernate, Spring & Struts Interview Questions

    • 78 HR Interview Questions

    • Real life scenario based questions

    • Strategies to respond to interview questions

    • 2 Aptitude Tests


    Hibernate, Spring & Struts Interview Questions You’ll Most Likely Be Asked is a perfect companion to stand ahead above the rest in today’s competitive job market. Rather than going through comprehensive, textbook-sized reference guides, this book includes only the information required immediately for job search to build an IT career. This book puts the interviewee in the driver’s seat and helps them steer their way to impress the interviewer.

    The following is included in this book:
    (a) 300 Hibernate, Spring & Struts Interview Questions, Answers and proven strategies for getting hired as an IT professional

    (b) Dozens of examples to respond to interview questions

    (c) 78 HR Questions with Answers and proven strategies to give specific, impressive, answers that help nail the interviews

    (d) 2 Aptitude Tests download available on www.vibrantpublishers.com

    Author(s): Vibrant Publishers

    9. Web Application with Spring Annotation-Driven Configuration: Rapidly develop lightweight Java web applications using Spring with annotations (2016)

    This book is intended to be used as a reference for any Java developer who needs short but concise explanation and code snippets to solve their specific day-by-day problems, or simply willing to create lightweight Java Web Application using Spring Framework focusing on annotation-driven configuration. All the addressed chapters and code snippets within it, are available as full runnable web application through the examples. To summarize, what is used here is Java 8, Spring Framework version 4.3.3, Servlet specification 3.1, Log4j 2.6, Maven model version 4, Hibernate 5.1.2, JPA 2.1, Eclipse Neon and Tomcat 8.

    Author(s): Mr Juliano Alves Cassoli

    10. Full Stack Devloper SpringMVC,Spring ,Hibernate Project Code: End to End Devlopment (2017)

    Full Stack Devloper SpringMVC,Spring ,Hibernate Project Code 1. nTier n Layer Ardhitecture 2.End to End Devlopment From Scratch, 3.Applieed Front Controller Design Pattern , MVC Design Pattern , Factory Design Pattern , DAO Design Pattern , . View helper J2EE design pattern, Service to worker and dispatcher view J2EE design pattern, Bridge design pattern, . Proxy design pattern, singleton design pattern, Abstract factory pattern, Template method pattern, Observer pattern, Command pattern, SessionFactory, TransactionFactory in n Layer Architecture.

    Author(s): K, Amit

    11. Java Persistence with Hibernate: Revised Edition of Hibernate in Action (2006)

    Persistence-the ability of data to outlive an instance of a program-is central to modern applications. Hibernate, the most popular Java persistence tool, provides automatic and transparent object/relational mapping making it a snap to work with SQL databases in Java applications. Hibernate applications are cheaper, more portable, and more resilient to change. Because it conforms to the new EJB 3.0 and Java Persistence 1.0 standard, Hibernate allows the developer to seamlessly create efficient, scalable Java EE applications.

    Java Persistence with Hibernate explores Hibernate by developing an application that ties together hundreds of individual examples. You’ll immediately dig into the rich programming model of Hibernate 3.2 and Java Persistence, working through queries, fetching strategies, caching, transactions, conversations, and more. You’ll also appreciate the well-illustrated discussion of best practices in database design, object/relational mapping, and optimization techniques.

    In this revised edition of the bestselling Hibernate in Action, authors Christian Bauer and Gavin King-the founder of the Hibernate project-cover Hibernate 3.2 in detail along with the EJB 3.0 and Java Persistence standard.

    Author(s): Christian Bauer, Gavin King

    12. Hibernate Made Easy: Simplified Data Persistence with Hibernate and JPA (Java Persistence API) Annotations (2008)

    If HIBERNATE makes Java-based, data-persistence, so incredibly easy to perform, then why do all of the most popular resources make Hibernate technology so darned impossible to learn? Well, learning Hibernate doesn’t have to be hard anymore; not with a copy of HIBERNATE MADE EASY by your side! Cameron McKenzie’s, Hibernate Made Easy, finally brings to light the idea that a technology that is fun and easy to use, should also be fun and easy to learn. Building upon simple, straight forward examples that make even the most difficult topics easy to understand, this book explores all of the key concepts that you absolutely must know in order to start effectively leveraging the Hibernate framework. Discarding the old, XML based, -hbm- mapping files, Hibernate Made Easy will show you how to simplify your designs by leveraging both Hibernate and JPA annotations together, making your applications more manageable, maintainable, and most importantly, faster and easier to develop! From the fundamental, Create, Retrieve, Update & Delete operations, to the mapping of complex inheritance hierarchies, Hibernate Made Easy explains it, using a friendly and conversational style that reads less like a technical book, and more like an informative conversation with a Hibernate expert. And while the examples in the book are incredibly easy to follow and reproduce (—there are no code errors in this book — that is guaranteed!—), the concepts this book will help you learn will empower you to solve even the most daunting programming challenges. From managing transactions over an HTTP based request-response cycle, to implementing highly advanced Data Access Objects (DAOs) with Java 5 generics, this book will teach you what you really need to know about Java based persistence with Hibernate. If you want to learn Hibernate, if you want to learn Hibernate quickly, and you want it explained in a manner that is easy to follow and understand, there really is no other choice. Get a copy of Cameron McKenzie’s Hibernate Made Easy today! For more information, check out hiberbook.com

    Author(s): Cameron Wallace McKenzie, Kerri Sheehan