Developing Applications with Java Persistence API (JPA) Duración: 2 Días Código del Curso: WD160G Método de Impartición: e-learning (Self-Study) Temario: This 2-day instructor-led course teaches you how to build, develop and run Java applications that use the Java Persistence API (JPA). You will use IBM Rational Application Developer V7.5, which provides complete support for the JPA specification, to develop the JPA-based applications in this course. JPA provides a mechanism for managing persistence and object-relational mapping. It represents a significant evolution over previous persistence techniques, such as Java Database Connectivity (JDBC) and EJB 2.0 Container-Managed Persistence (CMP) and it can be used in both Java Standard Edition (Java SE) and Java Enterprise Edition (Java EE) applications. This course begins with an overview of persistence and the JPA specification, including features of the Java Platform that support JPA and JPA architecture. Subsequent topics include creating JPA entities, using Java Persistence Query Language (JPQL) and performing object-to-relational mappings (ORM) for persistent data. You will also learn how the use of JPA in applications differs between the Java SE and Java EE environments. Hands-on exercises throughout this course give you practical experience developing JPA-based applications with IBM Rational Application Developer V7.5. JPA development skills covered in the exercises include creating entity classes, developing a Java SE application to perform database operations, mapping entities to single and multiple tables and working with JQL queries. Note: This course covers the use of JPA in Java Standard Edition and Java Enterprise Edition Web container environments. It does not specifically address the use of JPA with Enterprise JavaBeans (EJBs). To learn how to use JPA entities running in an EJB container, you should attend one of the following courses:developing EJB 3 Applications for WebSphere Application Server V7 (WD352) Developing EJB 3 Applications for WebSphere Application Server V7 (Remote Class) (VD352) For information on other related WebSphere courses, visit the WebSphere Education Training Paths Web site: http://www.ibm.com/software/websphere/education/paths/ e-learning Los servicios de e-learning y recursos on-demand que ofrece Global Knowledge, están diseñadas para permitir el acceso a los recursos de aprendizaje en cualquier lugar y en cualquier momento que convenga al alumno. Nuestra solución incluye la posibilidad de acceder a los equipos cuando se necesita para practicar sus habilidades y la oportunidad de ver y escuchar a nuestros expertos en la materia, ya que destacan las áreas clave de la formación. Dirigido a: This course is designed for experienced Java application developers who want to learn how to develop Java SE or Java EE applications that access relational data using JPA Objetivos: Use the Java Persistence API to develop and run JPA entities Develop JPA applications for the Java SE environment Use Java Persistence Query Language (JPQL) Code JPA applications for the Java EE Web environment Perform object-to-relational mappings (ORM) for persistent data Implement persistent entities and embedded objects Develop and test JPA code using IBM Rational Application Developer V7.5 Prerequisitos: You should have practical experience with the Java programming language. This knowledge can be gained by successfully
completing one of the following courses: Java SE 5 Programming Fundamentals (WD152) Java SE 5 Programming Fundamentals (Remote Classroom) (VD152) Java SE 5 Programming Fundamentals (Self-Paced) (ZD152) You should also have knowledge of database concepts such as SQL, primary and foreign keys, joins, and referential integrity. Some knowledge of Java EE Web development and experience using Rational Application Developer or another Eclipse-based development environment are also beneficial. In addition, the following are beneficial, but not required: Experience using JDBC Some knowledge of Java EE Web development Experience using Rational Application Developer or another Eclipse-based development environment
Contenido: line line line The role of persistence and the Java The role of persistence and the Java The role of persistence and the Java Persistence API Persistence API Persistence API Features of the Java platform that support Features of the Java platform that Features of the Java platform that support JPA support JPA JPA The architecture of JPA The architecture of JPA The architecture of JPA Exercise: Creating the first JPA entity bean Exercise: Creating the first JPA entity Exercise: Creating the first JPA entity bean Entity life cycle states bean Entity life cycle states Exercise: Writing a Java SE application to Entity life cycle states Exercise: Writing a Java SE application to perform database operations Exercise: Writing a Java SE application perform database operations Object-relational mapping for a single table to perform database operations Object-relational mapping for a single table Object-relational mapping for a single container table container Object-relational mapping over multiple Object-relational mapping over multiple tables container tables Exercise: JPA entities that map to multiple Object-relational mapping over multiple Exercise: JPA entities that map to multiple tables tables tables Entity life cycle methods and listeners Exercise: JPA entities that map to Entity life cycle methods and listeners Exercise: JPA callbacks and life cycle multiple tables Exercise: JPA callbacks and life cycle listeners Entity life cycle methods and listeners listeners Java Persistence Query Language (JPQL) Exercise: JPA callbacks and life cycle Java Persistence Query Language (JPQL) Exercise: JPQL queries listeners Exercise: JPQL queries Course summary Java Persistence Query Language Course summary (JPQL) Exercise: JPQL queries line Course summary line The role of persistence and the Java The role of persistence and the Java Persistence API Persistence API Features of the Java platform that support line Features of the Java platform that support JPA The role of persistence and the Java JPA The architecture of JPA Persistence API The architecture of JPA Exercise: Creating the first JPA entity bean Features of the Java platform that Exercise: Creating the first JPA entity bean Entity life cycle states support JPA Entity life cycle states Exercise: Writing a Java SE application to The architecture of JPA Exercise: Writing a Java SE application to perform database operations Exercise: Creating the first JPA entity perform database operations Object-relational mapping for a single table bean Object-relational mapping for a single table Entity life cycle states container Exercise: Writing a Java SE application container Object-relational mapping over multiple to perform database operations Object-relational mapping over multiple tables Object-relational mapping for a single tables Exercise: JPA entities that map to multiple table Exercise: JPA entities that map to multiple tables tables Entity life cycle methods and listeners container Entity life cycle methods and listeners Exercise: JPA callbacks and life cycle Object-relational mapping over multiple Exercise: JPA callbacks and life cycle listeners tables listeners Java Persistence Query Language (JPQL) Exercise: JPA entities that map to Java Persistence Query Language (JPQL) Exercise: JPQL queries multiple tables Exercise: JPQL queries Course summary Entity life cycle methods and listeners Course summary Exercise: JPA callbacks and life cycle listeners line Java Persistence Query Language line The role of persistence and the Java (JPQL) The role of persistence and the Java Persistence API Exercise: JPQL queries Persistence API Features of the Java platform that support Course summary Features of the Java platform that support JPA JPA The architecture of JPA The architecture of JPA Exercise: Creating the first JPA entity bean line Exercise: Creating the first JPA entity bean Entity life cycle states The role of persistence and the Java Entity life cycle states Exercise: Writing a Java SE application to Persistence API Exercise: Writing a Java SE application to perform database operations Features of the Java platform that perform database operations Object-relational mapping for a single table support JPA Object-relational mapping for a single table The architecture of JPA container Exercise: Creating the first JPA entity container
Object-relational mapping over multiple bean Object-relational mapping over multiple tables Entity life cycle states tables Exercise: JPA entities that map to multiple Exercise: Writing a Java SE application Exercise: JPA entities that map to multiple tables to perform database operations tables Entity life cycle methods and listeners Object-relational mapping for a single Entity life cycle methods and listeners Exercise: JPA callbacks and life cycle table Exercise: JPA callbacks and life cycle listeners listeners Java Persistence Query Language (JPQL) container Java Persistence Query Language (JPQL) Exercise: JPQL queries Object-relational mapping over multiple Exercise: JPQL queries Course summary tables Course summary Exercise: JPA entities that map to multiple tables line Entity life cycle methods and listeners line The role of persistence and the Java Exercise: JPA callbacks and life cycle The role of persistence and the Java Persistence API listeners Persistence API Features of the Java platform that support Java Persistence Query Language Features of the Java platform that support JPA (JPQL) JPA The architecture of JPA Exercise: JPQL queries The architecture of JPA Exercise: Creating the first JPA entity bean Course summary Exercise: Creating the first JPA entity bean Entity life cycle states Entity life cycle states Exercise: Writing a Java SE application to Exercise: Writing a Java SE application to perform database operations line perform database operations Object-relational mapping for a single table The role of persistence and the Java Object-relational mapping for a single table Persistence API container Features of the Java platform that container Object-relational mapping over multiple support JPA Object-relational mapping over multiple tables The architecture of JPA tables Exercise: JPA entities that map to multiple Exercise: Creating the first JPA entity Exercise: JPA entities that map to multiple tables bean tables Entity life cycle methods and listeners Entity life cycle states Entity life cycle methods and listeners Exercise: JPA callbacks and life cycle Exercise: Writing a Java SE application Exercise: JPA callbacks and life cycle listeners to perform database operations listeners Java Persistence Query Language (JPQL) Object-relational mapping for a single Java Persistence Query Language (JPQL) Exercise: JPQL queries table Exercise: JPQL queries Course summary Course summary container Object-relational mapping over multiple line tables line The role of persistence and the Java Exercise: JPA entities that map to The role of persistence and the Java Persistence API multiple tables Persistence API Features of the Java platform that support Entity life cycle methods and listeners Features of the Java platform that support JPA Exercise: JPA callbacks and life cycle JPA The architecture of JPA listeners The architecture of JPA Exercise: Creating the first JPA entity bean Java Persistence Query Language Exercise: Creating the first JPA entity bean Entity life cycle states (JPQL) Entity life cycle states Exercise: Writing a Java SE application to Exercise: JPQL queries Exercise: Writing a Java SE application to perform database operations Course summary perform database operations Object-relational mapping for a single table Object-relational mapping for a single table container line container Object-relational mapping over multiple The role of persistence and the Java Object-relational mapping over multiple tables Persistence API tables Exercise: JPA entities that map to multiple Features of the Java platform that Exercise: JPA entities that map to multiple tables support JPA tables Entity life cycle methods and listeners The architecture of JPA Entity life cycle methods and listeners Exercise: JPA callbacks and life cycle Exercise: Creating the first JPA entity Exercise: JPA callbacks and life cycle listeners bean listeners Java Persistence Query Language (JPQL) Entity life cycle states Java Persistence Query Language (JPQL) Exercise: JPQL queries Exercise: Writing a Java SE application Exercise: JPQL queries Course summary to perform database operations Course summary Object-relational mapping for a single table container Object-relational mapping over multiple tables
Exercise: JPA entities that map to multiple tables Entity life cycle methods and listeners Exercise: JPA callbacks and life cycle listeners Java Persistence Query Language (JPQL) Exercise: JPQL queries Course summary Más información: Para más información o para reservar tu plaza llámanos al (34) 91 425 06 60 info.cursos@globalknowledge.es www.globalknowledge.es Global Knowledge Network Spain, C/ Retama 7, 6ª planta, 28045 Madrid