You can definitely debug EJBs with JBuilder Foundation. I believe there is
doc describing this on the JBoss website, but basically, you can probably
figure out how to set things up by examining the batch file used to start
JBoss. One thing of note: I am using JBuilder to edit and compile my
EJBs. Although this is not necessary - you could use javac with ANT for
example, I find it convenient and fast. In order to do this, the JBoss
project that you use to compile must have your EJBs and supporting classes
as source files for the project. If you subsequently jar up those EJBs and
deploy them to JBoss, and start JBoss from the same project, JBoss will not
work correctly. I forget the specific error messages, but the problem is
related to the fact that upon deployment, JBoss uses a classloader for each
EJB container, and if you leave the EJBs on the project's main classpath it
will cause classloading problems.
What I do then (and this is not the only solution) is to use 2 projects: 1
to edit/compile my ejbs (and servlets for that matter), and 1 to run the
JBoss server. In this second project, I do not put the ejbs on the
classpath...alllowing jBoss to add them to load them with the appropriate
classloader upon deployment.
With this setup, I am able to set breakpoints in the client and the
ejbs. Everything works quite nicely.
Hope this helps,
Rick Horowitz
At 12:57 PM 1/9/01 -0600, you wrote:
>I have JBuilder 4 foundation.
>
>1) Can i write EJB's with it that will work with JBoss or do i need the
>Enterprise edition for $2000?
>
>2) Can i debug my EJBs with Foundation or do i need Enterprise?
>
>3) If either of those answers is 'no', is there a free/cheap IDE i can
>use to write or debug EJBs under JBoss?
>
>--
>gedanken
>
>
>
>--
>--------------------------------------------------------------
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>List Help?: [EMAIL PROTECTED]
--------------------
Rick Horowitz
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]