You might look into Spring Batch or just use ClasspathApplicationContext to load up your context files in your main method.
http://stackoverflow.com/questions/707355/simple-spring-use-of-classpathapplicationcontext-for-standalone-apps-how-to-reu On Wed, May 19, 2010 at 8:57 AM, <t...@dds.nl> wrote: > > Is it possible to add a main method entry point to a struts/spring/hibernate > project? > so i can make an commandline version? > > i need to read a file into the database every 24 hours and would like to > reuse all the code. > > > > thanks, > > tibi > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net > For additional commands, e-mail: users-h...@appfuse.dev.java.net > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net