users@jersey.java.net

Loading files during initialization

From: Marco FAQ <marcofaq_at_gmail.com>
Date: Sat, 17 Oct 2009 18:45:21 -0700

I am giving Jersey + Tomcat a try for developing a web service first time.

The service needs to read/load up a bunch of files (data source) in to
memory during initialization. What's the easiest way to do this? The
location of the files should be configurable (part of web.xml?).

thanks,

Marco