Re: [Lift] OSGi example, what to do to make it run?

2010-02-05 Thread Heiko Seeberger
OK ;-)

This is what I answered to Martin so far:

> I do not know such a tutorial, sorry. OSGi offers "hot deployment" out of
> the box, hence you do not need any JRebel or so. But by default (according
> to the spec) each bundle must be a JAR, hence you need a full build cycle.
> Eclipse Equinox allows for hosted deployment of "usual" PDE projects.


Currently Lift's OSGi support is constrained to single bundle (module)
applications. Of course this is already beneficial, because all the
dependencies (including lift-webkit etc.) are deployed as separate modules
and therefore can be updated separately. Also it should be possible to
deploy different Lift apps to one OSGi container.

But on the long run I would like to see real modular Lift applications:
Where one Lift app is made up from several bundles. Maybe some of them are
installed later and contribute to the menus, the mapper etc.

OSGi and JEE integration, namely web app integration, has been quiet for
some time, but recently there seems to be some process. I am not sure
whether the spec will deal with composite web apps: If not, we could pioneer
in this field.

Any ideas or questions?

Heiko

On 5 February 2010 18:18, David Pollak wrote:

>
>
> On Fri, Feb 5, 2010 at 9:06 AM, Heiko Seeberger <
> heiko.seeber...@googlemail.com> wrote:
>
>> On 5 February 2010 15:05, Martin Ellis  wrote:
>>
>>>
>>> Any offers/suggestions?  (Sorry, I realise the question more about
>>> OSGI than lift)
>>>
>>
>> Indeed, let's discuss this off-list ...
>>
>>
> Can you discuss it on-list?  I'd like to learn.
>
>
>> Heiko
>>
>> Work: weiglewilczek.com
>> Blog: heikoseeberger.name
>> Follow me: twitter.com/hseeberger
>> OSGi on Scala: scalamodules.org
>> Lift, the simply functional web framework: liftweb.net
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Lift" group.
>> To post to this group, send email to lift...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> liftweb+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/liftweb?hl=en.
>>
>
>
>
> --
> Lift, the simply functional web framework http://liftweb.net
> Beginning Scala http://www.apress.com/book/view/1430219890
> Follow me: http://twitter.com/dpp
> Surf the harmonics
>
> --
> You received this message because you are subscribed to the Google Groups
> "Lift" group.
> To post to this group, send email to lift...@googlegroups.com.
> To unsubscribe from this group, send email to
> liftweb+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>



-- 
Heiko Seeberger

Work: weiglewilczek.com
Blog: heikoseeberger.name
Follow me: twitter.com/hseeberger
OSGi on Scala: scalamodules.org
Lift, the simply functional web framework: liftweb.net

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.



Re: [Lift] OSGi example, what to do to make it run?

2010-02-05 Thread Ross Mellgren
On Feb 5, 2010, at 12:18 PM, David Pollak wrote:
> On Fri, Feb 5, 2010 at 9:06 AM, Heiko Seeberger 
>  wrote:
> On 5 February 2010 15:05, Martin Ellis  wrote:
> 
> Any offers/suggestions?  (Sorry, I realise the question more about
> OSGI than lift)
> 
> Indeed, let's discuss this off-list ...
> 
> 
> Can you discuss it on-list?  I'd like to learn.

+1

-Ross

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.



Re: [Lift] OSGi example, what to do to make it run?

2010-02-05 Thread David Pollak
On Fri, Feb 5, 2010 at 9:06 AM, Heiko Seeberger <
heiko.seeber...@googlemail.com> wrote:

> On 5 February 2010 15:05, Martin Ellis  wrote:
>
>>
>> Any offers/suggestions?  (Sorry, I realise the question more about
>> OSGI than lift)
>>
>
> Indeed, let's discuss this off-list ...
>
>
Can you discuss it on-list?  I'd like to learn.


> Heiko
>
> Work: weiglewilczek.com
> Blog: heikoseeberger.name
> Follow me: twitter.com/hseeberger
> OSGi on Scala: scalamodules.org
> Lift, the simply functional web framework: liftweb.net
>
> --
> You received this message because you are subscribed to the Google Groups
> "Lift" group.
> To post to this group, send email to lift...@googlegroups.com.
> To unsubscribe from this group, send email to
> liftweb+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>



-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.



Re: [Lift] OSGi example, what to do to make it run?

2010-02-05 Thread Heiko Seeberger
On 5 February 2010 15:05, Martin Ellis  wrote:

>
> Any offers/suggestions?  (Sorry, I realise the question more about
> OSGI than lift)
>

Indeed, let's discuss this off-list ...

Heiko

Work: weiglewilczek.com
Blog: heikoseeberger.name
Follow me: twitter.com/hseeberger
OSGi on Scala: scalamodules.org
Lift, the simply functional web framework: liftweb.net

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.



Re: [Lift] OSGi example, what to do to make it run?

2010-02-05 Thread Martin Ellis
On 5 February 2010 05:00, philip  wrote:
> I downloaded the git source and made a OSGi jar package by running the
> maven, now what do I do with it?
>
> I see its a jar file with the manifest for OSGi, I guess I can load it
> into Apache Felix, but doesn't Liftweb need tomcat or jetty to run? So
> I don't really understand how its going to run.

I've also puzzled over this.  I've figured out that you can point
pax-runner at the hello.composite file.

I'd love to see a tutorial on how experienced OSGI developers set up
their the development environment, and how they work the
edit/compile/redeploy cycle.  It's very obvious for mvn jetty:run
(just wait for the scanner, or use JavaRebel).  It's not so obvious
how people work with OSGI containers.  The best I've figured is to use
the pax assembly: stuff to point at target classes, and run "update
" for each edit/compile cycle - it's a bit clunky.

Any offers/suggestions?  (Sorry, I realise the question more about
OSGI than lift)

Martin

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.



Re: [Lift] OSGi example, what to do to make it run?

2010-02-04 Thread Heiko Seeberger
Philip,

Good to see some interest in Lift's OSGi support!

Of course Lift will need a servlet container. Hence you will have to
install one in your OSGi framework, too. The same accounts for all the
dependencies, e.g. the Scala library.

Heiko

On Friday, February 5, 2010, philip  wrote:
> Hi,
>
> I downloaded the git source and made a OSGi jar package by running the
> maven, now what do I do with it?
>
> I see its a jar file with the manifest for OSGi, I guess I can load it
> into Apache Felix, but doesn't Liftweb need tomcat or jetty to run? So
> I don't really understand how its going to run.
>
> Thanks, Philip
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Lift" group.
> To post to this group, send email to lift...@googlegroups.com.
> To unsubscribe from this group, send email to 
> liftweb+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/liftweb?hl=en.
>
>

-- 
Heiko Seeberger

Work: weiglewilczek.com
Blog: heikoseeberger.name
Follow me: twitter.com/hseeberger
OSGi on Scala: scalamodules.org
Lift, the simply functional web framework: liftweb.net

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.