[Lift] Re: Lift as a UI in server side OSGi

2009-03-29 Thread Chad Skinner
> > >> Yes. I've got a backlog of stuff to do a mile long. Don't expect > anything on this item before Wednesday. > >> >> David, Is this backlog something that is public or something we can read. I'm hoping to get a better idea of how things work (Lift, OSGi, application architecture / design, in

[Lift] Re: Lift as a UI in server side OSGi

2009-03-28 Thread David Pollak
On Sat, Mar 28, 2009 at 11:28 AM, Chad Skinner wrote: > > > On Sat, Mar 21, 2009 at 10:51 AM, David Pollak < > feeder.of.the.be...@gmail.com> wrote: > >> >> >> On Fri, Mar 20, 2009 at 8:35 PM, Chad Skinner wrote: >> >>> I may be greatly overcomplicating things... I have been trying to read >>> som

[Lift] Re: Lift as a UI in server side OSGi

2009-03-28 Thread Chad Skinner
On Sat, Mar 21, 2009 at 10:51 AM, David Pollak < feeder.of.the.be...@gmail.com> wrote: > > > On Fri, Mar 20, 2009 at 8:35 PM, Chad Skinner wrote: > >> I may be greatly overcomplicating things... I have been trying to read >> some of the source code for the LiftServlet.scala and the class comment i

[Lift] Re: Lift as a UI in server side OSGi

2009-03-23 Thread Chad Skinner
> > I'm working with a couple of the OSGi gurus on this issue. They're in town > for EclipseCon this week and I'll be meeting with them on Thursday. Don't > worry about doing anything... we'll get OSGi support into Lift. > David and everyone, Thanks for all of your help on this and your effort

[Lift] Re: Lift as a UI in server side OSGi

2009-03-21 Thread David Pollak
On Fri, Mar 20, 2009 at 8:35 PM, Chad Skinner wrote: > I may be greatly overcomplicating things... I have been trying to read some > of the source code for the LiftServlet.scala and the class comment is: > I'm working with a couple of the OSGi gurus on this issue. They're in town for EclipseCon

[Lift] Re: Lift as a UI in server side OSGi

2009-03-21 Thread Chad Skinner
I may be greatly overcomplicating things... I have been trying to read some of the source code for the LiftServlet.scala and the class comment is: /** * An implementation of HttpServlet. Just drop this puppy into * your Java web container, do a little magic in web.xml, and * ta-da, you've got

[Lift] Re: Lift as a UI in server side OSGi

2009-03-20 Thread David Pollak
On Fri, Mar 20, 2009 at 6:23 AM, Chad Skinner wrote: > > I might only have 8 years of experience with working with the >> Servlet-stack, but the main reason that Lift is hooked into a Filter is that >> Lift filters requests... ;) >> > > But, if OSGi does not support filters then another solution w

[Lift] Re: Lift as a UI in server side OSGi

2009-03-20 Thread TylerWeir
> The only breakage that I can see is that Req.request is going to turn from > an HttpServletRequest to Box[HttpServletRequest] The rest will be under the > covers. This is pretty damn exciting. On Mar 20, 10:24 am, David Pollak wrote: > On Fri, Mar 20, 2009 at 1:52 AM, Viktor Klang wrote: > >

[Lift] Re: Lift as a UI in server side OSGi

2009-03-20 Thread David Pollak
On Fri, Mar 20, 2009 at 1:52 AM, Viktor Klang wrote: > Guys, > > I might only have 8 years of experience with working with the > Servlet-stack, but the main reason that Lift is hooked into a Filter is that > Lift filters requests... ;) > > Hooking it in as a Servlet would only be feasible if we'd

[Lift] Re: Lift as a UI in server side OSGi

2009-03-20 Thread Viktor Klang
On Fri, Mar 20, 2009 at 2:23 PM, Chad Skinner wrote: > > I might only have 8 years of experience with working with the >> Servlet-stack, but the main reason that Lift is hooked into a Filter is that >> Lift filters requests... ;) >> > > But, if OSGi does not support filters then another solution w

[Lift] Re: Lift as a UI in server side OSGi

2009-03-20 Thread Chad Skinner
> I might only have 8 years of experience with working with the > Servlet-stack, but the main reason that Lift is hooked into a Filter is that > Lift filters requests... ;) > But, if OSGi does not support filters then another solution will need to be identified. For example, what if all requests a

[Lift] Re: Lift as a UI in server side OSGi

2009-03-20 Thread Viktor Klang
Guys, I might only have 8 years of experience with working with the Servlet-stack, but the main reason that Lift is hooked into a Filter is that Lift filters requests... ;) Hooking it in as a Servlet would only be feasible if we'd have a two-pass system where: The request first goes through the

[Lift] Re: Lift as a UI in server side OSGi

2009-03-19 Thread Chad Skinner
On Thu, Mar 19, 2009 at 5:44 PM, David Pollak wrote: > Chad, > What would be most helpful is if you could mock up and example with > servlets (written in Scala or Java). If I have something that I can run and > test, then I can figure out how to shim Lift into it. > > David, I'll try to mock so

[Lift] Re: Lift as a UI in server side OSGi

2009-03-19 Thread David Pollak
Chad, What would be most helpful is if you could mock up and example with servlets (written in Scala or Java). If I have something that I can run and test, then I can figure out how to shim Lift into it. Thanks, David On Thu, Mar 19, 2009 at 3:31 PM, Chad Skinner wrote: > >> The sugested worka

[Lift] Re: Lift as a UI in server side OSGi

2009-03-19 Thread Chad Skinner
> > > The sugested workaround (FilterServletAdaptor) might also help to get the > LiftFilter working. > I will take a look into this ... I have spent the last week reading in my spare time and am still feeling a little lost ... honestly, I had not heard of lift and very little of scala before then.

[Lift] Re: Lift as a UI in server side OSGi

2009-03-19 Thread Chad Skinner
> > AFAIK to the OSGi HttpService one can only register a > servlet.LiftServlet class is A HttpServlet but I don;t think that this > would help you much as critical operations are done in the LiftFilter > class. > This is correct OSGi does not support the newest servlet spec and filters are not su

[Lift] Re: Lift as a UI in server side OSGi

2009-03-19 Thread David Pollak
+1 on making Lift work with OSGi +1 on ripping the logic out of both the Servlet and ServletFilter implementations and moving them elsewhere. This will be necessary to do portlets anyway. On Thu, Mar 19, 2009 at 1:45 PM, marius d. wrote: > > Hi Chad, > > On Mar 19, 9:45 pm, chad skinner wrote:

[Lift] Re: Lift as a UI in server side OSGi

2009-03-19 Thread Jan Lohre
Not that there is much action (last update was in 2007) but it might be worthwhile to look at: https://bugs.eclipse.org/bugs/show_bug.cgi?id=128068 Maybe votes help to get the enhancement request be resolved. The sugested workaround (FilterServletAdaptor) might also help to get the LiftFilter wor

[Lift] Re: Lift as a UI in server side OSGi

2009-03-19 Thread marius d.
Hi Chad, On Mar 19, 9:45 pm, chad skinner wrote: > I am trying to redesign our web applications into a more services / > component based system that would allow us to add features without > having to worry about breaking other components. I have been > investigating OSGi as a framework utilizing