Subj : Re: deploying new java objects to application that use Rhino as JS interpreter To : netscape.public.mozilla.jseng From : "Eric Paschoalick Chaves" Date : Tue Jan 28 2003 09:04 am Hi Igor, > I guess your application comes with some kind of a browser wich uses > Rhino javascript, right? Could you give details about it? In any case I > suggest not to extend from ScriptableObject, but simply use LiveConnect > to access arbitrary classes. You are totally correct. In fact this application is called Voice Browser; it's a specialized browser that parse VXML (an XML standart for voice-enabled applications). The choosen of extending scriptable object was pointed to me as a possible solution for the needing of exposing new objects to my browser. I'll take a look to LiveConnect and see if it fits. But since I start exploring this way, how should I do to add my Counter.class to the "browser's rhino"? I'd like to finish this task at least as a way to learn another trick, that could be usufull in future situations, even if LiveConnect fulfill my needings. Thanks for the time and help, Eric. .