Working with String[] configs in DS

2018-04-18 Thread Christian Schneider
ntax would be safer as it is unlikely that this is used in a config already. What do you think? Christian -- -- Christian Schneider http://www.liquid-reality.de Computer Scientist http://www.adobe.com

Re: API baselining with maven-bundle-plugin

2017-06-27 Thread Christian Schneider
like the most profitable route, assuming I can understand how I ensure that that check is done before the upload actually happens. -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com --

Re: API baselining with maven-bundle-plugin

2017-06-23 Thread Christian Schneider
> > > It's the difference between: > "I'm trying to build something that the user wants to call 1.0.0. As > part of that process I'll check whether it conflicts with what is currently > 1.0.0, and if it does I'll fail, not actually creating the artefact at all, > and suggest that they change the

Re: API baselining with maven-bundle-plugin

2017-06-22 Thread Christian Schneider
the case in the same way using the maven plugin. I'm going to have to do some experimentation I think, and maybe see if I can achieve the same thing within a bndtools setup. -Original Message- From: Christian Schneider [mailto:cschneider...@gmail.com] On Behalf Of Christian Schneider Sent: 22

Re: API baselining with maven-bundle-plugin

2017-06-22 Thread Christian Schneider
the bundle against itself. What I want it to do is compare against the current latest in the release repository. So I'm confused. How do I make it tell me that I need to change my project version, without first changing my project version? Thanks. -- Christian Schneider http://www.liquid-

Re: maven-bundle-plugin 3.3.0 not found in Maven Central?

2017-04-22 Thread Christian Schneider
plugin-3.3.0.jar > > > > I get a 404. Did something get removed? Is there a permissions issue? > > > > Thanks, > > > > James > > > > > --------- > To unsubscribe, e-mail: users-unsubscr...@fel

Re: OSGi and ObjectInputStream.readObject() deserialization classloading

2016-10-28 Thread Christian Schneider
ce (assuming the caller of the code knew which classloader to > >>> use), > >>> I still don't know how to override ObjectInputStream's default > >>> classloading > >>> behavior. > >>> > >>> Any ideas ? > >>> > >> You can create a subclass of ObjectInputStream and overwrite the >

Re: Bundles needed to use DS/SCR

2016-08-11 Thread Christian Schneider
dditional commands, e-mail: users-h...@felix.apache.org > > -- -- Christian Schneider http://www.liquid-reality.de <https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a7e46=http%3a%2f%2fwww.liquid-reality.de> Open Source Architect http://www.talend

Issues with maven-bundle-plugin incremental build

2016-07-15 Thread Christian Schneider
. Another thing I would like to get working is to update bundles in a running debug session when files are saved. A prerequisite for this is that the incremental build creates all OSGi artifacts without doing mvn install. Christian -- Christian Schneider http://www.liquid-reality.de Open

Re: [maven-bundle-plugin] v.3.0.x regression for DS xml generation ?

2016-06-25 Thread Christian Schneider
Private-Package,Ignore-Package anyone have experienced this issue ? thanks, Cristiano -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com - To unsub

Re: Managing transactions in iPOJO or OSGi component

2016-05-26 Thread Christian Schneider
25 21:12 GMT+02:00 tho huynh ngoc <ngocthob...@gmail.com>: > > > > > > > >> i'm sorry i have not finished my message in this mail > > > >> > > > >> 2016-05-25 21:09 GMT+02:00 tho huynh ngoc <ngocthob...@gmail.com>: > > > >> > >

Re: Add a custom bnd pluginto maven-bundle-plugin

2016-04-26 Thread Christian Schneider
I think I found it with the help of Guillaume. -plugin for bnd and adding the plugin jar to the dependencies of the maven-bundle-plugin. Christian On 26.04.2016 09:02, Christian Schneider wrote: I would like to add one or more custom bnd plugins to a maven-bundle-plugin run. Is that possible

Add a custom bnd pluginto maven-bundle-plugin

2016-04-26 Thread Christian Schneider
I would like to add one or more custom bnd plugins to a maven-bundle-plugin run. Is that possible? Christian -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com - To unsubscribe

Configure maven-bundle-plugin to not export anything by default

2016-02-18 Thread Christian Schneider
? Christian -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org

Re: System packages should not contain osgi.core packages (packages that are exported by the framework)

2015-10-28 Thread Christian Schneider
I created an issue and will work on a patch. https://issues.apache.org/jira/browse/FELIX-5091 Christian On 27.10.2015 21:32, Richard S. Hall wrote: On 10/27/15 16:22 , Christian Schneider wrote: I can only speak for myself but it would help me a lot. How can we determine if it is worthwhile

Re: System packages should not contain osgi.core packages (packages that are exported by the framework)

2015-10-27 Thread Christian Schneider
I can only speak for myself but it would help me a lot. How can we determine if it is worthwhile? If you would accept such a patch I can do the implementation of it. Christian Am 27.10.2015 um 18:11 schrieb Richard S. Hall: On 10/27/15 11:36 , Christian Schneider wrote: A typical case I have

Re: Need help debugging Felix OSGi bundles (with Eclipse)

2015-09-13 Thread Christian Schneider
to achieve that with bndtools? On September 12, 2015 10:01:20 PM WEST, Christian Schneider <ch...@die-schneider.net> wrote: If you only need plain felix then eclipse + bndtools might help. I just tried the new 3.0.0 version and was able to setup as small project in quite short time. It fe

Re: Need help debugging Felix OSGi bundles (with Eclipse)

2015-09-12 Thread Christian Schneider
If you only need plain felix then eclipse + bndtools might help. I just tried the new 3.0.0 version and was able to setup as small project in quite short time. It features very nice debug integration. Apart from this remote debugging always works but is less convenient. Christian Am

Re: Enterprise business domain using DS - is it good idea?

2015-07-20 Thread Christian Schneider
Am 20.07.2015 um 07:33 schrieb Alex Sviridov: I have a few questions (I found some information but I'm afraid it is old): 2) Does blueprint support generating xml files via annotations like DS. If yes, then what maven plugin should we use There is a blueprint-maven-plugin from aries. It

Re: Enterprise business domain using DS - is it good idea?

2015-07-19 Thread Christian Schneider
I think the question if DS is a good idea is less about the number of OSGi services. I am pretty sure it can handle any reasonable number. I would rather look into the rest of the stack you are planning to use. Think about the things you also need to do: - UI - Persistence - External

Re: Is this mailing-list dead?

2015-07-17 Thread Christian Schneider
? -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org

Re: Complicated wrapping

2015-06-25 Thread Christian Schneider
. - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Complicated wrapping

2015-06-25 Thread Christian Schneider
. - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Core and Compendium APIS at runtime

2015-05-26 Thread Christian Schneider
Do you also have best practices for clients? I think in most cases it makes sense that a client just imports a the spec package. What about the case where a client optionally depends on a spec package? One case I saw several times was an optional dependency on the event admin. The problem

Resetting maven-bundle-plugin to defaults

2015-05-20 Thread Christian Schneider
. Is that possible? Currently when I also define the maven-bundle-plugin in my own parent pom it always seem to inherit the config from the top level parent. Christian -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Karaf features on Felix

2015-02-15 Thread Christian Schneider
been useful in managing dependencies. Robert -- Christian Schneider http://www.liquid-reality.de Open Source Architect Talend Application Integration Division http://www.talend.com - To unsubscribe, e-mail: users-unsubscr

Using maven-bundle-plugin to create scr xml from annotations

2015-02-08 Thread Christian Schneider
project if you want to check: https://github.com/cschneider/jpa-experiments/tree/master/jpaclosuretest Christian -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com - To unsubscribe, e

Re: Using maven-bundle-plugin to create scr xml from annotations

2015-02-08 Thread Christian Schneider
. regards, Achim 2015-02-07 11:07 GMT+01:00 Christian Schneider ch...@die-schneider.net: Hi all I am trying to use scr annotations (org.osgi.service.component.annotations*) with the maven-bundle-plugin. The build runs but it creates no xml file for scr. I have this in my configuration insturctions

Re: Datasource with Apache Felix.

2014-12-17 Thread Christian Schneider
in Felix container. I have a blueprint that contains datasource info, this i want to make work in Felix. In Karaf when i put it in deploy folder it works perfectly. Am not getting a direction as how to achive this in felix. -- Christian Schneider http://www.liquid-reality.de Open Source Architect

Re: Bundle dependency management

2014-12-12 Thread Christian Schneider
commands, e-mail: users-h...@felix.apache.org - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org -- Christian Schneider http://www.liquid-reality.de Open

Re: Loading a class from a different bundle dynamically

2014-12-12 Thread Christian Schneider
On 12.12.2014 15:31, Achim Nierbeck wrote: Dynamic Import? Add a manifest header or dynamically importing your testclass in case it's available, but I would actually work with a service tracker that waits for the testservice to be available and trigger the test then. regards, Achim -- Christian

Re: Bundle dependency management

2014-12-12 Thread Christian Schneider
. -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org

Re: Bundle dependency management

2014-12-12 Thread Christian Schneider
17:17, Marcel Offermans wrote: Hello Christian, On 12 Dec 2014 at 16:06:02 , Christian Schneider (ch...@die-schneider.net mailto:ch...@die-schneider.net) wrote: I am especially interested in using maven central as most of the apache projects are only available there. I’m sorry

Re: Loading a class from a different bundle dynamically

2014-12-12 Thread Christian Schneider
() { } } On Fri, Dec 12, 2014 at 7:41 AM, Christian Schneider ch...@die-schneider.net wrote: I also recommend to use a service for this. Simply put your test class into a separate bundle. In the activator instantiate the test class and publish it as a service using the test interface you provide

Re: Bundle dependency management

2014-12-12 Thread Christian Schneider
of the same artifact with different versions as you want. Sorry if I misunderstand you. Regards, Renato -- Christian Schneider http://www.liquid-reality.de Open Source Architect Talend Application Integration Division http://www.talend.com

Re: managing OSGi Dependencies

2014-10-25 Thread Christian Schneider
with implementations. Neil -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h

Re: managing OSGi Dependencies

2014-10-24 Thread Christian Schneider
, but they do not solve this issue… Please help me. Thanks! - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org -- Christian Schneider http://www.liquid

Re: OSGi and Git - what release process, how many repos?

2014-08-11 Thread Christian Schneider
...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org -- Christian Schneider http://www.liquid-reality.de Open Source Architect Talend Application Integration Division http://www.talend.com

Re: Building better OSGi applications

2014-07-19 Thread Christian Schneider
doesn't really justify the downsides in my opinion. Cheers, Paul -- Christian Schneider http://www.liquid-reality.de Open Source Architect Talend Application Integration Division http://www.talend.com - To unsubscribe, e-mail

Re: Help with my first bundle

2014-07-16 Thread Christian Schneider
. Why is it even in the Import-Package manifest? Can anyone help me understand please? thanks, Nadeem -- Christian Schneider http://www.liquid-reality.de Open Source Architect Talend Application Integration Division http://www.talend.com

Re: Reflection

2013-12-19 Thread Christian Schneider
Gohren Edwin: Ok I see where you are going with this. But what if one have a standard api with different hardware types behind, which have different methods that can be called. Im having troubles in seeing how this can be done dynamically? -- Christian Schneider http://www.liquid-reality.de

Re: non-OSGi lib importing OSGi packages

2013-12-09 Thread Christian Schneider
Sent from the Apache Felix - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org -- Christian Schneider http

Re: adopt to OSGi

2013-10-17 Thread Christian Schneider
-- Christian Schneider http://www.liquid-reality.de Open Source Architect Talend Application Integration Division http://www.talend.com - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail

Re: Maven, BNDTools, Blueprint

2013-10-13 Thread Christian Schneider
. - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org -- Christian Schneider http://www.liquid-reality.de Open Source Architect Talend Application Integration Division http://www.talend.com

Re: Filtering the default provided system packages

2013-09-12 Thread Christian Schneider
to change this property. So, is there any way to remove only some of the default exported packages - or is this an all-or-none affair? Regards, Per-Erik Svensson -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Filtering the default provided system packages

2013-09-12 Thread Christian Schneider
I created an issue and set fix version to 4.4.0. Please move it as you see fit. https://issues.apache.org/jira/browse/FELIX-4227 Looking forward to have this feature :-) Christian On 12.09.2013 17:42, Richard S. Hall wrote: On 9/12/13 10:59 , Christian Schneider wrote: That would be really

Re: Problem with maven-bundle-plugin not importing packages

2013-09-10 Thread Christian Schneider
-Packageorg.talend.examples.crmservice.model, */Import-Package This is what I am doing right now. It is a bit ugly though. Can this be fixed in an upcoming version? Christian -- Christian Schneider http://www.liquid-reality.de Open Source Architect Talend Application Integration Division http

Problem with maven-bundle-plugin not importing packages

2013-09-09 Thread Christian Schneider
. Christian -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h

Re: OSGi-aware resource loading

2013-09-02 Thread Christian Schneider
, e-mail: users-h...@felix.apache.org - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org -- Christian Schneider http://www.liquid-reality.de Open Source

Re: Maven

2013-08-22 Thread Christian Schneider
-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org -- Christian Schneider http://www.liquid-reality.de Open Source Architect Talend Application Integration Division http://www.talend.com

Re: Research questions

2013-05-29 Thread Christian Schneider
. There is the EventAdmin spec and a felix implementation of it. Of course you can also simply use OSGi services. Christian -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: OSGi JPA

2013-04-22 Thread Christian Schneider
, Christian Schneider wrote: This sounds like my example my have a compatbility problem on the karaf version you used. If you tell me the version I will also test and fix the problem. Christian -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: OSGi JPA

2013-04-21 Thread Christian Schneider
)(version=2.2.0)(!(version=3.0.0))) Regards, Khadija On 04/18/2013 08:22 PM, Christian Schneider wrote: You can try this one: http://www.liquid-reality.de/display/liquid/2012/01/13/Apache+Karaf+Tutorial+Part+6+-+Database+Access I think in your case below you either have to load a bundle

Re: OSGi JPA

2013-04-18 Thread Christian Schneider
requirement [2.0] osgi.wiring.package; ((osgi.wiring.package=javax.persistence)(jpa=2.0)(version=1.1.0)) Regards, Khadija -- Christian Schneider http://www.liquid-reality.de Open Source Architect Talend Application Integration Division http://www.talend.com

Re: Question about accessing component dosgi

2013-02-28 Thread Christian Schneider
that a computer can understand. Good programmers write code that humans can understand*. (Martin Fowler) 2013/2/27 Christian Schneider ch...@die-schneider.net You have two options here: 1) Introduce the @Webservice annotation on the interface. CXF-DOSGi will then automatically use JAXWS/JAXB to export

Re: Question about accessing component dosgi

2013-02-28 Thread Christian Schneider
to export it to another container, but I can use it as a local service? Can you share with us your test example? I'm think I'm confused about WebService as a bundle and distributed bundles. Best regards! __ *Dhiego** **Abrantes* -- Christian Schneider http://www.liquid-reality.de Open Source

Re: Question about accessing component dosgi

2013-02-26 Thread Christian Schneider
to use it as a distributed osgi component. Anyone can help me? Best regards! __ *Dhiego** **Abrantes* -- Christian Schneider http://www.liquid-reality.de Open Source Architect Talend Application Integration Division http://www.talend.com

Re: How to make an OSGi bundle call external Web service

2013-02-21 Thread Christian Schneider
- To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Pojo Support for EventAdmin

2012-10-18 Thread Christian Schneider
Hi all, I really like the publish / subscribe concept of EventAdmin. It provides a great way to decouple senders and receivers. The downside is that the events are limited to a simple map and using anything else than simple types for the values is discouraged. What I am missing is a simple

Re: Pojo Support for EventAdmin

2012-10-18 Thread Christian Schneider
) the types of the objects you put into the event. This, along with the immutability requirement, is the main reason why EventAdmin supports only primitive types + String. Neil On Thu, Oct 18, 2012 at 3:02 PM, Christian Schneider ch...@die-schneider.net wrote: Hi all, I really like the publish

Re: Help me understand ClassCastException after update

2012-06-30 Thread Christian Schneider
level then it won't help will it? Thanks, Dan -- Christian Schneider http://www.liquid-reality.de Open Source Architect Talend Application Integration Division http://www.talend.com - To unsubscribe, e-mail: users

Re: What is the most efficient way to know when a iPOJO instance is validated?

2012-06-13 Thread Christian Schneider
.html Sent from the Apache Felix - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org -- Christian Schneider http

Import range settings for maven bundle plugin

2012-06-05 Thread Christian Schneider
. Is something like this already possible? If not then could it be added? Christian -- Christian Schneider http://www.liquid-reality.de Open Source Architect Talend Application Integration Division http://www.talend.com - To unsubscribe, e

Re: I want your log4j code

2012-05-30 Thread Christian Schneider
provided by the pom above and put it into our pom.xml - right? cheers Christian -- Christian Schneider http://www.liquid-reality.de Open Source Architect Talend Application Integration Division http://www.talend.com

Re: Annotation Decorated Service

2012-04-11 Thread Christian Schneider
case, would require the implementers of Task to make the pkgs public? An import package would probably also be required somewhere else. Thanks, Jorge -- Christian Schneider http://www.liquid-reality.de Open Source Architect Talend Application Integration Division http://www.talend.com

Re: Converting XStream to OSGi

2012-04-11 Thread Christian Schneider
- To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org -- Christian Schneider http://www.liquid-reality.de Open Source Architect Talend Application Integration Division http://www.talend.com

Why are internal packages imported

2012-04-11 Thread Christian Schneider
for org.apache.karaf.instance.core.internal. Is this a bug? Of course I can specify the package as private package but I would like to go with the defaults in package naming and have a rather empty configuration for the maven bundle plugin. Christian -- Christian Schneider http://www.liquid

Re: Converting XStream to OSGi

2012-04-11 Thread Christian Schneider
/2012 12:31, Christian Schneider a écrit : Hi, before you go too deep with this check this bundle: http://search.maven.org/#artifactdetails|org.apache.servicemix.bundles|org.apache.servicemix.bundles.xstream|1.4.2_2|bundle Christian Am 11.04.2012 12:12, schrieb Benoît Thiébault: Hi everyone

Re: Why are internal packages imported

2012-04-11 Thread Christian Schneider
in those cases. On Wed, Apr 11, 2012 at 15:42, Christian Schneider ch...@die-schneider.netwrote: Hi all, I have a bundle that is created using the maven-bundle-plugin. I also use blueprint in the bundle. I have an internal package named: org.apache.karaf.instance.** core.internal As the name implies

Re: Annotation Decorated Service

2012-04-10 Thread Christian Schneider
the implementation(s) private. Having said that and if the various implementations of a specific service each define meta-data using annotations, how would one get to this information without shifting from the paradigm or bending the rules. Thanks, Jorge -- Christian Schneider http://www.liquid

Re: Annotation Decorated Service

2012-04-10 Thread Christian Schneider
- To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org -- Christian Schneider http://www.liquid-reality.de Open Source Architect Talend Application Integration Division http://www.talend.com

Re: Connect a bundle to a data base

2012-03-22 Thread Christian Schneider
, still it appears the same exception :( On Thu, Mar 22, 2012 at 10:23 AM, elMateosoyelma...@gmail.com wrote: Yes, I'm developing my application with Maven. I'm going to read this tutorial. Maybe I'm doing something wrong On Wed, Mar 21, 2012 at 7:43 PM, Christian Schneider ch...@die

Re: Connect a bundle to a data base

2012-03-22 Thread Christian Schneider
, Mar 22, 2012 at 1:29 PM, Christian Schneider ch...@die-schneider.net wrote: Some questions /remarks: Why do you usemanifestLocation and_removeheaders? I never used those till now. I think you do not have to export any packages as you just provide a service. Ok, I'm going to test this. Do

Re: Connect a bundle to a data base

2012-03-21 Thread Christian Schneider
: users-h...@felix.apache.org -- Christian Schneider http://www.liquid-reality.de Open Source Architect Talend Application Integration Division http://www.talend.com - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org

Re: Connect a bundle to a data base

2012-03-21 Thread Christian Schneider
bundle running in Apache Felix. Sometimes I have another exception, java.lang.NoClassDefFoundError: javax/sql/DataSource, and I don't know why :( On Wed, Mar 21, 2012 at 5:20 PM, Christian Schneider ch...@die-schneider.net wrote: The solution described by Neil should allow that and should be easy

Re: Connect a bundle to a data base

2012-03-21 Thread Christian Schneider
this and it became sufficiently established, it would be a third-party package itself... Don That was also one my concerns ... and blueprint is at least standardized. Christian -- Christian Schneider http://www.liquid-reality.de Open Source Architect Talend Application Integration Division http

Re: Connect a bundle to a data base

2012-03-20 Thread Christian Schneider
that bundle instead. Kind regards, Neil -- Christian Schneider http://www.liquid-reality.de Open Source Architect Talend Application Integration Division http://www.talend.com - To unsubscribe, e-mail: users-unsubscr

Re: Connect a bundle to a data base

2012-03-17 Thread Christian Schneider
agree that the legacy approach is not a good solution. Is there any other solution without using Apache Karaf for creating datasource service for OSGI bundle? Best wishes Peter On Fri, Mar 16, 2012 at 12:44 PM, Christian Schneider ch...@die-schneider.net wrote: The best practice

Re: Connect a bundle to a data base

2012-03-16 Thread Christian Schneider
do it. I know that I can't do the same that in a normal Java application, but I don't find the correct form to do this. Could anybody help me? Thanks in advance, Jesus -- Christian Schneider http://www.liquid-reality.de Open Source Architect Talend Application Integration Division http

Re: JPA , OSGi but without blueprint

2012-03-07 Thread Christian Schneider
(); trans.begin(); That means of course you have no nice abstractions for transaction management. Christian -- Christian Schneider http://www.liquid-reality.de Open Source Architect Talend Application Integration Division http://www.talend.com

Re: How to add Java network server into OSGI bundle

2012-02-11 Thread Christian Schneider
. - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org -- Christian Schneider http://www.liquid-reality.de Open Source Architect Talend Application Integration Division http://www.talend.com

Re: How to add Java network server into OSGI bundle

2012-02-11 Thread Christian Schneider
:21, schrieb rcbandit2: This the complete source code: http://www.2shared.com/file/jnGjnZjZ/CB_27.html How I must edit the code in order to work? I'm new to java. -- Christian Schneider http://www.liquid-reality.de Open Source Architect Talend Application Integration Division http

Re: How to call @Datasource insight OSGI bundle

2012-02-02 Thread Christian Schneider
queries form database? Best Wishes Peter Hi Peter, you might want to take a look at my Karaf Tutorial about database access. It shows how to define a datasource and how to reference it in a bundle. http://www.liquid-reality.de/x/LYBk Christian -- Christian Schneider http://www.liquid-reality.de

Re: Graphical OSGi development tools?

2011-09-27 Thread Christian Schneider
- To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org -- -- Christian Schneider http://www.liquid-reality.de Open Source Architect Talend Application Integration Division http://www.talend.com

Re: Graphical OSGi development tools?

2011-09-27 Thread Christian Schneider
- To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org -- -- Christian Schneider http://www.liquid-reality.de Open Source Architect Talend Application Integration Division http://www.talend.com

Re: Using the jmxmp jmx remote protocol in OSGi

2011-08-31 Thread Christian Schneider
differently ? /jog On Wed, Aug 31, 2011 at 11:23 AM, Christian Schneider ch...@die-schneider.net wrote: Hi all, I am porting some jmx code to OSGi. The code wants to offer a remote jmx connector using the jmxmp protocol. This is implemented in the jmxremote_optional.jar in the jdk

Re: OSGi, Where Are Thou?

2011-07-18 Thread Christian Schneider
to join? Highly recommended! Kind regards, Peter Kriens - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org -- -- Christian Schneider http

Re: Configuration Admin service example?

2011-04-28 Thread Christian Schneider
. One question, what is the best way to implement automated test to evaluate the blueprint + configuration behavior scenarios ? are you using any tool? cheers and thanks Cristiano On 26/04/11 12:01, Christian Schneider wrote: Hi Cristiano, I have most experience in spring dm. Currently spring

Re: Configuration Admin service example?

2011-04-26 Thread Christian Schneider
Hi Cristiano, the question is what framework should the example use. Should it be plain osgi, spring dm or blueprint? Christian Am 26.04.2011 00:03, schrieb Cristiano Gavião: Hi, I would like to use Configuration Admin Service with Declared Service. But I couldn't find yet a updated

Re: Configuration Admin service example?

2011-04-26 Thread Christian Schneider
Hi Cristiano, I have most experience in spring dm. Currently spring is the most comprehensive solution. The problem with spring dm is that you need to import any package the your spring config defines into your bundle. This is far from ideal but it works. I have also some experience with

Re: ConfigAdmin change the files location

2010-10-13 Thread Christian Schneider
Hi, I am currently also evaluating the config admin service. I ported a spring application to osgi and now have the problem where to put the properties files. The property files contain db and jms connection infos. Is config admin service the right tool for this job? I already succeeded in

Re: ORM Framework Suggestions

2010-09-12 Thread Christian Schneider
I have succesfully used hibernate with osgi (Eclipse RCP). I used the bundles from Springsource. I had two problems. The first were package use problems for some javax packages that were exported by Equinox with version 0.0.0 and required in another version. I could solve this by using solution

How to create source bundles that can be used to attach the source in eclipse pde mode

2010-05-19 Thread Christian Schneider
Hi all, currently I am using the pde mode in Eclipse to work with osgi bundles. The problem is that most source jars are not attached to their binary bundles by eclipse. After long searching I found that a special manifest header is required for this to work.

Re: How to create source bundles that can be used to attach the source in eclipse pde mode

2010-05-19 Thread Christian Schneider
by the maven-source-plugin, so you'd have to find how to modify the generation of this jar to include the needed headers I suppose. This is more a question for the maven users list I guess. On Wed, May 19, 2010 at 08:45, Christian Schneider ch...@die-schneider.net wrote: Hi all, currently I am