Spring Persistence: A Running Start

  • 2h 37m
  • Paul Tepper Fisher, Solomon Duskis
  • Apress
  • 2009

This firstPress title gets readers rolling with the various fundamental Spring Framework Java Persistence concepts and offerings, as well as proven design patterns for integrating Spring Persistence functionality for complex and transaction–based enterprise Java applications.

The Java platform offers several options for saving “long–lived” information, including JPA (Java Persistence API), Hibernate, iBatis, JDBC, and even JCR (Java Content Repository—a standard for interfacing with a content management system).

This book helps readers decide which persistence solution is the most ideal for their application requirements, and shows how Spring can be leveraged to simplify the integration of their selected persistence framework into their enterprise application.

What you’ll learn

  • Learn to implement Spring Persistence, which involves persistence tools in Spring as well as choosing the best Java persistence frameworks/tools outside of Spring.
  • Work with Spring Framework features such as Inversion of Control, Aspect Oriented Programming (AOP), and more.
  • Understand the core concepts of JPA and steps for integrating JPA for architecting a well–layered persistence tier.
  • Work with Hibernate and integrate it into your Spring applications.
  • Develop with the iBatis framework, and see how it differs from other persistence solutions.
  • Work with Spring–JDBC, declarative transactions with Spring, and discover the benefits of a lightweight persistence strategy.
  • Examine other persistence concepts and frameworks not usually covered in other books.

About the Authors

Paul Tepper Fisher first started working in technology at Johns Hopkins University, where he spent several years developing a distance learning application for neuroscience while completing graduate school there. He has founded two technology startups: SmartPants Media, Inc., a software development company specializing in interactive multimedia technology; and dialmercury.com, which develops telephony applications using VOIP and Java. Currently, Mr. Fisher is manager of technology at Wired.com, where he leads the software development team for the online publication of Wired.com, webmonkey.com, and howto.wired.com, using Spring, Grails, and Java technology.

Solomon Duskis has been professionally coding for 10 years, although he started coding before he was a teenager. He coded games and calculus–solving programs in his spare time in high school. After completing a BS in computer science, Solomon worked at a variety of clients in New York doing various types of enterprise development work. Lately, he’s been building high–traffic, scalable web sites with Spring and Hibernate.

In this Book

  • Introducing Spring Persistence
  • Using Spring JDBC
  • Using Spring with Hibernate
  • Integrating JPA with Spring
  • Introducing the iBATIS Data Mapper
  • Managing Transactions
  • Integration Testing with JUnit
  • Using Spring with a Content Management System
  • Rapid Web Development Using Groovy and Grails