Posted by Mr. Chris Day on 11 March 2010 at 17:46
Looks like a great guide for beginning with these tools, and applying them to the JavaEE development process!
Would be great to get the associated materials, so that can continue to work through the book
Posted by Charles Brown on 12 March 2010 at 10:08
The samples files should have been posted to the additional materials link when the draft was published but it was not. I am trying to get this fixed, but the contact might be out until early next week.
If you want the samples sooner, send me an e-mail at firstname.lastname@example.org and I can send directly to you.
Posted by Mike Schwartz on 16 March 2010 at 10:01
Posted by Gang Zheng on 7 June 2010 at 14:06
I was trying to follow the guide in this book. It seemed successful until I finished "5.8 Test the Employee and Donate entities". When I exited RAD for the day and came back the next day, I can't open up the project. It says:
Could not create the view: Plug-in org.eclipse.jdt.ui was unable to load class org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart.
I'm not sure if this has something to do with the content of the book, or it is a RAD's bug. I was using RAD v184.108.40.206.
Posted by Charles Brown on 14 June 2010 at 12:14
Gang, I checked on various databases and I was not able to find any specific issues that match your problem. I have two suggestions:
a) Have you tried restarting RAD from the command line using the clean parameter? e.g. eclipse.exe -clean
b) If that fails, you might need to create a new workspace (and in the new workspace import your existing projects). You will need to reconfigure the workspace preferences and data sources, but at least you will preserve the rest of your work.
Posted by 祥一郎 武下 on 23 June 2010 at 0:13
Hi, I have the same problem as the one of Gang Zheng. RAD version is v220.127.116.11.
The same problem was observed both when creating JUunit project (5.8.1) and importing ch5-jpa.zip.
I wonder this version of RAD has a problem to perform "5.8.1 Create the JUNIT project" and to import ch5-jpa.zip. Appreciate your investigation.
Posted by yu wang on 23 June 2010 at 2:54
On page 319 of 648, I can find " JavaServer Faces IBM Enhanced Project " on my RAD 7.5.0
Posted by Mr. Germanno Teles on 9 August 2010 at 12:36
I was trying to execute the JUnit test in Chapter 5 but every time I run the erro occur
javax.persistence.PersistenceException: No Persistence provider for EntityManager named DonateJPAEmployee:
Anybody know what it is?
Posted by Charles Brown on 10 August 2010 at 15:44
Hmmm ... what is your complete error message., and are you seeing this in the Junit tab failure trace window or in the Console View?
I tried recreating your situation -- by having persistence.xml in the wrong folder, by having a mismatch between EntityTester and persistence.xml (e.g. have one with DonateJPAEmployee2 and one with DonateJPAEmployee), by stopping the derby network server, by running as a Junit3 test case instead of Junit4 -- but I was not able to recreate.
Posted by Charles Brown on 10 August 2010 at 15:45
Note that you can also import the jumpstart zip shipped with the product on the additional materials page. You can import the chapter 5 project interchange. This contains the workspace as it should exist after completing chapter 5, and you can compare to your current configuration/setup
Posted by Dr. Anil Chaudhary on 14 January 2011 at 22:33
Great job by Ueli Wahli's team. It must be in shelf of all java programmer, but when I was trying to explore the possibilities of RTC to connect the Jazz server through RAD7.5 it saying there is version issue for which I have walked through developer's work web site but unfortunately couldn't find the solution
Posted by Mr. Amr Hathout on 4 January 2012 at 11:40
A great effort and wonderful Book indeed, it stitches out a lot of knowledge needed in a single brain. Please keep it up.
Further , i had a problem reaching the 5.8.4 Run the JUnit test, The error on the failure trace is "A connection could not be obtained for driver class "org.apache.derby.jdbc.ClientDriver" and URL "jdbc:derby://localhost:1527/Vacation". You may have specified an invalid URL."
I am using Version: 18.104.22.168
Appreciate any help please
Posted by Charles Brown on 5 January 2012 at 10:17
Two possible sources that come to mind.
First, the Derby Network Database may not be not started. Re-run step 1 under 5.8.4. -- running the startNetworkServer command
-- and see if that helps.
Second, the database may not exist -- in this case the Vacation Database. Re-run Chapter 4 -- in particular 4.4 Create and
Configure the Vacation database.
If you still have problems, drop me an e-mail at email@example.com and we can discuss further.
Posted by Vince Thyng on 19 March 2013 at 20:57
I am at the point where I need to create the vacation table, but I can not find the SQL Scrapbook icon. I have tried reinstalling RAD and am on latest version 7.5.5 ifix 1. I found one stackflow post where Data Tools Plugin is needed for it to appear, however Data Tools is listed in Install Manager. Downloaded DTP 1.10 zip , but can't figure out how to install it.
Posted by Charles Brown on 21 March 2013 at 16:23
First, check and make sure that you are in the Database Development perspective (the title of the perspective should appear across the top).
Second, if you are in the Database Development perspective and still cannot see the icon, try right-clicking on the connection name in the Data Soruce Explorer, and you should see the option Open the SQL Scrapbook.
Hope this helps!