Ruby Forum JRuby > WARBLER - What is the difference between Merb and Rack webxml booters?

Posted by Wes Gamble (weyus)
on 19.08.2008 19:09
(Received via mailing list)
What is the actual difference at runtime between doing

  config.webxml.booter = :merb

and

  config.webxml.booter = :rack

in the warble.rb file?

Currently, I'm using :merb.  Should I be using :rack, or would that only
make sense if I were dealing with a non-Merb, non-Rails app.?

Thanks,
Wes



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Posted by Nick Sieger (Guest)
on 19.08.2008 19:21
(Received via mailing list)
On Tue, Aug 19, 2008 at 12:08 PM, Wes Gamble <weyus@att.net> wrote:
> make sense if I were dealing with a non-Merb, non-Rails app.?
Basically, yes. You might be able to get Merb working with the :rack
booter and a canned Merb rackup file, but I haven't tried it.

/Nick

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Posted by Wes Gamble (weyus)
on 19.08.2008 19:42
(Received via mailing list)
Nick Sieger wrote:
>> in the warble.rb file?
>> Currently, I'm using :merb.  Should I be using :rack, or would that only
>> make sense if I were dealing with a non-Merb, non-Rails app.?
>>     
>
> Basically, yes. You might be able to get Merb working with the :rack
> booter and a canned Merb rackup file, but I haven't tried it.
>   
What is the point of doing that?  Why is it better (if it is)?

Wes

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Posted by Nick Sieger (Guest)
on 19.08.2008 20:12
(Received via mailing list)
On Tue, Aug 19, 2008 at 12:42 PM, Wes Gamble <weyus@att.net> wrote:
>>>
>
> What is the point of doing that?  Why is it better (if it is)?

Dudley Flanders wrote most of the Merb booter. The upside is less
configuration and better adaptation to the servlet environment -- Merb
environment is booted, logger gets redirected to appserver log,
session are bridged to the java servlet sessions.

/Nick

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Posted by Wes Gamble (weyus)
on 19.08.2008 20:48
(Received via mailing list)
Nick Sieger wrote:
>>>>
>>> booter and a canned Merb rackup file, but I haven't tried it.
>>>
>>>       
>> What is the point of doing that?  Why is it better (if it is)?
>>     
>
> Dudley Flanders wrote most of the Merb booter. The upside is less
> configuration and better adaptation to the servlet environment -- Merb
> environment is booted, logger gets redirected to appserver log,
> session are bridged to the java servlet sessions
Not to be dense, does "upside" mean the upside of the Merb booter or the
Rack booter?

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Posted by Charles Oliver Nutter (Guest)
on 30.08.2008 23:28
(Received via mailing list)
Wes Gamble wrote:
>> Dudley Flanders wrote most of the Merb booter. The upside is less
>> configuration and better adaptation to the servlet environment -- Merb
>> environment is booted, logger gets redirected to appserver log,
>> session are bridged to the java servlet sessions
> Not to be dense, does "upside" mean the upside of the Merb booter or the 
> Rack booter?

Upside refers to the merb booter. In order to support Rack, we have to
"generalize" the objects provided by the servlet API a bit more, so
there's a potential they'll be a bit slower as a result (in comparison
to the app-specific booters.

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email