• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Mike London

Loading an external Jar file in a Spring application

Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I have a Spring based simple JavaSE application packed into a jar file with spring configuration xml in the META-INF. A main method starts the application. Everything works fine, but I run into a problem:
I have to use an external Jar file(s) which names are not predefined and I have to access them runtime.
I don't know how could I solve this. Maybe I should do class loading manually, or something, but I have never done such thing before.

I'd appreciate any recommendation or idea if you have any experience with such things?

Thanks in advance,
    Bookmark Topic Watch Topic
  • New Topic