On Fri, Sep 19, 2008 at 5:40 AM, Yann <[EMAIL PROTECTED]> wrote: > Yes we break ours projects into small one. Actually, we follow a multi layer > architecture so for 1 EAR we can have up to 10 modules. > > It is difficult to break this application but I understood your point of > view... > > The issue is that we often need to test our application that means create > the full EAR (a full multi module build) and deploy it to the application > server. > And unfortunately all the tests can not be done out of the container... > So how do you mange this long lifecycle ? >
Write tests that don't rely on the container. You use inversion of control and then create mocks for the dependencies. Your application can also benefit from this by using spring to manage the dependencies in the deployed application too. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
