MongoDB for Java developers : design, build, and deliver efficient Java applications using the most advanced NoSQL database /

This book is for Java developers and architects who want to learn how to develop Java applications using the most popular NoSQL solution and the use cases of it.

Saved in:
Bibliographic Details
Main Author: Marchioni, Francesco
Format: Electronic eBook
Language:English
Published: Birmingham, UK : Packt, 2015.
Series:Community experience distilled.
Subjects:
Online Access: Full text (Wentworth users only)
Local Note:ProQuest Ebook Central
Table of Contents:
  • Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Introduction to MongoDB; Getting into the NoSQL movement; Comparing RDBMS and NoSQL databases; Living without transactions; Managing read-write concurrency; MongoDB core elements; The heart of MongoDB
  • the document; Understanding how MongoDB stores data; Data types accepted in documents; Installing and starting MongoDB; Installing MongoDB on Windows; Installing MongoDB on Linux; MongoDB start up options; Troubleshooting MongoDB installation; Mongo tools
  • Introduction to the MongoDB shellInserting documents; Querying documents; Choosing the keys to return; Using ranges in your queries; Using logical operators to query data; Updating documents; Deleting data; Beyond basic data types; Arrays; Embedded documents; Some useful functions; Securing database access; Summary; Chapter 2: Getting Started with Java Driver for MongoDB; Getting the Mongo JDBC driver; Creating your first project; Creating a new Java project; Handling authentication; Inserting a document; Creating embedded documents; Inserting an array of data; Using your own ID in documents
  • Querying dataRestricting the search to the first document; Querying the number of documents in a collection; Eager fetching of data using DBCursor; Filtering through the records; Updating documents; Deleting documents; Deleting a set of documents; Performing operations on collections; Listing collections; Dropping a collection; Using the MongoDB Java driver version 3; Running the HelloWorld class with driver v. 3; Managing collections; Inserting data into the database; Inserting embedded documents; Inserting multiple documents; Querying documents; Filtering through documents
  • Updating documentsDeleting documents; Summary; Chapter 3: MongoDB CRUD beyond the Basics; Seeing MongoDB through the Java lens; Extending the MongoDB core classes; Using the Gson API with MongoDB; Downloading the Gson API; Using Gson to map a MongoDB document; Inserting Java objects as a document; Mapping embedded documents; Custom field names in your Java classes; Mapping complex BSON types; Using indexes in your applications; Defining an index in your Java classes; Using compound indexes; Using text indexes in your documents; Coding bulk operations
  • Comparing plain inserts with BulkWriteOperationsSummary; Chapter 4: MongoDB in the Java EE 7 Enterprise Environment; Entering into the Java EE land; Getting a Java EE Container; Downloading WildFly; Starting WildFly and testing the installation; Designing our application; Designing the schema; Building up the Enterprise project with NetBeans; Configuring WildFly on NetBeans; Creating our project; Adding Java classes; Compiling and deploying the project; Compiling and deploying from the shell; Running the application; Exposing the application to external clients