I am writing framework which required to store methods in database. The thing is I have written all the method in java file, now I have UI where user will select the method and when user click on save button, system needs to copy selected method from java file and save in database, the reason doing this is when running application system will call id which will be mapped with stored method in database and will execute that method to achieve goal. Is this possible? and how to copy method from java class file and store in db?
Is there any other suggestion or input will be more appreciated.
Thanks,