Hi,

for starting spring inside a OSGi container you can use spring-dm [1].
For Karaf you just need to install the spring-dm feature and then you're set.
As Spring-DM 2.0 is equivalent to blueprint only spring-dm 1.2.1 is
supported by Karaf right now but this should be sufficient for you.

regards, Achim

[1] - http://static.springsource.org/osgi/docs/1.2.1/reference/html/

2012/8/9 Julien Martin <[email protected]>:
> Hello,
>
> I am in the process of developing a Spring app. As it stands the app is
> currently run as follows by a main class:
>
> import org.springframework.context.support.ClassPathXmlApplicationContext;
>
>
> public class Bootstrap {
>
>
>     public static void main(String[] args) {
>
>         new ClassPathXmlApplicationContext("spring-integration-demo.xml");
>
>     }
>
>
> }
>
> I would like to integrate my app into Apache Karaf (or integrate Apache
> Karaf into my app?).
>
> I am not sure where and how to start. Can someone please provide basic
> advice and/or pointer to relevant documentation?
>
> Thanks in advance,
>
> J.



-- 

Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
Committer & Project Lead
OPS4J Pax for Vaadin
<http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project
Lead
blog <http://notizblog.nierbeck.de/>

Reply via email to