I\'m trying to create a plugin system for my application, and I want to start with something simple. Every plugin should be packed in a .jar file and implement the Sim
The solution for your application concept has been already described in Oracle Documentation (including dynamically loading JARs)
Creating Extensible Applications With the Java Platform http://www.oracle.com/technetwork/articles/javase/extensible-137159.html
on the bottom of the article you will find links to
In my opinion it is better to slightly modify Oracle's example than reinventing the wheel as Omer Schleifer said.