• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
Sheriffs:
  • Devaka Cooray
  • paul wheaton
  • Mark Herschberg
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
  • Jj Roberts
Bartenders:
  • Carey Brown
  • salvin francis
  • Piet Souris

O'Reilly's Enterprise JavaBeans 3.0 for SCBCD

 
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All,
I've just started preparing for the SCBCD exam and wanted to share my experience with fellow ranchers.

I tried a few books on EJB 3.0 but none could get close to OReilly's "Enterprise JavaBeans 3.0" ....this book rocks!!

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?

Regards,
Reema
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I tried a few books on EJB 3.0


Did you read "EJB3 In Action" too ? If so, could you please compare them ?
 
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Reema Patel:

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.

Regards,
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I tried several examples in this book, and It's ok for me. I can see tables as explained below. What's exactly your problem ?

Don't forget than you can use Eclipse WPT to run examples too. I found this easer than ant tasks.

Good luck.
 
Reema Patel
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

Regards,
Reema
SCJP, SCWCD
 
Reema Patel
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Initially posted by Verre:

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
 
Whip out those weird instruments of science and probe away! I think it's a tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic