Applying Hibernate to Persistence in Java Training
(FW870)
4 Day Course
Mastering Hibernate is a four day indepth course geared for experienced Java developers who need to understand what Hibernate is in terms of todays systems and architectures, and how to apply Hibernate to persistence requirements in Java and J2EE applications. Hibernate is a powerful enabler that addresses object/relational persistence in the Java world. Hibernate offers all the advantages of developing in Java plus a comprehensive suite of capabilities for mapping objectoriented features to the relational model. This course tells you what you need to know to design and build your own Hibernateenabled applications. Youll learn the details of the key Hibernate capabilities and how to leverage their strengths, with a special focus on using Hibernate with other technologies and frameworks. At the same time, youll be learning about the big picture of Hibernate and how to design applications to use Hibernate in a robust, efficient, secure, and maintainable fashion. If you want to deliver an application using Hibernate, youll find this course essential.
Explain how the issues associated with object persistence in a relational model are addressed by Hibernate
Understand the relationships between SQL, Java, JDBC, Spring, Java Persistence API, EJB 3.0, and Hibernate
Discuss the challenges to adopting Hibernate in the enterprise
Write applications that take advantage of the Hibernate Persistence Manager.
Map Java classes to relational tables.
Capture both relational and inheritance associations in metadata using either XML or the Java 5 Annotations mechanism.
Create and use mappings between Java classes and relational databases.
Understand how identity and keys are handled in Hibernate.
Understand the persistent object lifecycle and how that relates to transactions and concurrency.
Take advantage of Hibernates data filtering and interception.
Session: Introduction to Hibernate
ORM Mapping Issues
Hibernate Architecture
Persistence, Identity, and Equality in Hibernate
Domain Models and Metadata Options
Options for Representing Persistence
Session: Getting Started with Hibernate
Basic Mapping
Class/properties to Table/Columns
Basic Configuration
Mapping a POJO to a Database
Syntax of mapping file
Basics of Hibernate Session
Working with Persisted Objects
Session: Basic ORM in Hibernate
Configuring persistence
Object Identity in Hibernate
Generating Unique Keys
Mapping Classes to Multiple Tables
Session: ValueType Collections and Components
Element Types
Mapping Compositions
Mapping Java Collections
Bags and Dynamic Components
Session: Entity Associations (Relations)
Types of Associations
Uni and BiDirectional Associations
Using Join Tables
ManytoMany Associations
Cascading Over Associations
Session: Mapping Inheritance
Strategies for Inheritance ORM
Single, Class, and Concrete Table Patterns
Discriminators
Session: Hibernate Annotations
Working with Hibernate Annotations
AnnotationCapable Sessions
Annotations and Persistence
Annotations, Mapping, and Relationships
Session: Working with Persistent Objects
Transient, Persistent, and Detached
Transitioning Between States
Options for Retrieving Objects
Attached and Detached States
Update, Merge, and Cascade
Session: Transactions
Transaction Control and Isolation Levels
Options for Demarcating Transactions
Using a Contextual Session
Correctly Handling Exceptions
Optimistic and Pessimistic Locking in Hibernate
Lock Scopes and Cascading
Session: Querying for Objects
Hibernate Query API
Hibernate Query Language (HQL)
HQL Syntax and Usage
Criteria
|
|
Pre-Class
- Verify your learning Objectives
During-Class
- Capture Tools, Q&A, demos and white boards
- Screen Sharing
|
- Feedback on Lab work
- On-the-fly Adjustments to meet your needs
After-Class
|
| Onsite Setup Instructions
| |
Course Set-up Requirements
ACC870 Applying Hibernate to Persistence in Java | Hardware and software is not required for this class. Workshops will be team based and a workbook will be provided to capture the participants work.
The instructor will require projection equipment that is capable of projecting the instructors monitor onto a screen clearly visible by all students participating. A white board and at least two flip chart easels, along with dry erase and flip chart markers, should be available in the room.
Tables should be arranged in pods to accommodate teams of 3-5.
| | Student Machines | Instructor Machines | | Hardware Requirements | Hardware Requirements | None
| Projector
| | Software Requirements | Software Requirements | None
| PowerPoint
| |
|
|
|
| Remote Access Available
| |
Applying Hibernate to Persistence in Java Training is now available as a remote access course.
You can now take open enrollment courses in our Los Angeles and Boston facilities without traveling. Remote Access to our ongoing schedule of instructor-led courses will allow you to fully participate real-time in expert-level lectures, demos and labs that have made DevelopMentor a leader in software development training. We've added new collaboration tools and prepared our instructors for remote students in class so you will be fully engaged in the learning process.
|
|
|
| Mentoring
| |
Quickly assimilate what you learn in Applying Hibernate to Persistence in Java Training and apply it to your project by taking advantage of our Mentoring services.
Our dedicated mentors facilitate your team's development. We add value to your business by enhancing the talent of your employees and maximizing their productivity. Mentors integrate the methodologies, technologies and practical experiences of the classroom through an on-the-job and on-the-project experience that produces real-world results.
|
|
|
| Onsite
| |
Applying Hibernate to Persistence in Java Training is also available as an onsite course.
If you have a group of people to train, an on-site course, delivered at your facility may be the most cost-effective solution for you. Our staff will work with your team to plan and produce the best possible result based on your team's size, experience levels, project needs and longer-term goals. We can structure a training course, or broader program, tailored to meet the specific needs of your organization. We'll make sure that any lab exercises run on the platform you use and we can tailor the lab exercises to be appropriate to your business. If you prefer to focus on just the pure technological principles, we can also deliver courses at your facility following the same format as our public curriculum.
|
|
|
| About the Author
| |
|
|
|