Re: Karaf 3,4 plans?
It sounds good to me. Regards JB On 06/18/2014 08:02 PM, Guillaume Nodet wrote: I'd like to have a release or karaf 2.4 and a 4.0 beta during july. I think we should aim for a 4.0 soon in september maybe. 2014-06-18 19:45 GMT+02:00 Jean-Baptiste Onofré j...@nanthrax.net: Hi Scott, Karaf 3 uses: - Felix Framework 4.2.1 - Equinox 3.8.2 So it means full OSGi r4.3 support, and partial r5 support. I upgraded Karaf 4 to use Felix Framework 4.4.0 and Equinox 3.9.1, providing a full OSGi r5 support. In term of release plan, I schedule Karaf 3.0.2 at least for end of next week (we need some update of transitive projects for full Java8 support). No plan for Karaf 4 for now. I would propose to prepare to r5 framework update for Karaf 3.0.3 (or maybe on a 3.1.x branch, it would be better). Regards JB On 06/18/2014 06:47 PM, Scott Lewis wrote: Hi Folks, I'm working on producing karaf features for ECF's upcoming Luna release (next week), and I'm wondering: should I target Karaf 3.0.1 or Karaf 4? I've seen discussion of Karaf 4 on this mailing list, but I couldn't find details of it on the karaf roadmap [1]. e.g. which OSGi framework version is going to be supported in 4 (i.e. which versions of Felix or Equinox are going to be used), as well as other new/added/changed features in karaf itself. It would also be nice to know some general release plans/schedule for 3.X and 4...if it's available. If possible, I would prefer to target both current and upcoming releases of karaf for the ECF R5 OSGi Remote Services impl being released June 25 [2], but there are some spec-imposed dependencies on framework versions (wiring API, etc), so it's helpful to know what the karaf 4 dependencies are going to be. Thanksinadvance for any info or plans pointers, Scott [1] https://cwiki.apache.org/confluence/display/KARAF/Roadmap [2] https://wiki.eclipse.org/Simultaneous_Release -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com
Broken Dev Guide
Hi! I'm an OSGI newb trying to learn Karaf for a Spring app I've written at work that seems to be getting overly complex and would be best served modularizing it. Seems modern Spring is not a good fit, so I'm looking to re-plumb. My first task is to convert my Spring-JDBC/Dao layer, after which is to do my Spring-JNDI layer, and finally my Service layer (which is a standard non-web app that runs on a recurring Timer). The User Dev guides so far appear to be helpful, however a few sections I need appear to be missing? * Blueprint and CDI sections have links, but get 404 * There doesn't appear to be corresponding entries in the Dev Guide for how to use the JDBC JNDI services once installed into the Karaf environment? Any guidance/tips would be appreciated. I don't know anything about Blueprint, and event not much on CDI -- been traditionally a Spring-Web guy. But I'm hoping to develop an entire system around OSGI. Here's a summary of what the system currently does (it's an old embedded-perl system that I'm re-architecting): * about a dozen perl-scripts that run as CRON-jobs every x-minutes - each polls a different table in the database looking for work - when work arrives, each of them is responsible for updating a different service (various LDAPs, ADs, email servers, etc) * a web-app that interacts with the database to allow admins an easy way to submit the work (I'll be doing this piece later on; the immediate need is to replicate the cron-job scripts in a java ecosphere). I want to stick with this general approach because I think it's pretty good. But packaging it into a monolithic spring app is getting overwhelming. -- View this message in context: http://karaf.922171.n3.nabble.com/Broken-Dev-Guide-tp4033621.html Sent from the Karaf - Dev mailing list archive at Nabble.com.
Re: Broken Dev Guide
JDBC works easily by using reference interface=javax.sql.DataSource filter=(osgi.jndi.service.name=foo/bar) id=datasource/ where foo/bar is the JNDI path. This would be in a Blueprint file. http://aries.apache.org/modules/jndiproject.html http://karaf.apache.org/manual/latest/users-guide/cdi.html Which version are you looking at the docs for? Those pages all work for me. On 18 June 2014 15:15, bane73 bran...@thegreshams.net wrote: Hi! I'm an OSGI newb trying to learn Karaf for a Spring app I've written at work that seems to be getting overly complex and would be best served modularizing it. Seems modern Spring is not a good fit, so I'm looking to re-plumb. My first task is to convert my Spring-JDBC/Dao layer, after which is to do my Spring-JNDI layer, and finally my Service layer (which is a standard non-web app that runs on a recurring Timer). The User Dev guides so far appear to be helpful, however a few sections I need appear to be missing? * Blueprint and CDI sections have links, but get 404 * There doesn't appear to be corresponding entries in the Dev Guide for how to use the JDBC JNDI services once installed into the Karaf environment? Any guidance/tips would be appreciated. I don't know anything about Blueprint, and event not much on CDI -- been traditionally a Spring-Web guy. But I'm hoping to develop an entire system around OSGI. Here's a summary of what the system currently does (it's an old embedded-perl system that I'm re-architecting): * about a dozen perl-scripts that run as CRON-jobs every x-minutes - each polls a different table in the database looking for work - when work arrives, each of them is responsible for updating a different service (various LDAPs, ADs, email servers, etc) * a web-app that interacts with the database to allow admins an easy way to submit the work (I'll be doing this piece later on; the immediate need is to replicate the cron-job scripts in a java ecosphere). I want to stick with this general approach because I think it's pretty good. But packaging it into a monolithic spring app is getting overwhelming. -- View this message in context: http://karaf.922171.n3.nabble.com/Broken-Dev-Guide-tp4033621.html Sent from the Karaf - Dev mailing list archive at Nabble.com. -- Matt Sicker boa...@gmail.com
Re: Broken Dev Guide
Matt Sicker wrote JDBC works easily by using reference interface=javax.sql.DataSource filter=(osgi.jndi.service.name=foo/bar) id=datasource/ where foo/bar is the JNDI path. This would be in a Blueprint file. http://aries.apache.org/modules/jndiproject.html Very helpful, thank you! Haven't worked with either of those, not sure how to go about it, so I appreciate the pointer. http://karaf.apache.org/manual/latest/users-guide/cdi.html Which version are you looking at the docs for? Those pages all work for me. Yes, those sections in the User's Guide work for me as well. It's the ones in the Dev's Guide that aren't reachable: http://karaf.apache.org/manual/latest/developers-guide/services.html http://karaf.apache.org/manual/latest/developers-guide/blueprint.html http://karaf.apache.org/manual/latest/developers-guide/cdi.html -- View this message in context: http://karaf.922171.n3.nabble.com/Broken-Dev-Guide-tp4033621p4033623.html Sent from the Karaf - Dev mailing list archive at Nabble.com.
Re: Broken Dev Guide
Hi, I completely refactored the user guide for the 3.0.0 release. For the dev guide, I waited for some new examples/samples in the distribution. I will push both. Regarding your other questions, I will get back to you later (I'm just waking up ;)). Regards JB On 06/18/2014 10:15 PM, bane73 wrote: Hi! I'm an OSGI newb trying to learn Karaf for a Spring app I've written at work that seems to be getting overly complex and would be best served modularizing it. Seems modern Spring is not a good fit, so I'm looking to re-plumb. My first task is to convert my Spring-JDBC/Dao layer, after which is to do my Spring-JNDI layer, and finally my Service layer (which is a standard non-web app that runs on a recurring Timer). The User Dev guides so far appear to be helpful, however a few sections I need appear to be missing? * Blueprint and CDI sections have links, but get 404 * There doesn't appear to be corresponding entries in the Dev Guide for how to use the JDBC JNDI services once installed into the Karaf environment? Any guidance/tips would be appreciated. I don't know anything about Blueprint, and event not much on CDI -- been traditionally a Spring-Web guy. But I'm hoping to develop an entire system around OSGI. Here's a summary of what the system currently does (it's an old embedded-perl system that I'm re-architecting): * about a dozen perl-scripts that run as CRON-jobs every x-minutes - each polls a different table in the database looking for work - when work arrives, each of them is responsible for updating a different service (various LDAPs, ADs, email servers, etc) * a web-app that interacts with the database to allow admins an easy way to submit the work (I'll be doing this piece later on; the immediate need is to replicate the cron-job scripts in a java ecosphere). I want to stick with this general approach because I think it's pretty good. But packaging it into a monolithic spring app is getting overwhelming. -- View this message in context: http://karaf.922171.n3.nabble.com/Broken-Dev-Guide-tp4033621.html Sent from the Karaf - Dev mailing list archive at Nabble.com. -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com