Re: [general] Dynamic class loading

2006-10-08 Thread Tim Ellison
Yep, and as Nathan said, there are many examples of scripting languages based on Java that work on this principle. Is this something we want to adopt as a practice in Harmony for apps or development process? No, I think not. Regards, Tim Stefano Mazzocchi wrote: Nathan Beyer wrote: I wasn't

Adds: [general] Dynamic class loading

2006-10-07 Thread Nikolay Chugunov
. What do you think about separate tool in Apache? Nikolay Chugunov Intel Middleware Products Division -- Forwarded message -- From: Nikolay Chugunov [EMAIL PROTECTED] Subject: [general] Dynamic class loading To: harmony-dev@incubator.apache.org From the beginning of learning

Re: Adds: [general] Dynamic class loading

2006-10-07 Thread Geir Magnusson Jr.
: [general] Dynamic class loading To: harmony-dev@incubator.apache.org From the beginning of learning Java and till now I hate to compile java source code before run it. I propose to develop easy solution for this problem: compile java sources on fly. Command to do it can look like: java –cp

Re: [general] Dynamic class loading

2006-10-07 Thread Nikolay Chugunov
Nathan Beyer wrote: Stefano is correct, this doesn't require anything special in the VM. In fact, the basics of this already exist -- JavaServer Pages. Is compiling code a big problem? Nathan, JSP can't be used: because web server should be run, JSP has different syntax and semantics, JSP

Re: [general] Dynamic class loading

2006-10-07 Thread Geir Magnusson Jr.
beanshell? :) Nikolay Chugunov wrote: Nathan Beyer wrote: Stefano is correct, this doesn't require anything special in the VM. In fact, the basics of this already exist -- JavaServer Pages. Is compiling code a big problem? Nathan, JSP can't be used: because web server should be run, JSP

Re: [general] Dynamic class loading

2006-10-07 Thread Nathan Beyer
I wasn't literally suggesting using JSPs, but rather the concept behind the technology -- dynamically loading a script with embedded Java, generating a complete Java source, compiling it and then loading the bytecodes. You can probably take the JSP engine from Tomcat and hack it into a more

Re: [general] Dynamic class loading

2006-10-07 Thread Stefano Mazzocchi
Nathan Beyer wrote: I wasn't literally suggesting using JSPs, but rather the concept behind the technology -- dynamically loading a script with embedded Java, generating a complete Java source, compiling it and then loading the bytecodes. You can probably take the JSP engine from Tomcat and

[general] Dynamic class loading

2006-10-06 Thread Nikolay Chugunov
From the beginning of learning Java and till now I hate to compile java source code before run it. I propose to develop easy solution for this problem: compile java sources on fly. Command to do it can look like: java –cp …:mytool.jar

[general] Dynamic class loading

2006-10-06 Thread Nikolay Chugunov
From the beginning of learning Java and till now I hate to compile java source code before run it. I propose to develop easy solution for this problem: compile java sources on fly. Command to do it can look like: java –cp …:mytool.jar

Re: [general] Dynamic class loading

2006-10-06 Thread Stefano Mazzocchi
Nikolay Chugunov wrote: From the beginning of learning Java and till now I hate to compile java source code before run it. I propose to develop easy solution for this problem: compile java sources on fly. Command to do it can look like: java –cp …:mytool.jar

RE: [general] Dynamic class loading

2006-10-06 Thread Fedotov, Alexei A
:[EMAIL PROTECTED] Sent: Saturday, October 07, 2006 3:04 AM To: harmony-dev@incubator.apache.org Subject: Re: [general] Dynamic class loading Stefano is correct, this doesn't require anything special in the VM. In fact, the basics of this already exist -- JavaServer Pages. Is compiling code a big

Re: [general] Dynamic class loading

2006-10-06 Thread Stefano Mazzocchi
Fedotov, Alexei A wrote: Hello, Nathan, Had Nikolay said anything about JVM modification? As far as I understand him the class library should be just enhanced with this smart class loader. Now imagine how our reproducers would look in JIRA: java -cp http://svn.apache.org/...

Re: [general] Dynamic class loading

2006-10-06 Thread Geir Magnusson Jr.
Stefano Mazzocchi wrote: Fedotov, Alexei A wrote: Hello, Nathan, Had Nikolay said anything about JVM modification? As far as I understand him the class library should be just enhanced with this smart class loader. Now imagine how our reproducers would look in JIRA: java -cp