A bit confused about the terminology … So let me verify:
backend Java code wrapped in a bundle implementing a REST API
frontend Angular Java code
In enRoute the frontend would be stored in the application project. (In the
static directory.) Your REST backend would be provided as a provider. The
application project would depend on the provider so that if you resolve the
REST provider is dragged in with its dependencies.
Kind regards,
Peter Kriens
>
> On 7 Mar 2017, at 12:23, rama.g <[email protected]> wrote:
>
> Dear Peter
> You are right. this example. In this case both front end and backend are
> bundled together. My use case is backend to be bundled separately, front end
> to be bundled separately as they are developed by two different vendors.
> My current scenario is that, backend rest APIs are bundled on OSGI framework.
> Front end I have used OSGI Enroute?. I want an interface between the backend
> plugin and frontend plugin. How can this be established
>
> Is it easy to port the backend from OSGI to OSGI Enroute
>
> Thanks and Regards
> Rama G
>
> From: [email protected] [mailto:[email protected]]
> On Behalf Of Peter Kriens
> Sent: Tuesday, March 07, 2017 4:08 PM
> To: OSGi Developer Mail List <[email protected]>
> Subject: Re: [osgi-dev] OSGI support needed bundling web application
>
> Did you follow the OSGi enRoute tutorials? The application template seems to
> do exactly what you want.
>
> Kind regards,
>
> Peter Kriens
>
>> On 7 Mar 2017, at 11:35, rama.g <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>> Dear sir / madam
>> I need to know the kind of support OSGI framework provides to host web
>> application for the given use case.
>> I have my backend (rest APIs) developed independently using modular approach
>> . I have set of User components developed using Angular java corresponding
>> to each backend module. We are required to bundle the backend and UI
>> components separately for ease of maintenance , but when I deploy the
>> product to the user he should visualize as a single plugin (combination of
>> backend and UI)
>> Please suggest OSGI solution required to meet the above use case
>>
>> Assuming that the backend is already bundled in OSGI framework, suggest a
>> method to bundle UI components which works in collaboration with the backend
>>
>> Thanks and Regards
>> Rama G
>>
>> _______________________________________________
>> OSGi Developer Mail List
>> [email protected] <mailto:[email protected]>
>> https://mail.osgi.org/mailman/listinfo/osgi-dev
>> <https://mail.osgi.org/mailman/listinfo/osgi-dev>
>
> _______________________________________________
> OSGi Developer Mail List
> [email protected] <mailto:[email protected]>
> https://mail.osgi.org/mailman/listinfo/osgi-dev
> <https://mail.osgi.org/mailman/listinfo/osgi-dev>
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev