We are using Tomcat to deploy our Vaadin-Application. No problems there.
What we would like to do, though, is to execute java-code without redeploying our application. For example: we would like to give the end-user the possibility to add code to our program. So every time a button is pressed the end-user code gets executed as well. (e.g. add extra logging functionality, inform a different user via mail….).
It would also be fine, if the end-user could only use certain classes/methods. e.g.:
this.sendMail(“abc@yxz.com”)
Is this possible? I would appreciate it if anyone could give me a starting point where to look.
Thanks in advance,
Stephanie
I would have a look at BeanShell. This is used in a number of IDEs to add code in running programs.