On Mar 8, 8:35 pm, Larry Cable <larry.ca...@gmail.com> wrote: > On Mar 7, 12:13 am, Rick Smith <rick....@gmail.com> wrote: > > > Hi all > > > Can I create and compile a java class at run time on goolge > > appengine. > > Use case: I have given a UI to my application user that they can > > define their own business logic.Now what is going to be main challenge > > is that I need to make new deployment each time when some one need to > > modify its business logic. As an alternate I want to store source code > > in data base and compile it when required. > > > Regards > > > Rick > > As others have pointed out the file I/O issue precludes using a > compiler .... > > The best I can suggest is using BCEL to construct classes at > runtime... But I have never tried this with GAE so I do not know if > BCEL is whitelist safe.
Just as a followup you need to take a look at the BCEL API to see if you can create in-memory class files ... Otherwise you will trip up over the File I/O issue again. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.