Wrox Programmer Forums
|
BOOK: Beginning Spring Framework 2 ISBN: 978-0-470-10161-2
This is the forum to discuss the Wrox book Beginning Spring Framework 2 by Thomas Van de Velde, Bruce Snyder, Christian Dupuis, Sing Li, Anne Horton, Naveen Balani; ISBN: 9780470101612
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Spring Framework 2 ISBN: 978-0-470-10161-2 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 3rd, 2009, 05:09 PM
Authorized User
 
Join Date: Aug 2009
Posts: 10
Thanks: 3
Thanked 3 Times in 3 Posts
Default Questions and Issues Chapters 3 and 4

Pg. 82, AlbumJpaRepository class code:
What is "... 49660 Server c2,3" ? Could not find it in the source code.

Pg. 86, Changing JPA Providers, 3rd paragraph, Line 2:
"... you need to add the following bean definition..." ? No <bean> definition follows. I looked in the persistenceContext.xml file and think that it might be <bean class="org.springframework.orm.jpa.support.persist enceAnnotationBeanPostProcessor"/>. Is this correct?

Pg. 87, Persisting the PixUser POJO, bottom of page:
Question - It says that the @Transient annotation causes the property not to be persisted. It shows the @Transient annotation applied to the PixUser.addAlbum method and relates that the method is a property. I am confused by this. How does @Transient applied to a method cause a property not to be persisted?

Pg. 93, How It Works, 4th paragraph, code:
...configLocations = ... I think this code comes from UserJpaRepositoryTest.java. The source code is not the same. The second array element does not match. Book = "com/wrox/beginspring/pix/dao/persistenceContext-Test.xml"; Source code = "persistenceContext-Test.xml". Is it as simple as the book including the entire path vs just the filename?

Pg. 106, Resolving View Names, pix-servlet.xml code, highlighted text:
<bean id="viewResolver"... />". id=viewResolver" is not in the source code. Is this a problem? Doesn't seem to be.

Pg.117 - 122, TryItOut Gathering User Feedback:
Everything works fine until you introduce an error condition. The redisplayed feedbackform.jsp page does not display any error messages at the top of the page. This happens because the error keys used in FeedbackFormController.class, FeedbackFormValidator.class [inner class], validate method [pg. 119 - 120] are not included in the /resources/labels.properties file.
Add the following:
#FeedbackForm
error.rating.required=error message to display.
error.email.required=error message to display.
error.email.format=error message to display.

This concept is unfortunately not explained until chapter 5.

That's it. Thank you for your help with these Issues/Questions. Hope I didn't forget anything. Hope it makes sense. Hope it helps.

Until next time.........

EverettG.





Similar Threads
Thread Thread Starter Forum Replies Last Post
General Pitfalls Chapters 3 and 4 egoodenuf BOOK: Beginning Spring Framework 2 ISBN: 978-0-470-10161-2 0 October 3rd, 2009 04:47 PM
Chapter 7 Workflow setup issues and questions tdewey BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio 3 April 20th, 2009 11:22 PM
connection string issues, web.config file issues kaliaparijat ASP.NET 2.0 Professional 1 June 12th, 2008 08:07 AM
chapters 4,5,6 are so boring! johnperez BOOK: Expert SQL Server 2005 Integration Services ISBN: 978-0-470-13411-5 0 April 3rd, 2008 05:05 PM
Table and chapters details SoftMind BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 4 April 10th, 2006 09:24 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.