~pperalta

Thoughts on software development and other stuff

Using Acegi to create portable J2EE applications

without comments

Matt Raible’s latest blog entry talks about using Acegi for J2EE security and a Spring configured DataSource in order to make J2EE applications (and AppFuse in particular) platform independent. In my experience, setting up a connection pool in an application server is usually not too difficult, whereas setting up container managed security is usually a PITA. Therefore, I use Acegi for security since it really does decouple your application from the container, but I continue to rely on the application server’s connection pooling. Using this strategy, I have deployed my application on JBoss, WebSphere, and WebLogic with no code changes.

Written by Admin

September 17th, 2005 at 12:32 am

Posted in Development