Search code examples
javaosgiapache-felixaemsling

How to display "hello world" in CQ5 using osgi


I need to learn how the code flows between sling and Felix in CQ5. I am looking for a basic operation in which my jcr node /jsp will display "Hello World". BUT this message should come from an OSGi bundle.

Basically, I need to create and install the bundle too. But at least I need to know the flow of control here.

Can someone please help on this


Solution

  • Take a look at this blog entry on dev.day.com entitled Sling and OSGi. It describes creating a service, bundling it and calling it from a JSP. It also says hello world!