However, I'm struck at Entity Beans examples. I can run through with the client programs with no problem; but, I can't see the tables created in HSQL DB. Has someone tried running the examples? Reema
You can't see the tables because the example is not running properly ? of because you don't know where the HSQL Database Manager is ?
In the case of the second option, all you have to do is:
1- Start Up JBoss. 2- Deploy ans test the example(s) and client(s). 3- Now to see the database schema go to: http://localhost:8080/jmx-console. 4- Click on "database=localDB,service=Hypersonic" under the title "jboss". 5- Scroll down and click on the "startDatabaseManager" MBean Operation "Invoke" button.
That will bring up the HSQL Database Manager where you can your database schema, run some sql statements, etc.
The books explains this in the CHAPTER WORKBOOK 4 with screen shots and everything.
Hi Ranchers, Fortunately now everything is working as expected.
This is quite strange; on my work PC I can't find the DB tables in the HSQL DB Manager GUI. However, on my home PC I can view the tables. I can't still figure out why is this so. Anyhow, I can run the examples now.
Did you read "EJB3 In Action" too ? If so, could you please compare them ?
I can't comment on this book. However, I read couple of chapters of Apress's "Beginning EJB 3.0"; this book is good in theory; but, I find the O'Reilly's EJB 3.0 to be far better in all respects. I would strongly recommend anyone preparing for the SCBCD exam to buy this book.
Regards, Reema SCJP, SCWCD
Quick! Before anybody notices! Cover it up with this tiny ad:
a bit of art, as a gift, the permaculture playing cards