Beginning Spring Framework 2
The authors show readers how to build a working web application using Spring with other open source tools and technologies, all of which can be freely downloaded and installed via the Internet. Each chapter builds a portion of the application. All the Spring concepts and construction techniques are introduced during the design and coding of this application. (With minor adaptation, the resulting code can be re-used by readers in their own working applications.)
Chapter 1: Jump Start Spring 2.
Chapter 2: Designing Spring Applications.
Chapter 3: Spring Persistence Using JPA.
Chapter 4: Using Spring MVC to Build Web Pages.
Chapter 5: Advanced Spring MVC.
Chapter 6: Spring Web Flow.
Chapter 7: Ajax and Spring: Direct Web Remoting Integration.
Chapter 8: Spring and JMS — Message-Driven POJOs.
Chapter 9: Spring Web Services and Remoting.
Chapter 10: Web Service Consumer and Interoperation with .NET.
Chapter 11: Rapid Spring Development with Spring IDE.
Chapter 12: Spring AOP and AspectJ.
Chapter 13: More AOP: Transactions.
Appendix A: Maven 2 Basics.
Appendix B: Spring and Java EE.
Appendix C: Getting Ready for the Code Examples.
Bruce Snyder is a veteran of enterprise software development and a recognized leader in open-source software. Bruce has experience in a wide range of technologies including Java EE, messaging, and serviceoriented architecture. In addition to his role as a principal engineer for IONA Technologies, Bruce is also a founding member of Apache Geronimo and a developer for Apache ActiveMQ, Apache ServiceMix, and Castor, among other things. Bruce serves as a member of various JCP expert groups and is the co-author of Professional Apache Geronimo from Wrox Press. Bruce is also a frequent speaker at industry conferences, including the Colorado Software Summit, TheServerSide Java Symposium, Java in Action, JavaOne, ApacheCon, JAOO, SOA Web Services Edge, No Fluff Just Stuff, and various Java users groups. Bruce lives in beautiful Boulder, Colorado with his family.
Christian Dupuis is working for one of the world’s leading consulting companies and is a member of the Technical Architecture capability group. Christian has been working as a technical architect and implementation lead to design and implement multi-channel, mission-critical financial applications that leverage Spring and other open-source frameworks across all tiers. Christian is co-lead of the Spring IDE open-source project (http://springide.org), providing tool support for the Spring Portfolio.
Sing Li (who was bitten by the microcomputer bug in the late 1970s) has grown up in the Microprocessor Age. His first personal computer was a $99 do-it-yourself Netronics COSMIC ELF computer with 256 bytes of memory, mail-ordered from the back pages of Popular Electronics magazine. A 25-year industry veteran, Sing is a system developer, open-source software contributor, and freelance writer specializing in Java technology and embedded and distributed systems architecture. He regularly writes for several popular technical journals and e-zines, and is the creator of the Internet Global Phone, one of the very first Internet phones available. He has authored and co-authored a number of books across diverse technical disciplines including Geronimo, Tomcat, JSP, servlets, XML, Jini, media streaming, device drivers, and JXTA.
Anne Horton has worked in the software industry for 24 years as a software engineer, textbook technical editor, author, and Java architect. She currently works for Lockheed Martin and spends her weekends working with Sing Li (author) and Sydney Jones (editor) in developing bleeding-edge books such as this one. You can email her at firstname.lastname@example.org.
Naveen Balani works as an architect with IBM India Software Labs (ISL). He leads the design and development activities for the WebSphere Business Service Fabric product out of ISL. He likes to research upcoming technologies and is a regular contributor to IBM developer works covering such topics as web services, ESB, JMS, SOA, architectures, open-source frameworks, semantic web, J2ME, persuasive computing, the Spring series, AJAX, and various IBM products. You can e-mail him at email@example.com.
|All code downloads / samples from the book
|1.19 MB||Click to Download|
Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.
|47||Error in Directory
"Trying it Out -- Creating Unit Test Cases"
bullet item 1. says,
|61||Error in Text
In Step 3 on Page 61, the following text should be added:
If you look under wrox-pix-web/src/test/resources, you will find a file named pixhsql.sql This file is an SQL command file. Load it into a text editor to view if you are curious. It basically contains the SQL commands to create the required tables.
You should first run the following command to create the tables:
java -cp ./target/pixweb-0.0.1/WEB-INF/lib/hsqldb-188.8.131.52.jar org.hsqldb.util.SqlTool pix-sa src/test/resources/pixhsql.sql
The output you will see is:
1 row updated
1 row updated
The above must be executed before using the following command as detailed in Step 3 on Page 61:
java -cp ./target/pixweb-0.0.1/WEB-INF/lib/hsqldb-184.108.40.206.jar org.hsqldb.util.SqlTool pix-sa
|62||Error in Text
On Page 62, Step 4, the command to execute the AlbumDaoTest needs to be modified slightly:
mvn exec:java -Dexec.classpathScope=test -Dexec.mainClass=com.wrox.beginspring.pix.dao.examples.AlbumDaoTest
The additional -Dexec.classpathScope=test tells Maven to include the default test classpath when looking for Java classes to execute.