Enterprise Java Applications with Spring and Hibernate
Course
In Bath
Description
-
Type
Course
-
Location
Bath
-
Duration
4 Days
This course teaches students how to develop enterprise Java web applications with the Spring, Hibernate frameworks. The class is designed to run as a hands-on tutorial with more than 50% of time being devoted to writing code. On completion, delegates will: Understand the fundamentals of Java Web Applications - Know how to develop Java Servlets, explain the advantages, the. Suitable for: This course is designed for developers who wish to get into the world of enterprise Java Web development - Spring and Hibernate, and avoid all the pitfalls by learning about best practices and the solutions. The delegates taking this course must be familiar with Java and the general principles of object oriented programming (OOP).
Facilities
Location
Start date
Start date
About this course
This course is designed for developers who wish to get into the world of enterprise Java Web development, and avoid all the pitfalls by learning about best practices and the best-of-breed solutions offered by the open-source community. The participants taking this course must be familiar with Java and the general principles of object oriented programming (OOP). Prior exposure to...
Reviews
Course programme
The delegates taking this course must be familiar with Java and the general principles of object oriented programming (OOP).
PREREQUISITES: This course is designed for developers who wish to get into the world of enterprise Java Web development, and avoid all the pitfalls by learning about best practices and the best-of-breed solutions offered by the open-source community.
The participants taking this course must be familiar with Java and the general principles of object oriented programming (OOP).
Prior exposure to the following concepts and technologies is very helpful, but not required:
- General understanding of web development principles
- Basic knowledge of HTML and CSS
- Basic knowledge of JavaScript
- Understanding of Java 5 Annotations
- Basic understanding of the HTTP protocol, including concepts like SSL, redirection, GET vs POST, etc.
- Basic knowledge of SQL
- Familiarity with MySQL (or any other relational database)
- Familiarity with Eclipse IDE (or any other IDE)
- Familiarity with Tomcat (or any other Java EE application server)
- Familiarity with Ant
DURATION: 4 days. Hands on.
OBJECTIVES: This course teaches students how to develop enterprise Java web applications with the Spring, Hibernate frameworks.
The class is designed to run as a hands-on tutorial with more than 50% of time being devoted to writing code.
On completion, delegates will:
- Understand the fundamentals of Java Web Applications
- Know how to develop Java Servlets, explain the advantages, the disadvantages, and best practices
- Know how to develop Java Servlet Filters
- Know how to develop JavaServer Pages (JSP), take advantage of JSTL and JSP Expression Language (EL)
- Be able to package, deploy, and troubleshoot Java Web Applications.
- Understand how to access relational databases via JDBC
Be able to set up container-managed database connection pool (DBCP) accessed through JNDI
- Know how to configure container-managed security (authenticating against a relational database)
- Understand the drawbacks of bare-bones JDBC code and the benefits of an ORM solution
- Be able to install, configure, and use Hibernate (with Annotations) for the persistence layer
- Be able to install, configure, and use Spring for the Business and DAO layers
- Understand the advantages of POJOs and AOP-style development with Spring
- Be able to use Spring MVC to replace Servlets, get support for binding, validation, navigation, error handling, etc.
- Set up an application server for SSL, and learn how to selectively require SSL where needed
- Learn about AJAX, and how to use it with Spring through the Prototype JS library
- Learn how to use Eclipse for Java EE to help speed up the development efforts
- Learn how to automate common development tasks with Ant
- Learn best practices, and overall differences between Spring/Hibernate-based applications when compared to other solutions.
COURSE CONTENT:
Java EE
Overview of Java EE (a.k.a. J2EE)
Comparison of Java EE with other enterprise technologies
Java Web Applications
Overview of Java Web Application Development
Overview of Servlets: advantages, disadvantages, API, life-cycle, etc.
Java Web Application development life-cycle
Writing Code
Compiling Code
Writing Deployment Descriptors (WEB-INF/web.xml files)
Packaging web applications (generating WAR files)
Deploying web applications (e.g. on Tomcat)
Overview of Java Servlet Filters: uses, API, life-cycle, etc.
Overview of JavaServer Pages (JSP): advantages, disadvantages, API, life-cycle, etc.
Overview of JSTL
Overview of JSP Expression Language (EL)
Best practices with Servlets and JSPs: examples and labs
Database-driven Java Web Applications
Connecting to databases from Java web applications
Review of JDBC
Overview of JNDI
Overview of container-managed database connection pools (DBCP)
Overview of DAO design pattern
Using both Servlets and JSPs through clean design: examples and labs
Hibernate
Overview of ORM frameworks
Overview of Hibernate: advantages, features, etc.
Overview of EJB3''s JPA
Switching from JDBC to Hibernate
Installing and configuring Hibernate
Overview of Hibernate Annotations
Overview of Hibernate Query Language (HQL)
Overivew of Hibernate caching (through EHcache)
Best-practices: examples, and labs
Spring Framework
Overivew of Model-View-Controller (MVC) design pattern
Overview of the overall Spring framework (as a replacement for EJB)
Overview of Spring MVC
Switching from Servlets to Spring
Installing and configuring Spring
Overview of Spring Controllers
Overview of Spring Validators
Best-practices: examples, and labs
Enterprise Java Applications with Spring and Hibernate