Nginx, Sinatra, HAML, GlassFish gem blogs


#1

I’ve published a few blog entries this week that’ll be useful for this
audience:

nginx + GlassFish recipe:
http://blogs.sun.com/arungupta/entry/totd_81_how_to_use

Sinatra CRUD + HAML + GlassFish Gem:
http://blogs.sun.com/arungupta/entry/totd_80_sinatra_crud_application

Getting started with Sinatra + GlassFish gem:
http://blogs.sun.com/arungupta/entry/totd_79_getting_started_with

And of course, they all use JRuby :slight_smile: See them live in action at
RailsConf next week.

Feedback appreciated!

Thanks,
-Arun

Application Platform, Sun Microsystems, Inc.
Blog: http://blogs.sun.com/arungupta


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

#2

Arun G. wrote:

http://blogs.sun.com/arungupta/entry/totd_79_getting_started_with

And of course, they all use JRuby :slight_smile: See them live in action at
RailsConf next week.

Feedback appreciated!

Very nice Arun, thanks especially for the nginx writeup.

  • Charlie

To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

#3

Maybe this is a dumb question, but why would one want to use a front-end
proxy server like nginx or Apache for GlassFish? Isn’t GF already
multithreaded and has the ability to start multiple Rails instances at
one
time? What would you be gaining with nginx? I thought the benefits of
using JRuby and GF was to get away with a more complicated proxied
server
setup?

Joe

On Thu, Apr 30, 2009 at 10:24 AM, Charles Oliver N. <


#4

Glassfish can’t set the expires header correctly. If you have GF
serving CDN origin assets you are hosed.


#5

Great posts arun!

Ikai,

This would be a bug, can you open an issue at
http://rubyforge.org/projects/glassfishgem/ with little more detail,
like in
what situation you observed this?

Charlie summed it well on why you want to proxy but this is not you need
in
all the cases. You can always start as many jruby runtimes as your
hradware
can take.

-vivek.


#6

The classic question, and there’s a simple answer: it’s easier to proxy
if you already have Apache or nginx set up for other purposes. If you
can accept just running GF gem and nothing else, it ought to work great
too, but this makes it easier to have one or several GF gem-hosted apps
in a heterogeneous environment based on Apache or nginx as the
integration point.

Joseph A. wrote:

<removed_email_address@domain.invalid mailto:removed_email_address@domain.invalid> wrote:
http://blogs.sun.com/arungupta/entry/totd_80_sinatra_crud_application
Very nice Arun, thanks especially for the nginx writeup.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email