Yes, you will be able to call OSGi services.

On Thu, May 19, 2016 at 12:53 PM, Hemika Kodikara <hem...@wso2.com> wrote:

> Hi All,
>
> For clarification, does this mean we will be able to invoke a service side
> function(through nashorn) upon client request ? As in when a user clicks a
> button, we can call a server side function ?
>
> Regards,
> Hemika
>
> Hemika Kodikara
> Software Engineer
> WSO2 Inc.
> lean . enterprise . middleware
> http://wso2.com
>
> Mobile : +94777688882
>
> On Thu, May 19, 2016 at 3:43 PM, SajithAR Ariyarathna <sajit...@wso2.com>
> wrote:
>
>> Hi Sudharma,
>>
>> In the browser (client-side), you can do AJAX calls to the necessary REST
>> APIs. However, doing HTTP requests from UI backend (which runs on the
>> server-side) to REST APIs (which also runs on the server-side) is not
>> recommended. Instead of that you should call OSGi services. Calling OSGI
>> services from server-side JS will be available in the next milestone of UUF.
>>
>> Thanks.
>>
>> On Thu, May 19, 2016 at 2:21 PM, Sudharma Subasinghe <sudhar...@wso2.com>
>> wrote:
>>
>>> Hi all,
>>>
>>> I am working on developing BPMN explorer ui using Unified UI Framework.
>>>
>>> The existing BPMN explorer ui is for BPS which has built on C4 and it is
>>> used Jaggery. So, I am working on BPMN explorer ui for BPS which is to be
>>> released on C5.
>>>
>>> We need to implement business logics in backend. For example, I need to
>>> send request to backend from browser, and from backend to BPS. Is there
>>> functionality to achieve it in UUF?
>>>
>>> Any idea on this is appreciated.
>>>
>>> Thanks
>>> Sudharma
>>>
>>> --
>>> Sudharma Subasinghe,
>>> Software Engineer,
>>> WSO2 Inc.
>>> Email: sudhar...@wso2.com <hasi...@wso2.com>
>>> Mobile : +94 710 565 157 <%2B94%20718%20210%20200>
>>>
>>
>>
>>
>> --
>> Sajith Janaprasad Ariyarathna
>> Software Engineer; WSO2, Inc.;  http://wso2.com/
>>
>> _______________________________________________
>> Architecture mailing list
>> architect...@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>


-- 
With regards,
*Manu*ranga Perera.

phone : 071 7 70 20 50
mail : m...@wso2.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to