On May 21, 2009, at 7:23 AM, Ted Schrader wrote:

> Hello all,
>
> Newbie question: I'm transitioning from Struts1 to Stripes (hooray!).
> I'm using iBATIS for DB access, and in the past I've used the Struts1
> plugin architecture to initialize the iBATIS sqlmaps instance on
> application startup.
>
> How can I do something similar with Stripes?  I suppose the case could
> be extended to any sort of sub-package initialization like, say,
> first-time Lucene indexing.
>
> I feel like I'm simply missing something silly but perhaps I'm going
> about it in a totally un-Stripesy way.  Below are my feeble attempts.

If you're missing something "Stripesy" then that makes two of us.

I would simply do this either with a ServletContextListener, or a  
simply a Servlets init method that has its Load On Startup parameter  
set.

Regards,

WIll Hartung


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to