|
|
|
You Will Learn How To
- Develop scalable enterprise Java applications using Spring 3.1 and Hibernate
- Build application infrastructure using Inversion of Control (IoC) and Dependency Injection (DI)
- Modularise functionality using Aspect-Oriented Programming (AOP)
- Add a flexible application user interface with Spring Model View Controller (MVC)
- Implement object persistence with Hibernate
- Optimise data access with Hibernate Query Language (HQL)
Course Benefits Developing robust Java enterprise applications is a complex process often requiring extensive infrastructure code. In this course, Java developers learn how to quickly build enterprise Javaapplications using the industry-standard Spring and Hibernate frameworks. Through intensive hands-on exercises, you learn how to implement high-performance applications while reducing development time.
Who Should Attend Architects, programmers, engineers, managers and those involved in the development of complex enterprise-level Java applications. Java programming knowledge at the level of Course 471, " Java Programming Comprehensive Introduction", is assumed.
Hands-On Training Exercises provide practical experience building enterprise applications, including:
- Injecting dependencies with Spring IoC
- Streamlining development with Spring 3.1 JDBC template support
- Applying modular code using AspectJ style AOP
- Implementing a Web Tier using Spring MVC
- Managing transactions with Spring 3.1 annotations
- Storing and retrieving data objects with Hibernate
- Integrating Spring and Hibernate
Course Content Introducing the Spring Framework
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 factory methods
- Initialising and destroying beans
Minimising Code with Aspect-Oriented Programming (AOP)
Transparently applying common functionality
- Evaluating the benefits of AOP
- Defining advice, pointcuts and advisors
- Minimising configuration with Autoproxying
AspectJ style AOP
- AspectJ pointcut expression language
- Applying AspectJ style with annotations
- Building aspects with POJOs and XML schema-based configuration
Constructing an Effective DataAccess Tier with Spring
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
- Analysing Java EE transaction support
- Controlling transactions with the Spring transaction manager
- Declaring transaction policies with XML and annotations
Building a Web Tier with Spring MVC
Processing Web requests
- Analysing Spring Model View Controller (MVC) architecture
- Mapping requests to controllers with annotations
- Processing commands, form submissions and simple wizards
- Server-side validation
Rendering the response
- Resolving views with ViewResolvers
- Spring JSP support
- View technology alternatives with Velocity
Building Ajax controllers
- Establishing the requirements for Ajax controllers
- Implementing REST-style URLs
- Returning JSON data
Persisting Objects with Hibernate
Integrating Hibernate
- Simplifying data access with O/R mapping
- Unravelling the Hibernate architecture
- Deploying and configuring Hibernate
Generating Hibernate applications
- Developing the persistent class
- Defining the Hibernate mapping rules
- Storing and retrieving Java objects
Handling Complex Object Relationships
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
Optimising Data Access
Applying Hibernate Query Language (HQL)
- Selecting and filtering queries
- Improving structure with named queries
- Augmenting HQL with native SQL
- Maximising Hibernate performance
- Accelerating data access via Hibernate cache
Integrating Spring and Hibernate
- Employing the Spring Hibernate template
- Configuring Hibernate resources in Spring
|
<< Back to Java
Related Courses
Red Hat Middleware, LLC. All rights reserved.Hibernate is a registered trademark and servicemark of Red Hat, Inc. Java is a trademark of Sun Microsystems, Inc.
|
|
Course Dates
UK Dates | | 21-24 Feb | London enrol | | 19-22 Jun | Edinburgh enrol | | 19-22 Jun | London enrol | | 9-12 Oct | London enrol | | 16-19 Oct | Edinburgh enrol | | 5-8 Feb | Edinburgh enrol | US East Coast Dates | | 20-23 Mar | New York enrol* | | 2-5 Apr | Washington, DC enrol* |
*New York and Washington DC Courses – Available online with a run time of 2pm to 9pm BST. For AnyWare enrolments, please register at least 10 days prior to the start of the course.
More Dates and Locations.
|
|
|
|
On-Site &
Custom Training
Bring this or any Learning Tree course to your location or have it customised for your organisation.
|
Participants persisting data with Hibernate.
|
|
Average Attendee Evaluation
|
Evaluations in the last 12 months |
|
5 stars:
|
|
73% |
|
4 stars:
|
|
25% |
|
3 stars:
|
|
2% |
|
2 stars:
|
|
0% |
|
1 star:
|
|
0% |
|
"The Learning Tree Courses have definitely helped me achieve my training goals. I can honestly say that after completing a class you feel as though you possess a level of sophistication on the subject. When you are back at the office, the course examples can be very helpful, which reinforces the skills you learned".
– P. Schmidt Alion Science and Technology
|
|
 |
|