Expand my Community achievements bar.

SOLVED

OSGI Service reference inside Java main method

Avatar

Community Advisor

Is there anyway to use the OSGI service inside a java main method?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Yes - you need to make  a Sling Servlet in the OSGi bundle and from Java client - use HTTP operations. See: http://scottsdigitalcommunity.blogspot.ca/2014/03/creating-java-swing-applications-that.html

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Yes - you need to make  a Sling Servlet in the OSGi bundle and from Java client - use HTTP operations. See: http://scottsdigitalcommunity.blogspot.ca/2014/03/creating-java-swing-applications-that.html