> -----Original Message----- > From: Magnus Grimsell [mailto:[EMAIL PROTECTED] > Sent: lundi 6 juin 2005 21:33 > To: Cactus Developers List > Subject: RE: cactus v2 > > > The other difference is that calling the server is left to > > the user using > > whatever tool he wants (httpunit, htmlunit, etc). Of course, > > we will add > > this facility to the usability layer I mentioned above. > > I'm still confused. How do I test components with no remote interface like > local EJB:s? > There is no way for the test to call the server. With todays architecture > this is easily done with the cactus servlet for example.
If there's no way inside the server then this portion of code will never be called and hence you don't need to test it! :-) This EJB will usually be called by a Servlet or some MDB or... So you'll intercept using the same principle as it is currently done with Cactus. Hope it helps, -Vincent --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]