Re: how Dynamically load a GWT Java class

2016-03-29 Thread Velusamy Velu
What's your use case? Why would you let a user upload code that may potentially break your application? Have you assessed the security risk? On Tuesday, March 29, 2016 at 7:52:25 AM UTC-4, junaidp wrote: > > What I am trying to do is giving user option to upload a GWT composite > > As user uplo

Re: how Dynamically load a GWT Java class

2016-03-29 Thread Jens
You are aware that GWT compiles Java code to JavaScript code and thus once you uploaded a java file you would need to compile it to JavaScript in order to display anything in the browser? What you want to do would mean that your server needs to modify the source code of your app and then recom

how Dynamically load a GWT Java class

2016-03-29 Thread junaid
What I am trying to do is giving user option to upload a GWT composite As user upload a java class (which is some layout with GWT widgets) , Our application will displays that layout. lets says its LoginPageView.java class . Now what i do is , After uploading I place the class in some Client pac