[Lift] Re: More Actor garbage (collection)

2009-05-20 Thread Barry Kaplan

Can these fixes be used outside of lift?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@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] Re: Lift for non UI, xml REST server embedded in existing application?

2009-05-18 Thread Barry Kaplan

@David
 Do you want everything to live in the same WAR file? ...

No war at all, its a standalone app. Right now I have an embedded
Jetty server with a registered jetty..RequestHandler. This app
monitors machine tools on manufacturing floors, buffers the data, and
provide a client http api for performing both one-time queries and for
streaming data to the client. It connects to many tools and serves
many clients. (A client may be performing predictive analysis,
optimizing power loads, etc.)

I suppose what I'm looking for is to leverage Lift's request parsing
and dispatching, concurrency/actor infrastructure, Jetty continuation
impl, that kind of stuff.

I need to keep the footprint as low as possible as the manufacturing
shops don't like to install very powerful server boxes on the floor to
run these agents. (For the interested, more info can found at
http://mtconnect.org.)

The app is written in Scala of course, but I'm a complete newbie wrt
Lift. I haven't even read the book yet (hey, I just bought it the
other day!), let alone dug into the code, so I could be asking for
something outside the Lift's use-model.

Hope this context clarifies.

-barry


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@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] Re: Lift for non UI, xml REST server embedded in existing application?

2009-05-18 Thread Barry Kaplan

(Hmm, I replied yesterday but never saw the post, so apologies if both
eventually show up)

 Do you want everything to live in the same WAR file?  

This is a standalone app -- no war file. Currently it is using an
embedded jetty server.

The application (agent) monitors machine tools on the manufacturing
floor and provides an http client api to higher-level applications
(eg, that might do predictive analysis, power optimization, etc). The
agent monitors many tools and can server many applications. Clients
can also request the agent stream data to it. The boxes installed on
the floor are not high end, so I need to keep the footprint as low as
possible. (For the curious, see mtconnect.org)

I guess what I am looking to lift for is cleaner request parsing,
dispatching to handlers, and especially infrastructure for concurrency
(via actors) and streaming of data over http. But I don't necessarily
need for lift to be the application framework, although I won't
discount that if lift can be configured to include/boostrap only the
services that the agent actually needs.

Hopefully this adds some useful context.
-barry

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@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] Lift for non UI, xml REST server embedded in existing application?

2009-05-17 Thread Barry Kaplan

I'm looking for a bootstrap example of integrating lift into an
existing application that needs to server up XML documents via a REST
api.

The application is already operational and cannot be reconfigured to
live within lift -- I'm looking to lift to add just the http service
and infrastructure.

Does such a beast exist? (BTW, I have the lift book, but it seems only
to discuss adding an api to UI based lift application.)

thanks!
-barry

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@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
-~--~~~~--~~--~--~---