Visão Geral
No Curso Spring & Hibernate, os desenvolvedores aprendem como construir rapidamente aplicativos Java corporativos usando as estruturas Spring e Hibernate padrão do setor. Por meio de exercícios práticos, você aprende a implementar aplicativos de alto desempenho e, ao mesmo tempo, reduzir o tempo de desenvolvimento.
Conteúdo Programatico
Spring architecture fundamentals
- Identifying Spring application components
- Defining the n-tier application architecture
Applying Inversion of Control (IoC) and Dependency Injection (DI)
- Delegating object creation to the Spring bean factory
- Controlling bean creation with scopes and methods
Transparently applying common functionality
- Defining advice, pointcuts and advisors
- Minimizing configuration with Autoproxying
AspectJ style AOP
- AspectJ pointcut expression language
- Applying AspectJ style with annotations
Simplifying data access with JDBC templates
- Streamlining runaway code with JDBC templates
- Structuring queries and callbacks for maintainability
Abstracting the Data Access Layer
- Supporting the Data Access Object (DAO) pattern
- Achieving implementation independence with platform agnostic exceptions
Managing transactions
- Analyzing Java EE transaction support
- Controlling transactions with Spring transaction manager
- Declaring transaction policies with XML and annotations
Processing web requests
- Analyzing Spring MVC architecture
- Mapping requests to controllers with annotations
- Processing commands, form submissions and wizards
Rendering the response
- Spring JSP support
- View technology alternatives with Velocity
Building Ajax controllers
- Establishing the requirements for Ajax controllers
- Implementing REST-style URLs
Integrating Hibernate
- Simplifying data access with O/R mapping
- Unraveling the Hibernate architecture
- Deploying and configuring Hibernate
Generating Hibernate applications
- Developing the persistent class
- Storing and retrieving Java objects
The role of the Hibernate Session
- Establishing a thread-safe session object
- Defining object states: transient, persistent, detached
Mapping collections
- Persisting and retrieving collections
- Preserving collection order for data integrity
Strategies for building object associations
- Specifying one-to-many and many-to-many relationships
- Controlling the association life cycle
Effectively mapping inheritance relationships
- Applying class rules for inheritance
- Techniques for class-database mapping
Applying Hibernate Query Language (HQL)
- Improving structure with named queries
- Augmenting HQL with native SQL
- Maximizing Hibernate performance