Does anyone else embed jetty in their application? We do, but it is a
bit cobbled together, using a mix of an old version of jruby-rack and a
custom rack handler.
I like jruby-rack, because it looks pretty active, but it seems to only
support running your application inside an application server, whereas
we need to embed an application server.
I got it working like this, but I had to:
- write a custom handler (that does the business of creating a jetty
instance with the right options)
- create a servlet filter that creates the environment, wraps the
j2ee objects with the appropriate jruby rack objects and then calls
I did this about a year ago and it feels like things have moved on.
Could I be doing this with out my custom code? It still feels like I
need to - I can’t figure out if any of the libraries out there will
support my use case without making me compromise in some way.