Impossible is nothing! Ok, you can create a binding layer between Corba object and JavaScript engine, there are at least several ways to do so: 1) use IDL files like DOM binding; 2) use NPAPI style like plugins; 3) use CppBinding available from Chrome;
On Wed, Oct 15, 2008 at 6:26 AM, alemao <[EMAIL PROTECTED]> wrote: > > Hi everybody, > > I have a simple (maybe impossible :S) question: Is it possible to pass > a Corba object (reference) into a scriptable object, which can be used > in the script engine? > > This is possible using org.mozilla.javascript package...somthing > related with Rhino jscript engine. For example...you have an object > which is implemented in C++ and you want to import it into your script > engine...this is maded "parsing" your C++ instance into a Corba object > and then using some classes like Relection, Conetext and so on and > convert it into a "ScriptableObject" into my engine...is this possible > in V8 engine? > > How to import a C++ object instance into my V8 engine? > Must I create for each C++ class, that I wanna use in my engine, a > class-template (hard coded)? > Is it possible to add a C++ object instance into my running engine, > where somehow I can declair in runtime which methods or properties to > use? > > I know that this is really hard, but I need to if this is > possible...if it is possible, I will change to V8 engine, otherwise I > must wait until something similar is implemented and afterwards using > V8!!! PLEASE....HEEEEEELLPPPPP :S > > Kind regards, > Miguel L. > > > --~--~---------~--~----~------------~-------~--~----~ v8-users mailing list [email protected] http://groups.google.com/group/v8-users -~----------~----~----~----~------~----~------~--~---
