Hi Malintha,

Yes malintha I agree with you. Then Jython is the best approach Suhan have.

Thanks,

On Tue, Dec 2, 2014 at 6:17 PM, Malintha Adikari <malin...@wso2.com> wrote:

> Hi Thushara,
>
> On Tue, Dec 2, 2014 at 12:37 PM, Thushara Ranawaka <thusha...@wso2.com>
> wrote:
>
>> Hi Suhan,
>>
>> I had a similar kind of a issue few months ago, Kindly find this
>> answer[1].
>>
>> [1]-
>> http://stackoverflow.com/questions/23054880/execute-a-python-separate-application-in-a-java-application
>>
>
> Yes this is also an option. AFAIK, here we  here we call python language
> from a process. Calling,  from platform Independent language(Java) to a
> native application (Python) is not good approach IMO.
>
>>
>> Thanks,
>> Thushara
>>
>> On Tue, Dec 2, 2014 at 5:55 PM, Suhan Dharmasuriya <suh...@wso2.com>
>> wrote:
>>
>>> Hi,
>>>
>>> I'm currently using a python script to create instances in OpenStack via
>>> python NovaClient.
>>> My script sets up a cluster and is to perform some platform tests in a
>>> clustered environment.
>>>
>>> I want to invoke this python script inside a java plugin (which is yet
>>> to be written) as an extension to
>>> the WSO2 Test Automation Framework.
>>>
>>> What are the standard approaches for invoking python scripts inside java?
>>> Are there any svn/git WSO2 repositories I can refer?
>>>
>>> Thanks,
>>> Suhan
>>> --
>>> Suhan Dharmasuriya
>>> Software Engineer - Test Automation
>>>
>>> *WSO2, Inc. *
>>>
>>> lean . enterprise . middleware
>>> Tel: +94 112 145345
>>> Mob: +94 779 869138
>>> Blog: http://suhan-opensource.blogspot.com/
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thushara Kasun Ranawaka
>> Software Engineer
>> WSO2 Inc.; <http://www.wso2.com>
>> lean.enterprise.middleware
>> Mobile : *+94 (0) 773438949 <%2B94%20%280%29%20773438949>*
>> *thusha...@wso2.com <thusha...@wso2.com>*
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Malintha Adikari*
>  Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> Mobile: +94 71 2312958
> Blog:    http://malinthas.blogspot.com
> Page:   http://about.me/malintha
>



-- 
Thushara Kasun Ranawaka
Software Engineer
WSO2 Inc.; <http://www.wso2.com>
lean.enterprise.middleware
Mobile : *+94 (0) 773438949*
*thusha...@wso2.com <thusha...@wso2.com>*
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to