Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

debuggin EJBS with Jdeveloper

Status
Not open for further replies.

Toe

Programmer
Oct 26, 2001
71
GB
hi,

I am currently working on a project that uses EJBS (running under oracle's OC4J).

I have jdeveloper very good for debugging the cleint code (great the way you can step though and put breaks in).

I really need to do the same though with the ejb code.(so far I can see the line its gettign to in the client - but can't tell what heppens when it calls the bean)

i have been told you can set up JDeveloper to do a similar thing with the EJB's, but can't get it to work!!

anyone know how to do that?

thanks
 
You need to use JDPA to connect to the 'remote' server. You should be able to start the J2EE server in JDPA debugging mode (check OC4J documentation), then attach to it from your JDeveloper IDE (again, check the documentation).

Tim
---------------------------
"Your morbid fear of losing,
destroys the lives you're using." - Ozzy
 
thanks.

excuse my ignorance... what is JPDA? is it another product?
 
Java Platform Debugging Architecture.

It is part of the JVM and allows external applications like IDEs to get debugging info from a running JVM. The JVM and the application using the JPDA interface on that JVM do not have to be in the same process or on the same machine. This makes it possible to debug your EJBs running within a J2EE Application Server.

Tim
---------------------------
"Your morbid fear of losing,
destroys the lives you're using." - Ozzy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top