Executing java file from DB
I am not sure how logical my question is but it struck me so here I am.
For a application whose logic changes frequently, the problem with keeping the application up becomes a problem as there have to be a lot of deployments to keep the logic up to date.
Is it possible to store a Java file into DB and then at create its class at runtime and have it run on the Application Server.
I think we can store --> retrive---> and make an object of class at run time using normal sql queries and Reflections in Java but I am not sure how will it will behave when it runs on the App Server.
Anyone implemented such case.??
If yes ,is it advisable to go via this approach.What could be the pros and cons .
Thanks ,
Ankur