Design, build, and deliver efficient Java applications using the most advanced NoSQL database
About This Book
- Reuse the skills you have acquired through Hibernate or Spring to promote your applications to use NoSQL storage
- Explore the list of libraries that are already available to assist you in developing Java EE applications with MongoDB
- A step-by-step tutorial to create leaner and faster applications using MongoDB
Who This Book Is For
This book is for Java developers and architects that want to learn how to develop Java applications using the most popular NoSQL solution and the use cases of it.
What You Will Learn
- Install MongoDB and its client tools
- Set up a basic project that uses a MongoDB driver and perform CRUD operations with it
- Explore simple strategies for mapping Mongo documents with Java classes
- Use bulk operations to speed up the creation of massive document
- Design and develop a Java Enterprise application that uses MongoDB as storage
- Develop and deploy an application that uses Hibernate OGM as a persistence layer for your entities
- Use Spring Data and Spring Boot to leverage micro-services using MongoDB as storage
The NoSQL movement is growing in relevance, attracting more and more developers. The MongoDB database is a well-recognized rising star in the NoSQL world. It is a document database, which allows data persistence and enables you to query data in a nested state without any schema constraint and complex joins between documents.
This book provides all the knowledge you need to make MongoDB fit in your application schema, at the best of its capabilities. It starts from a basic introduction to the driver that can be used to perform some low-level interaction with the storage. Then it moves to use different patterns to abstract the persistence layer into your applications, starting from the flexible Google JSON library to the Hibernate OGM Framework and finally landing on the Spring data framework.
By the end of this book, you will know everything you need to use MongoDB in your Java applications.
Style and approach
A simple, tutorial-like approach is used to explain the concepts contained in the book in the simplest possible way. The chapters of this book are arranged so that complexity increases progressively as you gain more experience from the earlier chapters.