SlideShare a Scribd company logo
1 of 27
www.edureka.co/persistence-with-hibernate
PERSISTENCE WITH HIBERNATE
View Persistence With Hibernate Course at: http://www.edureka.co/persistence-with-hibernate
For Queries:
Post on Twitter @edurekaIN: #askEdureka
Post on Facebook /edurekaIN
For more details please contact us:
US : 1800 275 9730 (toll free)
INDIA : +91 88808 62004
Email Us : sales@edureka.co
Slide 2 www.edureka.co/persistence-with-hibernate
At the end of this module, you will be able to understand:
Objectives
 Java Enterprise
 Java Enterprise Architecture
 Hibernate
 Java EE with Hibernate
 ORM using Hibernate
 Lucene
 Lucene search and index
 Lucene use case
 NoSQL
 NoSQL v/s SQL
 NoSQL with OGM
 NoSQL use case
 Job Trends
Slide 3 www.edureka.co/persistence-with-hibernate
 Provides collection of APIs and runtime environments to support Enterprise applications
 Community driven software
 Defines standard specifications which can be implemented by vendors
 Provides services for:
» Persistence
» Messaging
» Web
» Transactions
 Web services support using JAXRS(Rest) and JAXWS(SOAP)
JAVAEE – Enterprise Edition
Slide 4 www.edureka.co/persistence-with-hibernate
JAVA Enterprise Architecture
Slide 5 www.edureka.co/persistence-with-hibernate
Hibernate
 An Object Relational Mapping library of java language for object persistence and SQL databases
 Transparent persistence of java objects with relational database
 Provides query language in synch with SQL
 Open source library
 Provides solutions for object relational impedance mismatch problems
HIBERNATE
Slide 6 www.edureka.co/persistence-with-hibernate
JavaEE with Hibernate
HIBERNATE
 Objective is to solve the complexities existed in EJB2 persistence
architecture
 Provided an effective Java persistence API enabling hibernate to work
with different databases easily
 Annotations provide meta data about table column definitions at the
model level
 Entities are developed independent of the underlying database
Derby
Mysql
Oracle
Slide 7 www.edureka.co/persistence-with-hibernate
ORM using Hibernate
 Provides a simple API for storing and retrieving Java objects directly to and from the database
 Non-intrusive: No need to follow specific rules or design patterns
 Transparent: Your object model is unaware
Java Object:
int id;
String name;
String getName()
int getId()
void setName(String)
SQL Table:
id [int] primary key,
name [varchar(50)]
Magic Happens Here
(O/R Mapper – i.e. Hibernate)
Slide 8 www.edureka.co/persistence-with-hibernate
Lucene – Full Text Search
 An Apache library
 Full text search capability
 Developed on java API
 Query results are returned by relevance
 Fast, flexible and stable
 Easy to integrate lucence search functionality to application
Slide 9 www.edureka.co/persistence-with-hibernate
Lucene – Indexing
 One of the most base functionality of Lucene
 Fields in the documents are analyzed by the IndexWriter
 Creates/Updates the indexes
 Indexes created/updated are equivalently stored/updated in directory
Document IndexWriter Directory
Slide 10 www.edureka.co/persistence-with-hibernate
Lucene – Search
 Search operation is basically carried via IndexSearcher
 Directory having indexes are passed to IndexSearcher
 IndexSearcher reads the indexes in the directory with the help of IndexReader
 Query to search is created using the QueryParser
 Search performed with IndexSearcher against the query created by QueryParser
 IndexSearcher returns TopDocs which contains the complete search details
TopDocsIndexSearcherQueryParser
IndexReader Directory
Slide 11 www.edureka.co/persistence-with-hibernate
Use-Case of Search
 Lucence provides very efficient search capabilities on file system
 Hibernate Search built on top of the Lucence search engine to address the short comings of lucence in domain
object models
 Similarly to Hibernate which has been built in top of the SQL databases, Hibernate search built on top of Lucence
 Hibernate address the short comings of lucence in domain object models with annotations
 Manages entities when query made to database or as lucence query to index
Slide 12 www.edureka.co/persistence-with-hibernate
Use-Case of Lucene Search (Contd.)
How hibernate can perform
search on the database with
Lucene as Lucene can do
effective searching on file system
Slide 13 www.edureka.co/persistence-with-hibernate
Use-Case of Lucene Search (Contd.)
Hibernate
+
Hibernate Search
Database
Lucence
(Index)
Search Request
Slide 14 www.edureka.co/persistence-with-hibernate
DEMO - LUCENCE APPLICATION
Slide 15 www.edureka.co/persistence-with-hibernate
NoSQL
What is NoSQL?
 Not Only SQL
 Performs storage and retrieval of data in relational databases other than tabular format
 Extensively used in big data domain
 Lacks support for ACID
 Can handle structured, semi structured and unstructured data
Slide 16 www.edureka.co/persistence-with-hibernate
NoSQL v/s SQL
SQL NoSQL
SCALING SQL relational databases multiple servers
are used for database load resulting in
expensive approach
NoSQL databases can scale horizontally
with the help of nodes
BIG DATA Have limitations in handling huge data
volume
Can handle huge volume of data in a
distributed database approach
Schema Can be changed any time Changing schema is always a challenge
once defined
Server Cost Proprietary servers and storage systems
are expensive
Use of cheap commodity hardware
Slide 17 www.edureka.co/persistence-with-hibernate
Hibernate OGM
 OGM – Object Grid Mapper
 It provides Java Persistence (JPA) support for NoSQL solutions
 Object Relational Mapping for NoSQL Databases
 Provides support for most of the NoSQL database types
 Scaling of relational databases with a NoSQL front end and with no change in domain model
HIBERNATE OGM
Slide 18 www.edureka.co/persistence-with-hibernate
Use-Case of NoSQL
How hibernate can perform no sql
on the underlying existing models
of the database.
Slide 19 www.edureka.co/persistence-with-hibernate
Use-Case of NoSQL (Contd.)
Slide 20 www.edureka.co/persistence-with-hibernate
DEMO - OGM with Mongo
Slide 21 www.edureka.co/persistence-with-hibernate
Hibernate Skills
Hibernate Tools – Enables RDBMS mappings & associations with domain objects, hence should have knowledge on
databases
SQL Skills – Demonstrates the traditional SQL skills to understand table relations
Coding Skills – Should possess java coding skills in using annotations & xml mappings for domain objects
OOP Skills – Should possess Object oriented programming skills to deal with Hibernate inheritance and polymorphism
Skills Products
Database Mysql, Oracle or any RDBMS vendor
Coding Java
Configuration Management Eclipse, Hibernate tools
SQL Mysql, Oracle or any RDBMS vendor
Hibernate Skill Matrix
Slide 22 www.edureka.co/persistence-with-hibernate
Hibernate – Job Trends
Slide 23 www.edureka.co/persistence-with-hibernate
20% Discount on Persistence with Hibernate Course
Offer valid only for 14th Feb 2015 Batch
20%
OFF
You can avail the above discount by using this link http://goo.gl/rPG3iw
Questions
Twitter @edurekaIN, Facebook /edurekaIN, use #askEdureka for Questions www.edureka.co/persistence-with-hibernateSlide 24
Slide 25 www.edureka.co/persistence-with-hibernate
Course Topics
 Module 1
» Introduction to ORM & Hibernate
 Module 2
» Persistence and Session Factory
 Module 3
» Mapping , Inheritance and Types
 Module 4
» Criteria and Query Language
 Module 5
» Transactions ,Filter and Performance
 Module 6
» Search and Validation Framework
 Module 7
» OGM, No Sql and Spring
 Module 8
» Project
LIVE Online Class
Class Recording in LMS
24/7 Post Class Support
Module Wise Quiz
Project Work
Verifiable Certificate
Slide 26 www.edureka.co/persistence-with-hibernate
How it Works?
Webinar: Persistence with Hibernate - Portal Development & Text Searching with Hibernate

More Related Content

What's hot

IRJET- Review on Java Database Connectivity
IRJET- Review on Java Database ConnectivityIRJET- Review on Java Database Connectivity
IRJET- Review on Java Database ConnectivityIRJET Journal
 
7) packaging and deployment
7) packaging and deployment7) packaging and deployment
7) packaging and deploymenttechbed
 
Iphone programming: Core Data Tutorial for iOS
Iphone programming: Core Data Tutorial for iOSIphone programming: Core Data Tutorial for iOS
Iphone programming: Core Data Tutorial for iOSKenny Nguyen
 
DSC - Shared Preferences and Room
DSC - Shared Preferences and RoomDSC - Shared Preferences and Room
DSC - Shared Preferences and RoomAgustinus Theodorus
 

What's hot (10)

IRJET- Review on Java Database Connectivity
IRJET- Review on Java Database ConnectivityIRJET- Review on Java Database Connectivity
IRJET- Review on Java Database Connectivity
 
Overview of JEE Technology
Overview of JEE TechnologyOverview of JEE Technology
Overview of JEE Technology
 
Hibernate III
Hibernate IIIHibernate III
Hibernate III
 
JDBC-Introduction
JDBC-IntroductionJDBC-Introduction
JDBC-Introduction
 
7) packaging and deployment
7) packaging and deployment7) packaging and deployment
7) packaging and deployment
 
Iphone programming: Core Data Tutorial for iOS
Iphone programming: Core Data Tutorial for iOSIphone programming: Core Data Tutorial for iOS
Iphone programming: Core Data Tutorial for iOS
 
jdbc document
jdbc documentjdbc document
jdbc document
 
Struts notes
Struts notesStruts notes
Struts notes
 
DSC - Shared Preferences and Room
DSC - Shared Preferences and RoomDSC - Shared Preferences and Room
DSC - Shared Preferences and Room
 
Ebook7
Ebook7Ebook7
Ebook7
 

Viewers also liked

Effective Persistence Using ORM With Hibernate
Effective Persistence Using ORM With HibernateEffective Persistence Using ORM With Hibernate
Effective Persistence Using ORM With HibernateEdureka!
 
AWS April Webinar Series - Getting Started with Amazon EC2 Container Service
AWS April Webinar Series - Getting Started with Amazon EC2 Container ServiceAWS April Webinar Series - Getting Started with Amazon EC2 Container Service
AWS April Webinar Series - Getting Started with Amazon EC2 Container ServiceAmazon Web Services
 
Building Web Application Using Spring Framework
Building Web Application Using Spring FrameworkBuilding Web Application Using Spring Framework
Building Web Application Using Spring FrameworkEdureka!
 
Predictive analysis can help you combat Employee Attrition ! Learn how?
Predictive analysis can help you combat Employee Attrition ! Learn how?Predictive analysis can help you combat Employee Attrition ! Learn how?
Predictive analysis can help you combat Employee Attrition ! Learn how?Edureka!
 
February 2016 Webinar Series - EC2 Container Service Deep Dive
February 2016 Webinar Series - EC2 Container Service Deep Dive February 2016 Webinar Series - EC2 Container Service Deep Dive
February 2016 Webinar Series - EC2 Container Service Deep Dive Amazon Web Services
 

Viewers also liked (6)

Effective Persistence Using ORM With Hibernate
Effective Persistence Using ORM With HibernateEffective Persistence Using ORM With Hibernate
Effective Persistence Using ORM With Hibernate
 
AWS April Webinar Series - Getting Started with Amazon EC2 Container Service
AWS April Webinar Series - Getting Started with Amazon EC2 Container ServiceAWS April Webinar Series - Getting Started with Amazon EC2 Container Service
AWS April Webinar Series - Getting Started with Amazon EC2 Container Service
 
Masterclass Webinar: Amazon EC2
Masterclass Webinar: Amazon EC2Masterclass Webinar: Amazon EC2
Masterclass Webinar: Amazon EC2
 
Building Web Application Using Spring Framework
Building Web Application Using Spring FrameworkBuilding Web Application Using Spring Framework
Building Web Application Using Spring Framework
 
Predictive analysis can help you combat Employee Attrition ! Learn how?
Predictive analysis can help you combat Employee Attrition ! Learn how?Predictive analysis can help you combat Employee Attrition ! Learn how?
Predictive analysis can help you combat Employee Attrition ! Learn how?
 
February 2016 Webinar Series - EC2 Container Service Deep Dive
February 2016 Webinar Series - EC2 Container Service Deep Dive February 2016 Webinar Series - EC2 Container Service Deep Dive
February 2016 Webinar Series - EC2 Container Service Deep Dive
 

Similar to Webinar: Persistence with Hibernate - Portal Development & Text Searching with Hibernate

Hibernate Interview Questions | Edureka
Hibernate Interview Questions | EdurekaHibernate Interview Questions | Edureka
Hibernate Interview Questions | EdurekaEdureka!
 
New-Age Search through Apache Solr
New-Age Search through Apache SolrNew-Age Search through Apache Solr
New-Age Search through Apache SolrEdureka!
 
Leverage Hibernate and Spring Features Together
Leverage Hibernate and Spring Features TogetherLeverage Hibernate and Spring Features Together
Leverage Hibernate and Spring Features TogetherEdureka!
 
New-Age Search through Apache Solr
New-Age Search through Apache SolrNew-Age Search through Apache Solr
New-Age Search through Apache SolrEdureka!
 
Scaling the Content Repository with Elasticsearch
Scaling the Content Repository with ElasticsearchScaling the Content Repository with Elasticsearch
Scaling the Content Repository with ElasticsearchNuxeo
 
Rollin onj Rubyv3
Rollin onj Rubyv3Rollin onj Rubyv3
Rollin onj Rubyv3Oracle
 
Free Hibernate Tutorial | VirtualNuggets
Free Hibernate Tutorial  | VirtualNuggetsFree Hibernate Tutorial  | VirtualNuggets
Free Hibernate Tutorial | VirtualNuggetsVirtual Nuggets
 
Daniel Rivera .NET Portfolio
Daniel Rivera .NET PortfolioDaniel Rivera .NET Portfolio
Daniel Rivera .NET Portfoliodanieldrrivera
 
Java Hibernate Programming with Architecture Diagram and Example
Java Hibernate Programming with Architecture Diagram and ExampleJava Hibernate Programming with Architecture Diagram and Example
Java Hibernate Programming with Architecture Diagram and Examplekamal kotecha
 
HBase Vs Cassandra Vs MongoDB - Choosing the right NoSQL database
HBase Vs Cassandra Vs MongoDB - Choosing the right NoSQL databaseHBase Vs Cassandra Vs MongoDB - Choosing the right NoSQL database
HBase Vs Cassandra Vs MongoDB - Choosing the right NoSQL databaseEdureka!
 
Webinar: Spring Framework - Introduction to Spring WebMVC & Spring with BigData
Webinar: Spring Framework - Introduction to Spring WebMVC & Spring with BigData Webinar: Spring Framework - Introduction to Spring WebMVC & Spring with BigData
Webinar: Spring Framework - Introduction to Spring WebMVC & Spring with BigData Edureka!
 
Developing Java Web Applications
Developing Java Web ApplicationsDeveloping Java Web Applications
Developing Java Web Applicationshchen1
 
Getting Started with Spring Framework
Getting Started with Spring FrameworkGetting Started with Spring Framework
Getting Started with Spring FrameworkEdureka!
 
Building Restful Web App Rapidly in CakePHP
Building Restful Web App Rapidly in CakePHPBuilding Restful Web App Rapidly in CakePHP
Building Restful Web App Rapidly in CakePHPEdureka!
 
Big Data Processing with Spark and Scala
Big Data Processing with Spark and Scala Big Data Processing with Spark and Scala
Big Data Processing with Spark and Scala Edureka!
 
Apache Solr-Webinar
Apache Solr-WebinarApache Solr-Webinar
Apache Solr-WebinarEdureka!
 

Similar to Webinar: Persistence with Hibernate - Portal Development & Text Searching with Hibernate (20)

Hibernate Interview Questions | Edureka
Hibernate Interview Questions | EdurekaHibernate Interview Questions | Edureka
Hibernate Interview Questions | Edureka
 
New-Age Search through Apache Solr
New-Age Search through Apache SolrNew-Age Search through Apache Solr
New-Age Search through Apache Solr
 
Leverage Hibernate and Spring Features Together
Leverage Hibernate and Spring Features TogetherLeverage Hibernate and Spring Features Together
Leverage Hibernate and Spring Features Together
 
New-Age Search through Apache Solr
New-Age Search through Apache SolrNew-Age Search through Apache Solr
New-Age Search through Apache Solr
 
Scaling the Content Repository with Elasticsearch
Scaling the Content Repository with ElasticsearchScaling the Content Repository with Elasticsearch
Scaling the Content Repository with Elasticsearch
 
Rollin onj Rubyv3
Rollin onj Rubyv3Rollin onj Rubyv3
Rollin onj Rubyv3
 
Free Hibernate Tutorial | VirtualNuggets
Free Hibernate Tutorial  | VirtualNuggetsFree Hibernate Tutorial  | VirtualNuggets
Free Hibernate Tutorial | VirtualNuggets
 
Daniel Rivera .NET Portfolio
Daniel Rivera .NET PortfolioDaniel Rivera .NET Portfolio
Daniel Rivera .NET Portfolio
 
Java Hibernate Programming with Architecture Diagram and Example
Java Hibernate Programming with Architecture Diagram and ExampleJava Hibernate Programming with Architecture Diagram and Example
Java Hibernate Programming with Architecture Diagram and Example
 
Java ibatis tutorial
Java ibatis tutorialJava ibatis tutorial
Java ibatis tutorial
 
HBase Vs Cassandra Vs MongoDB - Choosing the right NoSQL database
HBase Vs Cassandra Vs MongoDB - Choosing the right NoSQL databaseHBase Vs Cassandra Vs MongoDB - Choosing the right NoSQL database
HBase Vs Cassandra Vs MongoDB - Choosing the right NoSQL database
 
Webinar: Spring Framework - Introduction to Spring WebMVC & Spring with BigData
Webinar: Spring Framework - Introduction to Spring WebMVC & Spring with BigData Webinar: Spring Framework - Introduction to Spring WebMVC & Spring with BigData
Webinar: Spring Framework - Introduction to Spring WebMVC & Spring with BigData
 
Developing Java Web Applications
Developing Java Web ApplicationsDeveloping Java Web Applications
Developing Java Web Applications
 
Getting Started with Spring Framework
Getting Started with Spring FrameworkGetting Started with Spring Framework
Getting Started with Spring Framework
 
Ado.net
Ado.netAdo.net
Ado.net
 
Lec2 ecom fall16
Lec2 ecom fall16Lec2 ecom fall16
Lec2 ecom fall16
 
Building Restful Web App Rapidly in CakePHP
Building Restful Web App Rapidly in CakePHPBuilding Restful Web App Rapidly in CakePHP
Building Restful Web App Rapidly in CakePHP
 
70487.pdf
70487.pdf70487.pdf
70487.pdf
 
Big Data Processing with Spark and Scala
Big Data Processing with Spark and Scala Big Data Processing with Spark and Scala
Big Data Processing with Spark and Scala
 
Apache Solr-Webinar
Apache Solr-WebinarApache Solr-Webinar
Apache Solr-Webinar
 

More from Edureka!

What to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | EdurekaWhat to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | EdurekaEdureka!
 
Top 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | EdurekaTop 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | EdurekaEdureka!
 
Top 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | EdurekaTop 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | EdurekaEdureka!
 
Tableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | EdurekaTableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | EdurekaEdureka!
 
Python Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaPython Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaEdureka!
 
Top 5 PMP Certifications | Edureka
Top 5 PMP Certifications | EdurekaTop 5 PMP Certifications | Edureka
Top 5 PMP Certifications | EdurekaEdureka!
 
Top Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | EdurekaTop Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | EdurekaEdureka!
 
Linux Mint Tutorial | Edureka
Linux Mint Tutorial | EdurekaLinux Mint Tutorial | Edureka
Linux Mint Tutorial | EdurekaEdureka!
 
How to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| EdurekaHow to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| EdurekaEdureka!
 
Importance of Digital Marketing | Edureka
Importance of Digital Marketing | EdurekaImportance of Digital Marketing | Edureka
Importance of Digital Marketing | EdurekaEdureka!
 
RPA in 2020 | Edureka
RPA in 2020 | EdurekaRPA in 2020 | Edureka
RPA in 2020 | EdurekaEdureka!
 
Email Notifications in Jenkins | Edureka
Email Notifications in Jenkins | EdurekaEmail Notifications in Jenkins | Edureka
Email Notifications in Jenkins | EdurekaEdureka!
 
EA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | EdurekaEA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | EdurekaEdureka!
 
Cognitive AI Tutorial | Edureka
Cognitive AI Tutorial | EdurekaCognitive AI Tutorial | Edureka
Cognitive AI Tutorial | EdurekaEdureka!
 
AWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | EdurekaAWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | EdurekaEdureka!
 
Blue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | EdurekaBlue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | EdurekaEdureka!
 
Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka Edureka!
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaA star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaEdureka!
 
Kubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | EdurekaKubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | EdurekaEdureka!
 
Introduction to DevOps | Edureka
Introduction to DevOps | EdurekaIntroduction to DevOps | Edureka
Introduction to DevOps | EdurekaEdureka!
 

More from Edureka! (20)

What to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | EdurekaWhat to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | Edureka
 
Top 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | EdurekaTop 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
 
Top 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | EdurekaTop 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
 
Tableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | EdurekaTableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | Edureka
 
Python Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaPython Programming Tutorial | Edureka
Python Programming Tutorial | Edureka
 
Top 5 PMP Certifications | Edureka
Top 5 PMP Certifications | EdurekaTop 5 PMP Certifications | Edureka
Top 5 PMP Certifications | Edureka
 
Top Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | EdurekaTop Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | Edureka
 
Linux Mint Tutorial | Edureka
Linux Mint Tutorial | EdurekaLinux Mint Tutorial | Edureka
Linux Mint Tutorial | Edureka
 
How to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| EdurekaHow to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| Edureka
 
Importance of Digital Marketing | Edureka
Importance of Digital Marketing | EdurekaImportance of Digital Marketing | Edureka
Importance of Digital Marketing | Edureka
 
RPA in 2020 | Edureka
RPA in 2020 | EdurekaRPA in 2020 | Edureka
RPA in 2020 | Edureka
 
Email Notifications in Jenkins | Edureka
Email Notifications in Jenkins | EdurekaEmail Notifications in Jenkins | Edureka
Email Notifications in Jenkins | Edureka
 
EA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | EdurekaEA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | Edureka
 
Cognitive AI Tutorial | Edureka
Cognitive AI Tutorial | EdurekaCognitive AI Tutorial | Edureka
Cognitive AI Tutorial | Edureka
 
AWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | EdurekaAWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
 
Blue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | EdurekaBlue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | Edureka
 
Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaA star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
 
Kubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | EdurekaKubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | Edureka
 
Introduction to DevOps | Edureka
Introduction to DevOps | EdurekaIntroduction to DevOps | Edureka
Introduction to DevOps | Edureka
 

Recently uploaded

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 

Recently uploaded (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 

Webinar: Persistence with Hibernate - Portal Development & Text Searching with Hibernate

  • 1. www.edureka.co/persistence-with-hibernate PERSISTENCE WITH HIBERNATE View Persistence With Hibernate Course at: http://www.edureka.co/persistence-with-hibernate For Queries: Post on Twitter @edurekaIN: #askEdureka Post on Facebook /edurekaIN For more details please contact us: US : 1800 275 9730 (toll free) INDIA : +91 88808 62004 Email Us : sales@edureka.co
  • 2. Slide 2 www.edureka.co/persistence-with-hibernate At the end of this module, you will be able to understand: Objectives  Java Enterprise  Java Enterprise Architecture  Hibernate  Java EE with Hibernate  ORM using Hibernate  Lucene  Lucene search and index  Lucene use case  NoSQL  NoSQL v/s SQL  NoSQL with OGM  NoSQL use case  Job Trends
  • 3. Slide 3 www.edureka.co/persistence-with-hibernate  Provides collection of APIs and runtime environments to support Enterprise applications  Community driven software  Defines standard specifications which can be implemented by vendors  Provides services for: » Persistence » Messaging » Web » Transactions  Web services support using JAXRS(Rest) and JAXWS(SOAP) JAVAEE – Enterprise Edition
  • 5. Slide 5 www.edureka.co/persistence-with-hibernate Hibernate  An Object Relational Mapping library of java language for object persistence and SQL databases  Transparent persistence of java objects with relational database  Provides query language in synch with SQL  Open source library  Provides solutions for object relational impedance mismatch problems HIBERNATE
  • 6. Slide 6 www.edureka.co/persistence-with-hibernate JavaEE with Hibernate HIBERNATE  Objective is to solve the complexities existed in EJB2 persistence architecture  Provided an effective Java persistence API enabling hibernate to work with different databases easily  Annotations provide meta data about table column definitions at the model level  Entities are developed independent of the underlying database Derby Mysql Oracle
  • 7. Slide 7 www.edureka.co/persistence-with-hibernate ORM using Hibernate  Provides a simple API for storing and retrieving Java objects directly to and from the database  Non-intrusive: No need to follow specific rules or design patterns  Transparent: Your object model is unaware Java Object: int id; String name; String getName() int getId() void setName(String) SQL Table: id [int] primary key, name [varchar(50)] Magic Happens Here (O/R Mapper – i.e. Hibernate)
  • 8. Slide 8 www.edureka.co/persistence-with-hibernate Lucene – Full Text Search  An Apache library  Full text search capability  Developed on java API  Query results are returned by relevance  Fast, flexible and stable  Easy to integrate lucence search functionality to application
  • 9. Slide 9 www.edureka.co/persistence-with-hibernate Lucene – Indexing  One of the most base functionality of Lucene  Fields in the documents are analyzed by the IndexWriter  Creates/Updates the indexes  Indexes created/updated are equivalently stored/updated in directory Document IndexWriter Directory
  • 10. Slide 10 www.edureka.co/persistence-with-hibernate Lucene – Search  Search operation is basically carried via IndexSearcher  Directory having indexes are passed to IndexSearcher  IndexSearcher reads the indexes in the directory with the help of IndexReader  Query to search is created using the QueryParser  Search performed with IndexSearcher against the query created by QueryParser  IndexSearcher returns TopDocs which contains the complete search details TopDocsIndexSearcherQueryParser IndexReader Directory
  • 11. Slide 11 www.edureka.co/persistence-with-hibernate Use-Case of Search  Lucence provides very efficient search capabilities on file system  Hibernate Search built on top of the Lucence search engine to address the short comings of lucence in domain object models  Similarly to Hibernate which has been built in top of the SQL databases, Hibernate search built on top of Lucence  Hibernate address the short comings of lucence in domain object models with annotations  Manages entities when query made to database or as lucence query to index
  • 12. Slide 12 www.edureka.co/persistence-with-hibernate Use-Case of Lucene Search (Contd.) How hibernate can perform search on the database with Lucene as Lucene can do effective searching on file system
  • 13. Slide 13 www.edureka.co/persistence-with-hibernate Use-Case of Lucene Search (Contd.) Hibernate + Hibernate Search Database Lucence (Index) Search Request
  • 15. Slide 15 www.edureka.co/persistence-with-hibernate NoSQL What is NoSQL?  Not Only SQL  Performs storage and retrieval of data in relational databases other than tabular format  Extensively used in big data domain  Lacks support for ACID  Can handle structured, semi structured and unstructured data
  • 16. Slide 16 www.edureka.co/persistence-with-hibernate NoSQL v/s SQL SQL NoSQL SCALING SQL relational databases multiple servers are used for database load resulting in expensive approach NoSQL databases can scale horizontally with the help of nodes BIG DATA Have limitations in handling huge data volume Can handle huge volume of data in a distributed database approach Schema Can be changed any time Changing schema is always a challenge once defined Server Cost Proprietary servers and storage systems are expensive Use of cheap commodity hardware
  • 17. Slide 17 www.edureka.co/persistence-with-hibernate Hibernate OGM  OGM – Object Grid Mapper  It provides Java Persistence (JPA) support for NoSQL solutions  Object Relational Mapping for NoSQL Databases  Provides support for most of the NoSQL database types  Scaling of relational databases with a NoSQL front end and with no change in domain model HIBERNATE OGM
  • 18. Slide 18 www.edureka.co/persistence-with-hibernate Use-Case of NoSQL How hibernate can perform no sql on the underlying existing models of the database.
  • 21. Slide 21 www.edureka.co/persistence-with-hibernate Hibernate Skills Hibernate Tools – Enables RDBMS mappings & associations with domain objects, hence should have knowledge on databases SQL Skills – Demonstrates the traditional SQL skills to understand table relations Coding Skills – Should possess java coding skills in using annotations & xml mappings for domain objects OOP Skills – Should possess Object oriented programming skills to deal with Hibernate inheritance and polymorphism Skills Products Database Mysql, Oracle or any RDBMS vendor Coding Java Configuration Management Eclipse, Hibernate tools SQL Mysql, Oracle or any RDBMS vendor Hibernate Skill Matrix
  • 23. Slide 23 www.edureka.co/persistence-with-hibernate 20% Discount on Persistence with Hibernate Course Offer valid only for 14th Feb 2015 Batch 20% OFF You can avail the above discount by using this link http://goo.gl/rPG3iw
  • 24. Questions Twitter @edurekaIN, Facebook /edurekaIN, use #askEdureka for Questions www.edureka.co/persistence-with-hibernateSlide 24
  • 25. Slide 25 www.edureka.co/persistence-with-hibernate Course Topics  Module 1 » Introduction to ORM & Hibernate  Module 2 » Persistence and Session Factory  Module 3 » Mapping , Inheritance and Types  Module 4 » Criteria and Query Language  Module 5 » Transactions ,Filter and Performance  Module 6 » Search and Validation Framework  Module 7 » OGM, No Sql and Spring  Module 8 » Project
  • 26. LIVE Online Class Class Recording in LMS 24/7 Post Class Support Module Wise Quiz Project Work Verifiable Certificate Slide 26 www.edureka.co/persistence-with-hibernate How it Works?