steinarb / frontend-karaf-demo

Serving a react.js frontend from a servlet registered with the Pax Web Whiteboard Extender and run in apache karaf
https://steinar.bang.priv.no/2018/06/26/deliver-react-js-from-apache-karaf/
Apache License 2.0
7 stars 3 forks source link

Question about implementation to PWA #6

Open chc7042 opened 3 years ago

chc7042 commented 3 years ago

Hi @steinarb i am beginer of react and javascript including mobile application. i just know the osgi modular concept in java so i think if this karaf demo could make bundle as same as osgi. then it could be used mobile applccation. how do you think about this? please let me know your opinion.

steinarb commented 3 years ago

Not sure I understand what you mean with "could make bundle as same as osgi"?

This demo application is already an OSGi bundle that will start and look for an OSGi web whiteboard to plug into. Uses OSGi, OSGi SCR and the OSGi web whiteboard.

The karaf specific part, is the karaf feature that loads this application and its dependencies.

The application will work in apache karaf 4.2.11 and in apache karaf 4.3.0.

I haven't tried running it anytwhere else, but all environments that supports OSGi 6 or 7 and with a web whiteboard implementation should be able to run the demo application.