I am a fan of JUnit ! I have been working with it for some time now
and I have come up with an extension of it for testing server-side
java code that is called either by Servlets or JSP. I thought that
you could find this of interest ...
I am a fan of JUnit ! I have been working with it for some time now and I have come up with an extension of it for testing server-side java code that is called...
Vincent Massol
vmassol@...
Nov 6, 2000 4:16 pm
Hi Vincent, I'm the only person subscribed to this list other than you. :) I haven't announced it yet, but will soon. How did you find it so fast? I just...
Erik Meade
emeade@...
Nov 7, 2000 3:15 am
He, he ! It seems it existed before you created it last night !, because I subscribed to it a week ago ... :)...
Vincent Massol
vmassol@...
Nov 11, 2000 10:08 am
Hi Vincent! I am a big fan of JUnit also. I too was once working on a framework much like the one you posted j2eeunit. Them someone showed me HttpUnit (which...
Jonathan Rasmusson
jr@...
Nov 10, 2000 11:47 pm
Hi Jonathan, HttpUnit and J2EEUnit are doing different things : - HttpUnit tests the result of calling a JSP or Servlet, i.e. it gets the HTML/XML/WML/......
Vincent Massol
vmassol@...
Nov 11, 2000 10:07 am
... Thats great to hear. I have done a considerable amount of EJB tests with JUnit and may be able to contribute. Cheers Jonathan...
Jonathan Rasmusson
jr@...
Nov 14, 2000 4:18 am
... How is this different from simply using JUnit? I can test java classes with it too. -- David Corbin Mach Turtle Technologies, Inc. ...
David Corbin
dcorbin@...
Nov 11, 2000 12:39 pm
Yes, you're right but some of these java classes need to have access to valid HttpServletRequest, HttpServleetResponse and HttpSession objects. One other...
Vincent Massol
vmassol@...
Nov 11, 2000 5:06 pm
Hi Jonathan, With the current J22EUnit, it is already possible to unit test EJBs. In your testXXX() method just do a lookup on the home, create the bean and...
Vincent Massol
vmassol@...
Nov 16, 2000 9:20 pm
Hi, We apply the following strategies to make our EJB's *fully* testable. 1. EJB's are thin. They are really really thin. The EJB is in fact an interface into...
Vera Peeters
vera.peeters@...
Nov 17, 2000 8:34 am
... So you don't implement business logic as session beans??? Sounds weird... ciao, Ilja...
Ilja Preuß
ilja.preuss@...
Nov 17, 2000 8:08 pm
... testable. ... packages is ... Home ... normal ... depending on a ... we ... debugging ... I think this is a great idea. Does this mean you essentially...
Jonathan Rasmusson
jr@...
Nov 19, 2000 4:28 pm
... No code duplication. ... No client code changes. My clients don't even notice wether they're running with a local or a remote EJB. ... We use the following...
Vera Peeters
vera.peeters@...
Nov 20, 2000 12:39 pm
... container does a ... mechanism ... side as ... the ... Thanks for the diagram! I know those are a pain to draw. I understand much more clearly what you...
Jonathan Rasmusson
jr@...
Nov 20, 2000 7:29 pm
... Yes, the declarations of the functions in MyEJBIF do mention RemoteExceptions. I like it this way because the declaration of the RemoteMyEJB simply ...
Vera Peeters
vera.peeters@...
Nov 22, 2000 8:17 am
... Why? I'm not an EJB guy, but it seems like responsibility of an EJB thing is to present network accessible interface. Since good OO design avoids many...
David Corbin
dcorbin@...
Nov 17, 2000 8:19 pm
... But an interface to *what*? ... EJB is a distributed component modell. Why distributed? Mainly for reliability and scalability: As you don't care where a...
Ilja Preuß
ilja.preuss@...
Nov 17, 2000 8:54 pm
In my implementation, the EJB is in fact an interface into a "Box". The clients of my "Boxes" don't know anything about Boxes. From their point of view,...
Vera Peeters
vera.peeters@...
Nov 18, 2000 10:31 am
... I think Vera described it better than I can. ... -- David Corbin Mach Turtle Technologies, Inc. http://www.machturtle.com dcorbin@......