"Craig R. McClanahan" <[EMAIL PROTECTED]> writes: > On Thu, 26 Jun 2003, David N. Welton wrote:
> > Hi guys, I saw this: > > http://www.jcp.org/en/jsr/detail?id=223 > > The specification may include a Java API that can be used, > > possibly through JNI, by an scripting language engine to > > access the desired Java objects. > > Can anyone give us a more concrete description of what this is > > really about? > The basis for this is exactly what that sentence states -- scripting > language users have said they would like to be able to access > business logic and data objects inside a servlet-based application > from their scripts, in a portable manner. The point of the JSR is > to make that sort of thing possible. Part of what made me ask was the 'may' and 'possibly'. They don't sound very convinced. > Accessing Java objects defined in the system class loader doesn't > require anything new -- JNI provides all the necessary hooks. But, > to interact with web app resources, you need to do things like load > classes from the webapp's class loader, and gain access to the > ServletContext instance, and perhaps even do nice things like > utilize the servlet container's session mechanism for scripting > languages that don't have such a notion. Such things can be > designed and built for a particular server today, but there's no > standard approach; hence the JSR. Neat, it could be interesting indeed - thankyou for the clear explanation Craig. -- David N. Welton Consulting: http://www.dedasys.com/ Personal: http://www.dedasys.com/davidw/ Free Software: http://www.dedasys.com/freesoftware/ Apache Tcl: http://tcl.apache.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
