Hi Peter,

I would create my own distribution of Karaf.

If you want to hide/wrap it in your application, Main could be a way to achieve that.

Pax-Exam-Karaf is designed more for the itests.

Regards
JB

On 03/06/2012 02:27 PM, peterg wrote:
Hi all,

what would be the easiest way to embed a Karaf instance within an existing
Java application?
- using/deriving from org.apache.karaf.main.Main?
- using PaxExam Karaf?
- something else...?

Ideally, I would like to just start an instance of my own Karaf distribution
(available as a Maven artifact in my own repository) and interact with it
(accessing/invoking bundles and services, for example).

best regards, Peter

--
View this message in context: 
http://karaf.922171.n3.nabble.com/Embedding-Karaf-in-a-Java-application-tp3803560p3803560.html
Sent from the Karaf - User mailing list archive at Nabble.com.

--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to