To bring things back on topic,

If you use Junitee, make sure you add :

        @ejb.util
        generate="physical"

To your class level tags, as the default is to use the JNDI-ENC which is
not always available to the web tier, this tag will use the JNDI tag as
per your class level tags.

Otherwise you can't guarntee your util classes will work!

Search the archives for a better explanation from Marcus Brito, thanks
again Marcus.

Oisin

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 06 March 2003 07:16
To: [EMAIL PROTECTED]
Subject: Re: [Xdoclet-user] JUnit test for
<SomeObject>Util.getLocalHome()



Try
http://www.junitee.org/

Michel



 

                      "Chris Butler"

                      <[EMAIL PROTECTED]>                 To:
<[EMAIL PROTECTED]>

                      Sent by:                             cc:

                      [EMAIL PROTECTED]        Subject:
[Xdoclet-user] JUnit test for <SomeObject>Util.getLocalHome()

                      ceforge.net

 

 

                      05/03/2003 17:54

                      Please respond to

                      xdoclet-user

 

 





Maybe I'm just daft here, but what's the easiest way to use Junit to do
local Util Object testing?
In particular I want to do something like:

 SomeObjectLocalHome lhome = SomeObjectUtil.getLocalHome();

Also I've noticed that junitejb.sourceforge.net seems to have
disappeared?
I thought that JBoss used junitejb for its testing.

Anyone have some insight here?

Thanx,
Chris





-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The
debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost
and 
disoriented. TotalView can help you find your way. Available on major
UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user




-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to