445 - Mastering The Spring Framework
445 - Mastering The Spring Framework
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.
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.
www.trainingbyROI.com
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
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
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
www.trainingbyROI.com