Readers' comments (11) 
Posted by yu wang on 11 December 2008 at 6:16 The Guide is not clear. If i writer the book, I will write the following sample : 1. A program with JSP/Servlet/DTO/SessionBean/JPA 2.A coponent with JSF/DTO/Sessionbean /JPA Special method sample: JSF/JPA |
Posted by Ueli Wahli on 12 December 2008 at 9:45 We did not want to have too many dependencies between chapters. In the EJB chapter we have a Web application with servlets/JSPs that uses a session bean and JPA. We could have connected the Struts and JSF samples to a session bean as well. However, the tooling provides the function of connecting JSF directly to JPA, and we wanted to show that. |
Posted by Franz Zinecker on 21 June 2009 at 4:06 I am missing the chapter about Java UI. To have an example with AWT/Swing Classes or SWT/JFace would be very interesting. |
Posted by Stuart Smith on 29 June 2009 at 21:41 I'm disappointed that this Redbook shows using the JNDI name of the data source directly in the JPA persistence.xml file. The issue with this is that if you do this there is no setting available in the WebSphere admin console that allows you to change this or EVEN TO SEE THE VALUE! In my opinion this Redbook needs to be updated to show the best practice of linking JPA to a resource reference which provides flexibility for administrators. |
Posted by Mr. Ueli Wahli on 30 June 2009 at 8:22 Re: Java UI RAD 7.5 does not include the GUI builder that was in RAD 7.0. That is why that chapter is missing. The application client chapter sample actually is a GUI application. Re: JPA data source The JPA and EJB chapters had to be small for the large RAD programming guide and could not include all the possible options. |
Posted by Stuart Smith on 30 June 2009 at 22:13 Even if the chapters had to be short they should still show the best practice of using resource reference from persistence.xml. If you can only show one option, show the best. I think the issue is that it is not easy to tell the straight JNDI option is not the best until you try to deploy the application directly from an EAR outside a test environment. |
Posted by Eduardo Vizuete on 3 July 2009 at 15:58 in the page 457 you use the anottation @ManyToOne @JoinColumn(name="ACCOUNT_ID") private Account account; but in the page 472 you use the annotation @ManyToOne @ForeignKey private Account account; this cause an error when try of expose this method as web service in wasce 2.1 |
Posted by Mr. Ueli Wahli on 4 July 2009 at 9:34 Page 457/458 describes a many-to-many relationship, which requires an intermediate table. Page 472 describes a many-to-one relationship, which requires a foreign key (in Transaction, pointed to an Account). If you have a problem in WAS CE, you have to document properly and use the IBM support channel. |
Posted by Mr. chandrasekar subramani on 14 August 2009 at 3:32 hi, i want to get uml knowldge |
Posted by Shiv Panda on 21 October 2009 at 11:38 From where can i downloand sample files? The URL to addtional material doesn't work. |
Posted by Mike Schwartz on 22 October 2009 at 7:45 Shiv, I just checked and the link does work for me - ftp://www.redbooks.ibm.com/redbooks/SG247672/ At the bottom of our tips page we have some hints for using the additional materials. Please see: http://www.redbooks.ibm.com/Redbooks.nsf/pages/pdftips?Open |
