So there is not separation between UI back-end and the actual server (e.g. BPS runtime)? i.e. both always run in the same jvm?
On Thu, May 19, 2016 at 11:47 PM, Manuranga Perera <[email protected]> wrote: > Yes, you will be able to call OSGi services. > > On Thu, May 19, 2016 at 12:53 PM, Hemika Kodikara <[email protected]> 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 <[email protected]> >> 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 <[email protected] >>> > 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: [email protected] <[email protected]> >>>> Mobile : +94 710 565 157 <%2B94%20718%20210%20200> >>>> >>> >>> >>> >>> -- >>> Sajith Janaprasad Ariyarathna >>> Software Engineer; WSO2, Inc.; http://wso2.com/ >>> >>> _______________________________________________ >>> Architecture mailing list >>> [email protected] >>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >>> >>> >> > > > -- > With regards, > *Manu*ranga Perera. > > phone : 071 7 70 20 50 > mail : [email protected] > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
