0% found this document useful (0 votes)
124 views

445 - Mastering The Spring Framework

This 4-day advanced Spring workshop teaches best practices for software development using the Spring framework. Attendees will build an enterprise application while learning Spring concepts through hands-on exercises. The course is intended for intermediate Java developers and architects looking to leverage Spring in their projects. Topics include inversion of control, dependency injection, database access, MVC web development, validation, AOP, transactions, remoting, and security. Prerequisites include knowledge of Java, web applications, and XML.

Uploaded by

IhsanIsmail
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
124 views

445 - Mastering The Spring Framework

This 4-day advanced Spring workshop teaches best practices for software development using the Spring framework. Attendees will build an enterprise application while learning Spring concepts through hands-on exercises. The course is intended for intermediate Java developers and architects looking to leverage Spring in their projects. Topics include inversion of control, dependency injection, database access, MVC web development, validation, AOP, transactions, remoting, and security. Prerequisites include knowledge of Java, web applications, and XML.

Uploaded by

IhsanIsmail
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 4

Course 445: Mastering the Spring Framework (4 days)

This in-depth, advanced workshop using Spring 2.x will present developers with best practices for software development, as well as tips and techniques for working with the tools and technologies within their specific environment.

Who can benefit?


Spring provides a light-weight, powerful framework that can dramatically simplify the development of Java enterprise applications and services. Spring applications are easier to maintain, better performing and more robust than applications built using only the core JEE technologies. This is an intermediate level Java programming course, designed for developers and software system architects who wish to understand and immediately leverage the Spring Framework in their projects. Attendees in this course will perform hands-on exercises, building an enterprise application as they learn the concepts. Therefore, developers, system architects and managers with some real-world experience of working with enterprise applications in Java will benefit the most from this course.

Who should attend


Java programmers involved in developing enterprise applications Software system architects Managers of technical projects

Prerequisites
Knowledge and understanding of Java to the level of Course 430 (Essential Java) is required. Familiarity with Java web applications (Servlets/JSPs) and XML syntax is helpful, but not required.

See next page for a detailed course outline

Mastering the Spring Framework / 1

www.trainingbyROI.com

ROI Training, Inc.

Course Outline
Chapter 1: Architecting JEE Systems Evolution of JEE Systems, leading to Spring EJB issues: performance, maintainability and testability How Spring addresses EJB issues The JEE 3-Tier Architecture Core JEE Design Patterns Quick introduction to Eclipse, Ant and Tomcat Exercise 1: Exploring the case study Chapter 2: Test driven development Forms and goals of testing Testing during development Unit testing with JUnit Exercise 2: Unit testing Integration and functionality testing Chapter 3: Inversion of Control using Spring Designing to Interfaces Factory Design Pattern Exercise 3: Implementing a Factory Inversion of Control Springs core IoC container BeanFactory XML configuration Differences between Spring 1.2 and Spring 2.0. Exercise 4: Spring as a Factory ApplicationContext Registering a shutdown hook Exercise 5: Bean destroy Chapter 4: Dependency Injection using Spring Dependency Injection Injecting values Try It Now: Dependency Injection PropertyEditor Try it Now: Property Editor Invoking constructor Constructor or setter? Instantiating beans using factory methods Exercise 6: TicketXMLService Chapter 5: Database Access Limitations of JDBC How Spring improves on JDBC JdbcTemplate Queries and callbacks
Mastering the Spring Framework / 2 www.trainingbyROI.com

ROI Training, Inc.


Mapping rows to objects Exercise 7: Implementing and testing a Spring DAO Modeling DAO operations as classes SqlUpdate and MappingSqlQuery Try It Now: Improved DAO Support for Hibernate and JDO

Chapter 6: Spring Web MVC Model 2 architecture Springs implementation of MVC Maintaining user state Session Faade Exercise 8: Implementing a TicketingSessionFacade DispatcherServlet Convention over Configuration Controllers and Mappings Reusing bean definitions Resolving views Exercise 9: Implementing the museum web application Using Spring with Struts, JSF or other web frameworks Chapter 7: Validation using Spring AntPathMatcher, StringUtil, StopWatch Resource and resource implementations Message Bundles Validation Exercise 10: Validating exhibit name in controller Try it now: Validation in middleware Chapter 8: Advanced Spring concepts Autowiring Try it now: Autowiring Checking dependencies Factory aware, bean postprocessing, lookup method injection Try it now: Bean Factory Aware Try it now: Lookup method injection Aspect-oriented programming ProxyFactoryBean Intercepting methods Applying advice Try it now: Aspect-oriented programming Pointcuts Transactions are ACID Programming for transactions Declarative transactions in Spring Try it now: Declarative transactions to prevent accidental updates Chapter 9 [Optional]: Remoting and clustering Spring applications
Mastering the Spring Framework / 3 www.trainingbyROI.com

ROI Training, Inc.


Need for remoting Clustering a Spring application across tiers Remoting with RMI, HTTP, web services or Hessian/Burlap Exposing beans via HTTP Accessing services via HTTP Try it now: Using HTTP invoker to expose and call remote services Scheduling tasks Exercise 11: Remoting a session faade and accessing it from a GUI

Chapter 10 [Optional]: The Acegi Security Framework How to secure a web application declaratively Limitations of JAAS Intercepting web requests Authenticating against a database Role-based authentication Pattern-based authorization Exercise 12: Securing a web application Chapter 11 [Optional]: Spring Best Practices Good OO and distributed design practices Testing with wired up beans Testing with mock beans, pros and cons Try it now: Testing a session faade with mock dependencies Maintainable bean definitions When to inject and when not to inject Thread-safety in Spring beans

Please contact your ROI representative to discuss course tailoring!!!

Mastering the Spring Framework / 4

www.trainingbyROI.com

You might also like