Hi Kim,

- Dependency Injection: Blueprint or CDI
- Service: Blueprint or DS
- Security: Karaf security framework + Syncope + CXF STS
- REST: CXF-RS
...

is it what you mean ?  ;)

If so, it's plan in the developer guide improvements (we have a Jira about that).

Regards
JB

On 12/05/2014 08:26 AM, Kim Hansen wrote:
Hi!

I'm fairly new to Karaf and it would be really awesome if someone really
deep into Karaf and/or OSGi could suggest what frameworks and APIs to
use with Karaf 4 to create applications with the following technologies
(and not use Spring at all):

- Dependency Injection (Blueprint or J2EE)
- Security (LDAP, Shiro, OAuth, OpenID, ...)
- REST (Jetty, Geronimo, ...)
- ...

Den 05/12/2014 00.11 skrev "Jean-Baptiste Onofré" <[email protected]
<mailto:[email protected]>>:

    Hi,

    Spring clearly announced that they don't support OSGi anymore.

    Even if Spring is supported by Karaf (which is a good point to
    support non OSGi applications using Spring), I would not recommend
    to start a project using Spring.
    Starting with native OSGi stuff is better (like Blueprint which is
    actually close to Spring, SCR/DS, etc).

    Regards
    JB

    On 12/04/2014 11:29 PM, asookazian2 wrote:

        We have some legacy J2EE apps that we've ported (finally) to
        Karaf 3.0.x
        which use Spring.  Mainly for dependency injection and possibly some
        templates (e.g. JdbcTemplate, etc.) and AOP.

        Anyways, looks like there are no Spring (or Spring dm?) examples
        here:
        https://github.com/cschneider/__Karaf-Tutorial
        <https://github.com/cschneider/Karaf-Tutorial> and there are no
        Spring
        examples in the Apache Karaf Cookbook.

        Is Spring usage with OSGi/Karaf recommended or not?  If yes,
        where can I
        find some examples?

        "I stopped using spring on OSGi a long time ago."

        
http://stackoverflow.com/__questions/24595900/invalid-__bundle-when-starting-apache-__karaf
        
<http://stackoverflow.com/questions/24595900/invalid-bundle-when-starting-apache-karaf>



        --
        View this message in context:
        
http://karaf.922171.n3.nabble.__com/Using-Spring-with-Karaf-3-__x-tp4036977.html
        
<http://karaf.922171.n3.nabble.com/Using-Spring-with-Karaf-3-x-tp4036977.html>
        Sent from the Karaf - User mailing list archive at Nabble.com.


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


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

Reply via email to