Building Database Driven Applications with JPA, Java EE 6

Building Database Driven Applications with JPA, Java EE 6

Duration : 4 Days (32 Hours)

Building Database Driven Applications with JPA, Java EE 6 Course Overview:

The Building Database Driven Applications with JPA, Java EE 6 certification focuses on mastering the Java Persistence API (JPA) framework, essential for developing robust, secure, and scalable enterprise-level applications. This certification validates expertise in standardizing object-relational mapping, managing relational data in Java applications, and simplifying database operations.

Industries leverage this certification to streamline application development, enhance code maintainability, and ensure efficient data management. By bridging the gap between application objects and database data, it improves the efficiency of data-centric applications. This certification proves valuable in ensuring the smooth functioning of data-driven systems and facilitating effective data handling in Java-based applications.

Intended Audience:

  • Experienced Java developers seeking to leverage Java Persistence API in application development.
  • Java EE developers interested in understanding and enhancing their skills on Java EE 6.
  • Developers and software engineers aiming to build scalable, secure, and efficient database-driven applications.
  • IT professionals wanting to expand their knowledge on JPA and Java EE platform-related technology.
  • Individuals studying for Java EE 6 certification.

Learning Objectives of Building Database Driven Applications with JPA, Java EE 6:

The primary learning objectives of the Building Database Driven Applications with JPA, Java EE 6 course are as follows:

  1. Using Java Persistence API (JPA) to develop robust and efficient database-driven applications.
  2. Constructing complex database queries and effectively manipulating data with JPA.
  3. Understanding and managing entity relationships in database-driven applications.
  4. Implementing transactions with JPA for data integrity and consistency.
  5. Gaining a deep understanding of the Java EE 6 platform and its inherent benefits, such as loose coupling, lightweight services, and simplified packaging.
  6. Utilizing tools and strategies for testing, debugging, and optimizing application performance in Java EE 6 environments.

Module 1: Introducing the Java Persistence API

  • Introduction to the Auction Application
  • Java Persistence API Entities
  • Difference between objects and entities
  • Difference between persistent fields and properties
  • Common JPA annotations (@Entity, @Id, @Table, @Column)
  • Understanding the Entity Manager
  • Relationship between entity manager, persistence context, and persistence unit
  • Difference between container-managed and application-managed entity managers
  • Entity life cycle

Module 2: Modeling Entity Relationships

  • Examine association relationships in data and object models
  • Use relationship properties to define associations
  • Implement one-to-one unidirectional associations
  • Implement one-to-one bidirectional associations
  • Implement many-to-one/one-to-many bidirectional associations
  • Implement many-to-many bidirectional associations
  • Implement many-to-many unidirectional associations
  • Examine fetch and cascade mode settings

Module 3: Entity Inheritance and Object-Relational Mapping

  • Examine entity inheritance
  • Object/relational inheritance hierarchy mapping strategies
  • Inherit from an entity class
  • Inherit using a mapped superclass
  • Inherit from a non-entity class
  • Inheritance mapping strategies
  • Use an embeddable class

Module 4: Persisting Enums and Collections

  • Persist entities containing enums with @Enumerated
  • Persist entities containing lists with @ElementCollection
  • Persist entities containing maps with @ElementCollection

Module 5: Introduction to Querying

  • Find an entity by its primary key
  • Basic Java Persistence API query language queries
  • Native SQL queries
  • Basic Criteria API queries

Module 6: Using the Java Persistence API Query Language

  • Java Persistence API query language overview
  • Create and use SELECT, UPDATE, and DELETE statements

Module 7: Using the Java Persistence API Criteria API

  • Contrast Criteria API with JPQL
  • Metamodel object approach to querying
  • Create Criteria API queries

Module 8: Using the Java Persistence API in a Container

  • Use JPA from a servlet
  • Use JPA from a stateless session bean

Module 9: Implementing Transactions and Locking

  • Transaction demarcation management
  • Implement container-managed transactions (CMT)
  • Interact programmatically with an ongoing CMT transaction
  • Implement bean-managed transactions (BMT)
  • Apply transactions to the Java Persistence API

Module 10: Advanced Java Persistence API Concepts

  • Specify composite primary keys
  • Override mappings with @AttributeOverride and @AssociationOverride annotations
  • Understand entity listeners and callback methods

Building Database Driven Applications with JPA, Java EE 6 Course Prerequisites:

• Solid understanding of Java SE, including object-oriented programming concepts
• Basic understanding of databases, SQL
• Familiarity with Java database connectivity (JDBC)
• Knowledge in XML and HTML language
• Familiarity with Java servlet technology, JSP pages
• Knowledge of web-tier software architecture.

Discover the perfect fit for your learning journey

Choose Learning Modality

Live Online

  • Convenience
  • Cost-effective
  • Self-paced learning
  • Scalability

Classroom

  • Interaction and collaboration
  • Networking opportunities
  • Real-time feedback
  • Personal attention

Onsite

  • Familiar environment
  • Confidentiality
  • Team building
  • Immediate application

Training Exclusives

This course comes with following benefits:

  • Practice Labs.
  • Get Trained by Certified Trainers.
  • Access to the recordings of your class sessions for 90 days.
  • Digital courseware
  • Experience 24*7 learner support.

Got more questions? We’re all ears and ready to assist!

Request More Details

Please enable JavaScript in your browser to complete this form.

Subscribe to our Newsletter

Please enable JavaScript in your browser to complete this form.
×