Spring Persistence with Hibernate, Second Edition
- 3h 6m
- Brian D. Murphy, Paul Fisher
- Apress
- 2016
Learn how to use the core Hibernate APIs and tools as part of the Spring Framework. This book illustrates how these two frameworks can be best utilized. Other persistence solutions available in Spring are also shown including the Java Persistence API (JPA).
Spring Persistence with Hibernate, Second Edition has been updated to cover Spring Framework version 4 and Hibernate version 5. After reading and using this book, you'll have the fundamentals to apply these persistence solutions into your own mission-critical enterprise Java applications that you build using Spring.
Persistence is an important set of techniques and technologies for accessing and using data, and ensuring that data is mobile regardless of specific applications and contexts. In Java development, persistence is a key factor in enterprise, e-commerce, and other transaction-oriented applications. Today, the agile and open source Spring Framework is the leading out-of-the-box, open source solution for enterprise Java developers; in it, you can find a number of Java persistence solutions.
What You'll Learn
- How to use Spring Persistence, including using persistence tools in Spring as well as choosing the best Java persistence frameworks outside of Spring
- How to work with Spring Framework features such as Inversion of Control (IoC), aspect-oriented programming (AOP), and more
- How to work with Spring JDBC, use declarative transactions with Spring, and reap the benefits of a lightweight persistence strategy
- How to work with Hibernate and integrate it into your Spring-based enterprise Java applications for transactions, data processing, and more
- How to integrate JPA for creating a well-layered persistence tier in your enterprise Java application
Who This Book Is For
This book is ideal for developers interested in learning more about persistence framework options on the Java platform, as well as fundamental Spring concepts. Because the book covers several persistence frameworks, it is suitable for anyone interested in learning more about Spring or any of the frameworks covered. Lastly, this book covers advanced topics related to persistence architecture and design patterns, and is ideal for beginning developers looking to learn more in these areas.
About the Authors
Paul Tepper Fisher first began working in technology at Johns Hopkins University, where he spent several years developing a distance learning platform, while completing graduate school there. Currently, Paul is the CTO at Recombine, a genetics testing company in New York City with a mission to expand the scope and impact of genomics in medicine.
Before joining Recombine, Paul was the CTO at Onswipe, a mobile publishing platform, which was acquired by Beanstock Media in 2014. Prior to Onswipe, Paul was the CTO at Sonar Media — one of the first mobile social discovery platforms, which provided real-time notifications about relevant people nearby. Before joining Sonar, Paul was the CTO at K2 MediaLabs, a mobile-focused venture fund where he oversaw K2 ’s profile companies — including Sonar, Marketsharing, and Tracks .
Prior to K2, Paul was the Director of Engineering at Lime Wire, a Peer-to-Peer file-sharing company, where he led seven engineering teams for the development of a cloud-based Streaming Music Service. Previously, Paul managed the technology division for Wired Digital (owned by Condé Nast Publications), growing and overseeing the co-located development teams in both New York and San Francisco for www.Wired.com, www.Webmonkey.com, and www.howto.wired.com, helping www.wired.com triple its traffic to 12 million users.
In 2004, Paul founded www.DialMercury.com, a real-time communications and telephony platform. In 1998, Paul co-founded SmartPants Media, Inc., a software development company focused on distance learning, video streaming, and interactive products, winning numerous awards, including a coveted Muse Award for the creation of an educational software application built for the Smithsonian Institution.
Paul has co-written two technology books, both published by Apress: Spring Persistence — A Running Start, and Spring Persistence with Hibernate.
Brian D. Murphy has been enamored with computers and programming since he got his first computer, an Apple IIc, in 1984. He graduated from Rutgers University with a BS in computer science. He has focused on web development in a variety of settings ranging from early-stage startups to large, multinational corporations in fields covering e-commerce, consulting, finance, and media. He was an early adopter of Spring and Hibernate, and he has used both frameworks on large production systems since 2003.
In his present role, Brian is the chief architect and director of engineering at Condé Nast, where he oversees the web and mobile presence for 25 award-winning brands, such as WIRED, The New Yorker, Epicurious, and Vanity Fair. He and his team leverage both Spring and Hibernate to power all of Condé Nast’s online products, drawing tens of millions of unique visitors each month. Brian deals with the challenges of building and operating scalable, distributed systems every single day.
In this Book
-
Spring Persistence with Hibernate, Second Edition
-
Preface
-
Architecting Your Application with Spring, Hibernate, and Patterns
-
Spring Basics
-
Basic Application Setup
-
Persistence with Hibernate
-
Domain Model Fundamentals
-
Transaction Management
-
Effective Testing
-
Best Practices and Advanced Techniques