Spring: A developer's Notebook

Spring: A developer's Notebook

by Bruce Tate, Justin Gehtland

Paperback(1st Edition)

$26.96 $29.95 Save 10% Current price is $26.96, Original price is $29.95. You Save 10%.
View All Available Formats & Editions
Choose Expedited Shipping at checkout for guaranteed delivery by Friday, September 20


Since development first began on Spring in 2003, there's been a constant buzz about it in Java development publications and corporate IT departments. The reason is clear: Spring is a lightweight Java framework in a world of complex heavyweight architectures that take forever to implement. Spring is like a breath of fresh air to overworked developers.In Spring, you can make an object secure, remote, or transactional, with a couple of lines of configuration instead of embedded code. The resulting application is simple and clean. In Spring, you can work less and go home early, because you can strip away a whole lot of the redundant code that you tend to see in most J2EE applications. You won't be nearly as burdened with meaningless detail. In Spring, you can change your mind without the consequences bleeding through your entire application. You'll adapt much more quickly than you ever could before. Spring: A Developer's Notebook offers a quick dive into the new Spring framework, designed to let you get hands-on as quickly as you like. If you don't want to bother with a lot of theory, this book is definitely for you. You'll work through one example after another. Along the way, you'll discover the energy and promise of the Spring framework.This practical guide features ten code-intensive labs that'll rapidly get you up to speed. You'll learn how to do the following, and more:

  • install the Spring Framework
  • set up the development environment
  • use Spring with other open source Java tools such as Tomcat, Struts, and Hibernate
  • master AOP and transactions
  • utilize ORM solutions
As with all titles in the Developer's Notebook series, this no-nonsense book skips all the boring prose and cuts right to the chase. It's an approach that forces you to get your hands dirty by working through one instructional example after another-examples that speak to you instead of at you.

Product Details

ISBN-13: 9780596009106
Publisher: O'Reilly Media, Incorporated
Publication date: 04/01/2005
Series: Developer's Notebook Series
Edition description: 1st Edition
Pages: 216
Product dimensions: 7.00(w) x 9.19(h) x 0.52(d)

About the Author

Bruce A. Tate is a kayaker, mountain biker, and father of two. In his spare time, he is an independent consultant in Austin, Texas. In 2001, he founded J2Life, LLC, a consulting firm that specializes in Java persistence frameworks and lightweight development methods. His customers have included FedEx, Great West Life, TheServerSide, and BEA. He speaks at conferences and Java user's groups around the nation. Before striking out on his own, Bruce spent 13 years at IBM working on database technologies, object-oriented infrastructure, and Java. He was recruited away from IBM to help start the client services practice in an Austin startup called Pervado Systems. He later served a brief stint as CTO of IronGrid, which built nimble Java performance tools. Bruce is the author of four books, including the bestselling Bitter Java, and the recently released Better, Faster, Lighter Java, from O'Reilly. First rule of kayak: When in doubt, paddle like Hell.

Working as a professional programmer, instructor, speaker and pundit since 1992, Justin Gehtland has developed real-world applications using VB, COM, .NET, Java, Perl and a slew of obscure technologies since relegated to the trash heap of technical history. His focus has historically been on "connected" applications, which of course has led him down the COM+, ASP/ASP.NET and JSP roads.Justin is the co-author of Effective Visual Basic (Addison Wesley, 2001) and Windows Forms Programming in Visual Basic .NET (Addison Wesley, 2003). He is currently the regular Agility columnist on The Server Side .NET, and works as a consultant through his company Relevance, LLC in addition to teaching for DevelopMentor.

Table of Contents

How to Use This Book;
Conventions Used in This Book;
Using Code Examples;
Comments and Questions;
Safari Enabled;
Collective Acknowledgments;
Acknowledgments from Bruce;
Acknowledgments from Justin;
Chapter 1: Getting Started;
1.1 Building Two Classes with a Dependency;
1.2 Using Dependency Injection;
1.3 Automating the Example;
1.4 Injecting Dependencies with Spring;
1.5 Writing a Test;
Chapter 2: Building a User Interface;
2.1 Setting Up Tomcat;
2.2 Building a View with Web MVC;
2.3 Enhancing the Web Application;
2.4 Running a Test;
Chapter 3: Integrating Other Clients;
3.1 Building a Struts User Interface;
3.2 Using JSF with Spring;
3.3 Integrating JSF with Spring;
Chapter 4: Using JDBC;
4.1 Setting Up the Database and Schema;
4.2 Using Spring JDBC Templates;
4.3 Refactoring Out Common Code;
4.4 Using Access Objects;
4.5 Running a Test with EasyMock;
Chapter 5: OR Persistence;
5.1 Integrating iBATIS;
5.2 Using Spring with JDO;
5.3 Using Hibernate with Spring;
5.4 Running a Test Case;
Chapter 6: Services and AOP;
6.1 Building a Service;
6.2 Configuring a Service;
6.3 Using an Autoproxy;
6.4 Advising Exceptions;
6.5 Testing a Service with Mocks;
6.6 Testing a Service with Side Effects;
Chapter 7: Transactions and Security;
7.1 Programmatic Transactions;
7.2 Configuring Simple Transactions;
7.3 Transactions on Multiple Databases;
7.4 Securing Application Servlets;
7.5 Securing Application Methods;
7.6 Building a Test-Friendly Interceptor;
Chapter 8: Messaging and Remoting;
8.1 Sending Email Messages;
8.2 Remoting;
8.3 Working with JMS;
8.4 Testing JMS Applications;
Chapter 9: Building Rich Clients;
9.1 Getting Started;
9.2 Building the Application Shell;
9.3 Building the Bike Navigator View;
9.4 Building the Bike Editor Forms;

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews