E-Book, Englisch, 481 Seiten, eBook
Vohra Pro MongoDB Development
1. Auflage 2015
ISBN: 978-1-4842-1598-2
Verlag: APRESS
Format: PDF
Kopierschutz: 1 - PDF Watermark
E-Book, Englisch, 481 Seiten, eBook
ISBN: 978-1-4842-1598-2
Verlag: APRESS
Format: PDF
Kopierschutz: 1 - PDF Watermark
Pro MongoDB Development is about MongoDB, a NoSQL database based on the BSON (binary JSON) document model. The book discusses all aspects of using MongoDB in web applications: Java, PHP, Ruby, JavaScript are the most commonly used programming/scripting languages and the book discusses accessing MongoDB database with these languages. The book also discusses using Java EE frameworks Kundera and Spring Data with MongoDB. As NoSQL databases are commonly used with the Hadoop ecosystem the book also discusses using MongoDB with Apache Hive. Migration from other NoSQL databases (Apache Cassandra and Couchbase) and from relational databases (Oracle Database) is also discussed. What You'll Learn:How to use a Java client and MongoDB shellHow to use MongoDB with PHP, Ruby, and Node.js as wellHow to migrate Apache Cassandra tables to MongoDB documents; Couchbase to MongoDB; and transferring data between Oracle and MongoDBHow to use Kundera, Spring Data, and Spring XD with MongoDBHow to load MongoDB data into Oracle Database and integrating MongoDB with Oracle Database in Oracle Data IntegratorAudience:The target audience of the book is NoSQL database developers. Target audience includes Java, PHP and Ruby developers. The book is suitable for an intermediate level course in NoSQL database.
Zielgruppe
Professional/practitioner
Autoren/Hrsg.
Weitere Infos & Material
Section I: Java Client and Shell
1. Using a Java Client with MongoDBSetting the EnvironmentCreating a Java ProjectCreating a BSON Document in MongoDBUsing a Model to Create a BSON Document in MongoDB Getting Data from MongoDBUpdating Data in MongoDBDeleting Data in MongoDB
2. Using the MongoDB ShellSetting the EnvironmentStarting the mongo ShellConnecting to MongoDB from the mongo ShellRunning a Command or Method in mongo ShellGetting Databases InfoCreating a Database InstanceCreating a CollectionAdding a DocumentAdding a Batch of DocumentsSaving a DocumentUpdating a DocumentUpdating Multiple DocumentsFinding One DocumentFinding All DocumentsFinding Selected Fields Using the CursorFinding and Modifying a DocumentRemoving a DocumentDropping a CollectionDropping a Database
Section II-Scripting Languages3. Using MongoDB with PHP
Overview of the MongoDB database DriverSetting the EnvironmentCreating a Connection Getting Collections InfoGetting a CollectionAdding a DocumentAdding Multiple DocumentsAdding a Batch of DocumentsFinding a Single DocumentFinding All DocumentsFinding a Subset of DocumentsUpdating a DocumentUpdating Multiple DocumentsSaving a DocumentRemoving a DocumentDropping a Collection
4. Using MongoDB with Ruby
Overview of the Ruby Driver for MongoDBSetting the EnvironmentCreating a Connection with MongoDBGetting Database InfoCreating a CollectionAdding a Single DocumentAdding Multiple DocumentsFinding a Single DocumentFinding DocumentsUsing Queries for Finding DocumentsFinding and Modifying a DocumentUpdating a DocumentUpdating Multiple DocumentsSaving a DocumentDeleting a Document
5. Using MongoDB with Node.js
Overview of Node Driver for MongoDBSetting the EnvironmentCreating a MongoDB ConnectionCreating a Database Creating a CollectionAdding DocumentsFinding a Single DocumentFinding All DocumentsFinding a Subset of DocumentsUsing the CursorFinding and Modifying a DocumentFinding and Removing a DocumentUpdating a Single DocumentUpdating Multiple DocumentSaving a DocumentRemoving a Document
Section III-Migration6. Migrating a Apache Cassandra Table to a MongoDB DocumentSetting the EnvironmentCreating a Java ProjectCreating a Document in Apache CassandraMigrating the Cassandra Document to MongoDB 7. Migrating Couchbase to MongoDBSetting the EnvironmentCreating a Java ProjectAdding a Document to CouchbaseMigrating Couchbase Document to MongoDB
8. Transferring Data Between Oracle Database and MongoDB Setting the Environment Creating a Oracle Database Table Exporting Oracle Database to a CSV File Importing the CSV File in MongoDB Exporting MongoDB Document as CSV File Importing a CSV File to Oracle Database
Section IV-Java EE
9. Using Kundera with MongoDB
Setting the EnvironmentCreating a MongoDB CollectionCreating a Maven Project in EclipseInstalling the kundera-mongo ModuleCreating a JPA Entity ClassConfiguring JPA in persistence.xml Configuration fileCreating a JPA Client ClassRunning JPA CRUD Operations Creating a Catalog Finding a Catalog Entry using the Entity Class Finding a Catalog Entry using a JPA Query Updating a Catalog Entry Deleting a Catalog EntryThe Kundera Mongo JPA Client ClassRunning the Kundera Mongo JPA Client Class 10. Using Spring Data with MongoDB
Setting the Environment Creating a Maven Project Installing Spring Data MongoDB Configuring JavaConfig Creating a Model Using Spring Data with Couchbase with Template Creating a MongoDB Collection Creating Document Instances Adding a Document Adding a Document Batch Finding a Document by Id Finding One Document Finding All Documents Finding Documents using a Query Updating the First Document Update Multiple Documents Removing Documents Using Spring Data Repositories with MongoDB Document Count Finding Entities from Repository Finding All Documents Finding One Document Saving Entities Saving a Single Document Saving a Batch of Documents Deleting Entities Deleting a Document By Id Deleting All Documents Section V-Hadoop11. Loading MongoDB Data into Oracle Database Overview of Hive Storage Handler for MongoDB Setting the Environment Creating a MongoDB Data Store Creating an External Table in HiveLoading the Hive Table with Oracle Loader for Hadoop12. Integrating MongoDB with Oracle Database in Oracle Data Integrator Setting the Environment Creating the Physical Architecture Creating the Logical Architecture Creating the Data Models Creating the Integration Project Creating the Integration Interface Running the Interface Selecting Integrated Data in Oracle Database Table




