Rational Application Developer V7.5 Programming Guide

Readers' comments

Readers' comments (30) 

lockedThis discussion is now locked


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

Posted by Mr. Jeremy Hettenhouser on 4 December 2009 at 11:08

Mike,

The ftp files have a space in the name. Downloading via the browser link doesn't work unless you manually correct the url.

Posted by Mr. Ueli Wahli on 5 December 2009 at 10:45

Jeremy, the 3 links to the 3 files have no blanks. Not sure what you are seeing.

Posted by Mr. Gary Walthrop on 6 January 2010 at 13:44

I would like to do the redbank sames but the zInterchange folder is not present in the 7672code zip file.

Posted by Mr. Ueli Wahli on 7 January 2010 at 10:26

For the interchange files you have to download the file 7672codesolution.zip

Posted by Mr. Gary Walthrop on 11 January 2010 at 13:06

Interchange files are in 7672codesolution.zip? Can you tell me what sub-folder the are in? I don't see the zinterchange directory in the first level, and all of the subfolders are zipped. I have checked through them and apparently missed it.

Posted by Mr. Gary Walthrop on 11 January 2010 at 14:39

I get it now, I have to import each of the zip files at level 2 in 7672codesolution.zip from the list provided in the programming guide document in appendix B. A little confounding after reading about the one-stop solution in the zInterchange file that ins't provided. But I did get more practice at using the import facility that way.

Best regards

Posted by Mr. Gary Walthrop on 13 January 2010 at 9:35

I have imported all of the zip files into my workspace, and have resolved most of the problems dealing with pointing at libraries in the wrong directories. But I have 5 errors where where libraries are pointing at 2008 versions of files that don't exist on my machine. Example: org.eclipse.emf.common_2.4.0.v200806091234.jar

How do I resolve this? It might make an interesting chapter.

Posted by Mr. Ueli Wahli on 14 January 2010 at 10:41

Typically people work on one chapter and follow the chapter to develop the final code. The interchange file is provided as a help in case you get stuck. Your system seems to be at a different level than the product we used to write the book, so some references can be wrong. The JAR files are typically in SDP75Shared\plugins or SDP75\runtimes\base_v7\plugins folders. So look to where the bad reference points to, and then find a jar with a similar name.
Which projects do have bad references?

Posted by Joe Moenich on 26 January 2010 at 22:17

There still is an error with the additional materials links. There is an embedded blank before each file name causing the ftp to fail:

No webpage was found for the web address: ftp://www.redbooks.ibm.com/redbooks/SG247672/%207672code.zip

If you re-enter the url without the %20 you can then download the files.

Posted by Mr. Ueli Wahli on 28 January 2010 at 6:55

Where is the "bad"" link? In the book PDF (which page?) or on the Web site (which web address?).
The Additional materials link on the website looks ok:
http://www.redbooks.ibm.com/abstracts/sg247672.html?Open
And the links on the FTP site are good too:
ftp://www.redbooks.ibm.com/redbooks/SG247672/

Posted by Mrs. Deepa Badimala on 7 April 2010 at 15:18

Additional material is not downloadable. Thanks.

Posted by Mr. Mohamed El-Beltagy on 18 October 2010 at 4:16

For all the people who cannot download the additional materials: I have successfully downloaded the materials and there is nothing wrong with the URLs neither on the page nor inside the redbook itself.
May be it's the client you are using. I am using Firefox 3.6.10
Check your client. And if you are behind a firewall or proxy, make sure you have access to ftp protocol.

Posted by Albert Wong on 14 December 2010 at 13:34

I wish that there was a section on development scenarios with RAD 7.5 and ClearCase Remote Client. I'm in a company that is very blue but very new to using RAD 7.5 ClearCase Remote Client. Would love that there is a redbook that I coudl show them.

Posted by Mr. Elisamuel Lopez Martinez on 29 July 2011 at 15:51

thanks a lot.

Posted by Gary Woodward on 1 February 2012 at 17:34

I have downloaded the Programming Guide and the "Additional Materials" zip files for RAD 7.5 and I cannot find the zInterchange folder.
I expanded all zipped files in all sub-folders and still no zInerchange folder.
Moreover, the instructions in the programming guide do not correctly follow the correct installation/import procedure from what I can tell.
Has anyone documented the solution and, if so, would you be willing to share with a fellow developer? Thanks in advance for any assistance.

Posted by Gary Woodward on 1 February 2012 at 17:36

The Additional Materials were downloaded aproximately 8 - 9 months ago. Is it possible there is a newer, corrected version of the zipped folders?

Posted by Gary Woodward on 2 February 2012 at 10:03

So, I have discovered teh instructions in the SG247672 Redbook are actually referenceing the file folder zInterchange, which is only found in the SG247501 Redbook. Is this going to be corrected?

Posted by Mr. Ueli Wahli on 2 February 2012 at 11:39

Download the 2 ZIP files. Unzip 7672code.zip, which creates c:\7672code, then create zinterchange directory in 7672code. Unzip 7672solution.zip into 7672code\zinterchange. Sorry for the confusion.

Posted by iola stepp on 10 February 2016 at 16:56

my wife was looking for form name this month and saw a company with 6,000,000 forms . If others require CA 5020 as well , here's a http://pdf.ac/5fO8x2


Profile

Publish Date
29 June 2009


Rating:
(based on 11 reviews)


Author(s)

ISBN-10
073843289X

IBM Form Number
SG24-7672-00