New OSGi presentation

2011-01-20 Thread Richard S. Hall
After some recent experiences I had with some developers trying to use OSGi without even understanding the basics, I decided to work on a presentation highlighting what you must understand about OSGi to use it. Please find it on the presentations page:

Re: New OSGi presentation

2011-01-20 Thread Steven Siebert
lol, nice cookie-jar references a couple comments slides 15-19 was a bit confusing...you went from talking about OSGi modularity in 15 to the standard java packaging/classpath from 16-19 without a visual transition. I found myself saying wait...that's not right. If Rich says this,

Re: New OSGi presentation

2011-01-20 Thread Richard S. Hall
On 1/20/11 9:47, Steven Siebert wrote: lol, nice cookie-jar references a couple comments slides 15-19 was a bit confusing...you went from talking about OSGi modularity in 15 to the standard java packaging/classpath from 16-19 without a visual transition. I found myself saying

Re: New OSGi presentation

2011-01-20 Thread Rémon . Sinnema
- Original Message From: Richard S. Hall he...@ungoverned.org To: users@felix.apache.org Sent: Thu, January 20, 2011 3:07:10 PM Subject: New OSGi presentation Comments welcome. Slide 5: I've never ready any OSGi documentation at all. ready = read

Re: New OSGi presentation

2011-01-20 Thread john . dunlap
Thanks for doing this Richard! I like the sound of OSGi but I've never made the leap to it because I don't feel that I understand it well enough to convince myself that it is the right direction to go in. Your slides have clarified a number of things for me and your analogies are both

RE: Auto-deploy exploded bundles

2011-01-20 Thread Muller, Anthony
Shame... :( Why this limitation? Regards, Anthony -Original Message- From: Richard S. Hall [mailto:he...@ungoverned.org] Sent: mercredi 19 janvier 2011 17:35 To: users@felix.apache.org Subject: Re: Auto-deploy exploded bundles On 1/19/11 10:38, Muller, Anthony wrote: Hello, I'm

RE: Auto-deploy exploded bundles

2011-01-20 Thread Muller, Anthony
Hello Guillaume, Thank for your reply but I don't know what is FileInstall... Regards, Anthony -Original Message- From: Guillaume Nodet [mailto:gno...@gmail.com] Sent: mercredi 19 janvier 2011 18:11 To: users@felix.apache.org Subject: Re: Auto-deploy exploded bundles FWIW, FileInstall

Re: New OSGi presentation

2011-01-20 Thread Richard S. Hall
On 1/20/11 10:18, Rémon. Sinnema wrote: - Original Message From: Richard S. Hallhe...@ungoverned.org To: users@felix.apache.org Sent: Thu, January 20, 2011 3:07:10 PM Subject: New OSGi presentation Comments welcome. Slide 5: I've never ready any OSGi documentation at all. ready =

Re: New OSGi presentation

2011-01-20 Thread Richard S. Hall
On 1/20/11 10:47, john.dun...@exceter.com wrote: Thanks for doing this Richard! I like the sound of OSGi but I've never made the leap to it because I don't feel that I understand it well enough to convince myself that it is the right direction to go in. Your slides have clarified a number

Re: Auto-deploy exploded bundles

2011-01-20 Thread Richard S. Hall
On 1/20/11 11:20, Muller, Anthony wrote: Shame... :( Why this limitation? Exploded bundles don't work in all situations, they are more of a hack just to help people during development. - richard Regards, Anthony -Original Message- From: Richard S. Hall

Re: New OSGi presentation

2011-01-20 Thread Per-Erik Svensson
Great read, although a little hostile to newcomers maybe. :) The parts about class loading might, as others have suggested, be a bit too complex for us average java developers too. I certainly didn't know about this before starting with OSGi. And I still have alot to learn of course! And I

Re: Running HTTP service on random free port

2011-01-20 Thread Carl Hall
This sounds pretty interesting. I'll take a stab at this and be sure to update the JIRA [1]. 1 https://issues.apache.org/jira/browse/FELIX-2786 https://issues.apache.org/jira/browse/FELIX-2786 On Mon, Jan 17, 2011 at 4:11 PM, Marcel Offermans marcel.offerm...@luminis.nl wrote: On Jan 17,

Re: Running HTTP service on random free port

2011-01-20 Thread Holger Hoffstätte
On 20.01.2011 23:50, Carl Hall wrote: This sounds pretty interesting. I'll take a stab at this and be sure to update the JIRA [1]. [1] https://issues.apache.org/jira/browse/FELIX-2786 Great! I would have gotten to it eventually but have other things on my list for now. Will gladly provide

Question regarding time of class loading and OSGi-threading tips

2011-01-20 Thread Per-Erik Svensson
Hi, I would like to know when a class is loaded. I guess it is a bit different depending on things like usage of static members and the like but... Say java.util.Logger. I have a bundle that only consumes services. When the bundle is started it is running a few background threads. When the bundle

Re: New OSGi presentation

2011-01-20 Thread Per-Erik Svensson
I guess you could interpret it that way, but that wasn't the intent. I understand that and I didn't take it as hostile. But I couldn't find a better word, although I'm sure there are plenty. :) However, type visibility shines through even in standard Java...if you don't understand how to set the

Re: New OSGi presentation

2011-01-20 Thread Richard S. Hall
On 1/20/11 6:46 PM, Per-Erik Svensson wrote: Agreed it's not a completely fair comparison. And point taken. Maybe it's a tooling problem though. Most IDEs abstract away the classpath and the only time you deal with it is when deploying desktop apps (?). And I wasn't talking about the

Re: Question regarding time of class loading and OSGi-threading tips

2011-01-20 Thread Richard S. Hall
On 1/20/11 6:02 PM, Per-Erik Svensson wrote: Hi, I would like to know when a class is loaded. I guess it is a bit different depending on things like usage of static members and the like but... Say java.util.Logger. I have a bundle that only consumes services. When the bundle is started it is