Jun 16th, 2006, 08:36 AM
How to package and access my classes from spring
Hi Spring enthusiasts,
i hope someone can help me with a question that might be easy. I 'm new to spring and read nearly whole spring doc but couldn't find an answer.
I use spring in a standalone non-web application and want to load my classes from jar files.
All my modules are in a modules folder zipped as jar.
Furthermore I have a second folder with several context files in which my jars are wired together in different ways.
What is the best way to make spring find the classes in my jars that represent my plugin modules? Is there a template for packaging spring beans?
I want to be able to put different jars i my modules dir and wire them up by my context so i can access these jars later via rmi. Do I need a special resource loader or do i have to unpack these jars first?
I would be very glad if someone can help me,