Starting out with OSGi

2008-11-28 Thread Vinicius Carvalho
Hello there! We are re-building our main application (we shall open its source soon as well), and one of my goals was to start it right, and by that I wish to create a full OSGi application. I've just started with felix, downloaded the main jars, and start playing with it. Read most of the tutorial

Re: Starting out with OSGi

2008-11-28 Thread Hendy Irawan
A bunch of Google will help, and I've also written a post in response: http://hendyirawan.com/2008/11/28/starting-out-with-osgi/ On Fri, Nov 28, 2008 at 6:59 PM, Toni Menzel <[EMAIL PROTECTED]> wrote: > and keep an eye on this http://manning.com/hall/ > > Toni > > On

Re: Starting out with OSGi

2008-11-28 Thread Vinicius Carvalho
Yep, I'm looking forward to it, but I only buy MEAP after at least 4 chapters (I have a lot of MEAP here :D) On Fri, Nov 28, 2008 at 9:59 AM, Toni Menzel <[EMAIL PROTECTED]> wrote: > and keep an eye on this http://manning.com/hall/ > > Toni > > On Fri, Nov 28, 2008 at 12:56 PM, Heiko Seeberger <[

Re: Starting out with OSGi

2008-11-28 Thread Heiko Seeberger
Do you know Neil's book? http://neilbartlett.name/blog/osgibook/ Heiko Am 28.11.2008 um 12:38 schrieb Vinicius Carvalho: Hello there! We are re-building our main application (we shall open its source soon as well), and one of my goals was to start it right, and by that I wish to create a fu

Re: Starting out with OSGi

2008-11-28 Thread Hendy Irawan
On Fri, Nov 28, 2008 at 6:38 PM, Vinicius Carvalho < [EMAIL PROTECTED]> wrote: > Hello there! We are re-building our main application (we shall open its > source soon as well), and one of my goals was to start it right, and by > that > I wish to create a full OSGi application. I've just started wi

Re: Starting out with OSGi

2008-11-28 Thread Toni Menzel
and keep an eye on this http://manning.com/hall/ Toni On Fri, Nov 28, 2008 at 12:56 PM, Heiko Seeberger <[EMAIL PROTECTED]>wrote: > Do you know Neil's book? > http://neilbartlett.name/blog/osgibook/ > > Heiko > > Am 28.11.2008 um 12:38 schrieb Vinicius Carvalho: > > > Hello there! We are re-bui

Re: Starting out with OSGi

2008-11-28 Thread Richard S. Hall
Vinicius Carvalho wrote: Yep, I'm looking forward to it, but I only buy MEAP after at least 4 chapters (I have a lot of MEAP here :D) We are almost at that point. The first four chapters have taken longer than we anticipated, since there is a lot of information to cover. -> richard On Fr

Re: Starting out with OSGi

2008-12-19 Thread Vinicius Carvalho
BTW, got Richard's book this monday, finished yesterday. Really good addtion, thanks Richard. I'm really waiting for chapt 17. Since web apps are the most common these days :) Regards On Fri, Nov 28, 2008 at 2:04 PM, Richard S. Hall wrote: > Vinicius Carvalho wrote: > >> Yep, I'm looking forward

Re: Starting out with OSGi

2008-12-19 Thread Rob Walker
Vinicius Carvalho wrote: BTW, got Richard's book this monday, finished yesterday. Really good addtion, thanks Richard. I'm really waiting for chapt 17. Since web apps are the most common these days :) Just an FYI. If your interest is web apps, it takes a bit of tinkering, but GWT and GWT-RP

Re: Starting out with OSGi

2008-12-19 Thread Vinicius Carvalho
Great news :) Rob, do you have any material on that? We are looking to use GWT and GWT-RPC as our web frontends. Regards On Fri, Dec 19, 2008 at 9:47 AM, Rob Walker wrote: > > > Vinicius Carvalho wrote: > >> BTW, got Richard's book this monday, finished yesterday. Really good >> addtion, thank

Re: Starting out with OSGi

2008-12-19 Thread Rob Walker
Rob, do you have any material on that? We are looking to use GWT and GWT-RPC as our web frontends. I don't have any real docs as such - all our work has been purely "internal". I can describe a little of how we work though: * We use standard Felix, and the Felix Http Service. Although

Re: Starting out with OSGi

2008-12-19 Thread Richard S. Hall
Rob, Perhaps you should have just created a page on the Wiki for this. :-) -> richard Rob Walker wrote: Rob, do you have any material on that? We are looking to use GWT and GWT-RPC as our web frontends. I don't have any real docs as such - all our work has been purely "internal". I ca

Re: Starting out with OSGi

2008-12-19 Thread Richard S. Hall
Vinicius Carvalho wrote: BTW, got Richard's book this monday, finished yesterday. Really good addtion, thanks Richard. I'm really waiting for chapt 17. Since web apps are the most common these days :) Thanks. Karl, Stuart, and I are working hard on it. Still a lot to finish, so please give

Re: Starting out with OSGi

2008-12-19 Thread Vinicius Carvalho
Thanks Rob, your email was very helpful, we are just starting next week with some minor implementation on the new architecture, I'll certainly use this as a reference, thanks for sharing. On Fri, Dec 19, 2008 at 10:56 AM, Rob Walker wrote: > > > Rob, do you have any material on that? We are loo

Re: Starting out with OSGi

2008-12-21 Thread Rob Walker
Richard S. Hall wrote: Rob, Perhaps you should have just created a page on the Wiki for this. :-) In hindsight - possibly. This seemed quicker when I started out! ;) - Rob - To unsubscribe, e-mail: users-unsubscr...@feli

Re: Starting out with OSGi

2008-12-21 Thread Rob Walker
Vinicius Carvalho wrote: Thanks Rob, your email was very helpful, we are just starting next week with some minor implementation on the new architecture, I'll certainly use this as a reference, thanks for sharing. You're very welcome. I may have missed some parts out - so if you get stuck

Re: Starting out with OSGi

2009-01-15 Thread Vinicius Carvalho
Rob, I'm sorry about this dumb question, since I'm new to GWT as well. Do we need to register every servlet we got? Or GWT works on a front controller way? Regards On Mon, Dec 22, 2008 at 5:11 AM, Rob Walker wrote: > > > Vinicius Carvalho wrote: > >> Thanks Rob, your email was very helpful, we

Re: Starting out with OSGi

2009-01-15 Thread Rob Walker
That's kind of up to you really - depending on how you want to break down your application into servlets, and how you want to "partition" the GWT RPC services you need across servlets. Assuming your using GWT RPC (which is all we've used) then on the client side, you create a URL that contains

Re: Starting out with OSGi

2009-02-03 Thread Vinicius Carvalho
Hello there! Rob following your instructions when we try to load a resource: httpService.registerResource("/OSLApplication.html","/OSLApplication.html", webcontext); //This is the GWT entry-point And when the method from webcontext is finally called when the user points to localhost:8080/myapp/OS

Re: Starting out with OSGi

2009-02-03 Thread Stuart McCulloch
2009/2/4 Vinicius Carvalho > Hello there! Rob following your instructions when we try to load a > resource: > > httpService.registerResource("/OSLApplication.html","/OSLApplication.html", > webcontext); //This is the GWT entry-point > > And when the method from webcontext is finally called when t

Re: Starting out with OSGi

2009-02-03 Thread Vinicius Carvalho
Yeah, they have different classloaders :( Well, one "easy" way out was to move resources/www to the WAR/WEB-INF/classes It now does load the OSLApplication.html, problem is the other resources... like not counting the images and other static resources. Do you need to register each one o

Re: Starting out with OSGi

2009-02-03 Thread Rob Walker
Vinicius First part I'd check is whether you really mean this: httpService.registerResource("/OSLApplication.html","/OSLApplication.html",webcontext); //This is the GWT entry-point I think that means all names will get resolved to a base alias of "/OSLApplication.html" - I wonder whethe