Hi Toby I know that I can dynamically load class using Class.forName But What if I want to crate a new Java class at run time. What I said that I want my developers(that is my clients too) to create Busienss Logic at run time. and I do not want to re deployment of my application. For my application user, they are not required to know abt google app engine. Its completely invisible to them. @Toby--->The real question is what compiler/runtime do you need to try to get running in App Engine We are writing Business Logic in Java. So we may need javac command to compile .
On Mar 12, 12:21 am, Toby Reyelts <[email protected]> wrote: > jesbox, > > You can dynamically load classes using Class.forName or even your own custom > ClassLoader. As Jay noted, this is how dynamic languages like Groovy, JRuby, > and Rhino work, and they run perfectly well on App Engine. > > Rick, > > The real question is what compiler/runtime do you need to try to get running > in App Engine? You'll want one that is "embeddable" - i.e. designed to be > run as a library as opposed to just standalone. What language are your > custom business rules written in? You may have better luck finding an > embeddable compiler/runtime for scripting-based languages. > > > > > > > > On Fri, Mar 11, 2011 at 3:25 AM, jesbox <[email protected]> wrote: > > I'm not sure about the idea. Sounds like giving a rocket launcher to a > > kid. > > > You let the adaptation happen in the full development environment made > > for professional programmers. If the re-deployment does not work out, > > will your framework reset the GAE invisibly to the user? And so on. > > > Then there is this UI you made that I presume limits what the user can > > specify quite a lot. So you could instead make a GAE application that > > receives the settings from the UI and makes the appropriate brancings > > accordingly. Like you write a program that adapts it behavior > > depending on some parameter file, just that the parameters comes from > > the UI. > > > Besides, I think that dynamic classloading is not possible in GAE. > > > /J > > > On Mar 7, 9:13 am, Rick Smith <[email protected]> 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 > > > -- > > 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 > > [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group at > >http://groups.google.com/group/google-appengine-java?hl=en. -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
