Link to home
Start Free TrialLog in
Avatar of thomas908
thomas908

asked on

Jbuilder X, debugging EJB

I have just started using Jbuilder X and EJB with Jboss server. Both Jboss and Jbuilder X are on the same machine.
Can someone plz give me some links to some articles and tutorials as hot to debug EJB's using Jbuilder X with Jboss
I have tried the JbuilderX help but its not working.

 
SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of thomas908
thomas908

ASKER

Thanks objects
That was a really useful document
Actually the problem i am facing is that the debugger keeps on moving on the client and does not go inside the bean.
Say I have a bean called "Advice" in which I have a method called getAdvice().
From the client I am calling
   
1.      Advice advisor = adviceHome.create();
2.      System.out.println(advisor.getAdvice1());

The probelm is when the debugger reaches line 2 it does not go inside the bean but just prints the results from the bean. That mean I can only debug the client using  the debugger but can't go inside the bean to debug the bean.

Do you have JBoss source code configured in JBuilder (you will need that if you want to trace into their code).
Also, try putting a breakpoint in Advice EJB in getAdvice1 method
I don't want to go into the Jboss source code. i only want to go into the code of the bean I have created. At the moment it debugs only the client for the bean but doesn't go inside the bean.

>>Also, try putting a breakpoint in Advice EJB in getAdvice1 method
Tried that, doesn't help
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks a lot
You are welcome. :-)