can I call .bsh file from Java?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
su2
Reply | Threaded
Open this post in threaded view
|

can I call .bsh file from Java?

su2
Hello friends,

Can I call .bsh file from .java file? Get the list of the results and manipulate the data?

I really appreciate the help.

Thank you.
Su-
Reply | Threaded
Open this post in threaded view
|

Re: can I call .bsh file from Java?

Rishi Solanki
Hi,
Use groovy instead now a days OFBiz has better support for this and it will
work same fashion.
Go to specialpurpose/ebay/webapp/ebay/WEB-INF/controller.xml .
"updatedEbayOrders" is the uri which uses the
"org.ofbiz.webapp.event.GroovyEventHandler" .
Please follow thru it and finally use the technique i.e. by putting the list
into request/session you will be able to get your desired result.

HTH !

Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.


On Thu, Oct 8, 2009 at 2:28 AM, su2 <[hidden email]> wrote:

>
> Hello friends,
>
> Can I call .bsh file from .java file? Get the list of the results and
> manipulate the data?
>
> I really appreciate the help.
>
> Thank you.
> Su-
> --
> View this message in context:
> http://www.nabble.com/can-I-call-.bsh-file-from-Java--tp25794321p25794321.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: can I call .bsh file from Java?

Jacques Le Roux
Administrator
It depends of the version. R4 still use BSH, but it's quite old now...

Jacques

From: "Rishi Solanki" <[hidden email]>

> Hi,
> Use groovy instead now a days OFBiz has better support for this and it will
> work same fashion.
> Go to specialpurpose/ebay/webapp/ebay/WEB-INF/controller.xml .
> "updatedEbayOrders" is the uri which uses the
> "org.ofbiz.webapp.event.GroovyEventHandler" .
> Please follow thru it and finally use the technique i.e. by putting the list
> into request/session you will be able to get your desired result.
>
> HTH !
>
> Rishi Solanki
> Enterprise Software Developer
> HotWax Media Pvt. Ltd.
>
>
> On Thu, Oct 8, 2009 at 2:28 AM, su2 <[hidden email]> wrote:
>
>>
>> Hello friends,
>>
>> Can I call .bsh file from .java file? Get the list of the results and
>> manipulate the data?
>>
>> I really appreciate the help.
>>
>> Thank you.
>> Su-
>> --
>> View this message in context:
>> http://www.nabble.com/can-I-call-.bsh-file-from-Java--tp25794321p25794321.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>>
>