In this revised edition of Just Spring, you’ll get your hands deep into sample code, beginning with a problem that illustrates Spring’s core principle: dependency injection. In the chapters that follow, author Madhusudhan Konda walks you through features that underlie the solution.
Through sample code, you’ll discover how Spring streamlines the use of JDBC and ORM tools such as Hibernate, the Java Persistence API (JPA), and Java Data Objects (JDO). If you’re a Java developer familiar with Spring (perhaps through O’Reilly’s Just Spring tutorial) and want to advance your data access skills, this book shows you how.Learn how to use Spring’s basic and advanced data access toolsWork with Spring’s JdbcTemplate class to separate non-critical code from business codeEliminate placeholder variables in your queries with the NamedParameterJdbcTemplate classUse Spring’s template classes to perform batch executionsOperate inserts on database tables without writing any SQL statementsLearn about Spring’s support for Hibernate as an object-relational-mapping toolUse JPA as a standards-based ORM—alone or with Spring supportMove data from a relational to a non-relational database with JDO
• How to programmatically configure the Spring container and beans
• How to use annotations for dependency injection
• How to use collections and custom types
• How to customize and configure bean properties and bean lifecycle interfaces
• How to handle metadata using XML, annotations, and the Groovy bean reader
• How to use the new Spring Boot and Spring XD
After reading this book, you will have all you need to start using the Spring Framework effectively.
Storing Java objects in relational databases is usually a challenging and complex task for any Java developer, experienced or not. This book, like others in the Just series, delivers a concise, example-driven tutorial for Java beginners. You’ll gain enough knowledge and confidence to start working on real-world projects with Hibernate.Compare how JDBC and Hibernate work with object persistenceLearn how annotations are used to create Hibernate applicationsUnderstand how to persist and retrieve Java data structuresFocus on the fundamentals of associations and their mappingsDelve into advanced concepts such as caching, inheritance, and typesWalk through the Hibernate Query Language API, with examplesDevelop Java Persistence API applications, using Hibernate as the providerWork hands-on with code snippets to understand the technology
Pro Spring 3 updates the bestselling Pro Spring with the latest that the Spring Framework has to offer: version 3.1. At 1000 pages, this is by far the most comprehensive Spring book available, thoroughly exploring the power of Spring.
With Pro Spring 3, you’ll learn Spring basics and core topics, and gain access to the authors’ insights and real–world experiences with remoting, Hibernate, and EJB. Beyond the basics, you'll learn how to leverage the Spring Framework to build various tiers or parts of an enterprise Java application like transactions, the web and presentations tiers, deployment, and much more. A full sample application allows you to apply many of the technologies and techniques covered in this book and see how they work together.
After reading this definitive book, you'll be armed with the power of Spring to build complex Spring applications, top to bottom.