|
From: Pierre T. <pie...@gm...> - 2011-01-03 21:21:30
|
2011/1/3 Dinesh Sundaram <sp....@gm...> > Hi All, > Hi! > > I am in a process of developing a new test framework in java.The framework > requires some Jython class and methods to be used. > > I tried few options like JEPP and ClassLoader code but could not succeed. > > Could you please share some sample java code for the following requirements > > 1. Import a Jython compiled class say "xyz$py.class " in my java code and > access the jython methods and class in it. > You should look at the chapter 10 of the Definitive Guide to Jython<http://www.jython.org/jythonbook/en/1.0/JythonAndJavaIntegration.html> . > > 2. Methods to directly invoke a Jython class or method in a jython file say > "xyz.py" in my Java code (Not from .class) > I think you cannot you. Jython is producing Java bytecode. > > Thanks a lot and your guidance would be much appreciated. > > Regards, > Dinesh. > > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, > and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > > -- A+ ------------- Pierre |