I want to create an application that is as web-service
to deliver results straight from data base procedures
or java classes
, depending on user request via REST URL
.
I want it to be extendable in a way that I won't need to rebuild the WAR file
every time a developer creates a new Controller Class
. Instead, I should only need to put a .class file
in a specific folder and then register the new .class file in a XML Config File
of this application.
Is it possible? How can I call this external class from inside the application, create an object based on it and then execute one of it's methods according to user definition in the URL?
With PHP it is much easier because you don't compile it.