Re: [Resteasy-users] Using Netty, RestEasy and Weld

2014-02-21 Thread John D. Ament
Friso, TO an extent, yes this would compete with DropWizard, but leverage some EE technology in the mix (CDI). John On Fri, Feb 21, 2014 at 9:14 AM, Friso Vrolijken wrote: > Hi, > > -Oorspronkelijk bericht- >> Great stuff, but still don't understand why you guys want to roll your own >

Re: [Resteasy-users] Using Netty, RestEasy and Weld

2014-02-21 Thread John D. Ament
Bill, Management, to an extent. Depends on needs. Most admins I deal with at this point don't both launching the admin consoles, and just do everything via CLI, or in my direct case are planning to run NewRelic for monitoring so it all becomes moot. The deployment structure is also simpler, dro

Re: [Resteasy-users] Using Netty, RestEasy and Weld

2014-02-21 Thread Friso Vrolijken
Hi, -Oorspronkelijk bericht- > Great stuff, but still don't understand why you guys want to roll your own > app server. > Let me take a look. You submitting a PR? Sounds to me like you're recreating http://dropwizard.codahale.com/ ? Groeten, Friso --

Re: [Resteasy-users] Using Netty, RestEasy and Weld

2014-02-21 Thread Bill Burke
I'm also disappointed that it is nearly impossible to figure out to fully removed components from AS7/Wildfly. But it is possible to fine tune its memory footprint by disabling subsystems you are not using. Not sure how far you can go with that though. But "rolling your own app server" also r

Re: [Resteasy-users] Using Netty, RestEasy and Weld

2014-02-20 Thread John D. Ament
It's actually a lot more lightweight. The minimum I can run the equivalent on AS7 on is ~ 180 mb in binaries, but throwing this together is about 32 mb (and compresses further when its packaged). I'm able to start the JVM on the bare minimum (~100mb on my linux VM) but AS7 with all I need is about

Re: [Resteasy-users] Using Netty, RestEasy and Weld

2014-02-20 Thread Bill Burke
Great stuff, but still don't understand why you guys want to roll your own app server. Let me take a look. You submitting a PR? On 2/20/2014 8:49 PM, John D. Ament wrote: > All, > > So, I finally put together the starts of making this more integrated > with RestEasy. > > See the branch here: >

Re: [Resteasy-users] Using Netty, RestEasy and Weld

2014-02-20 Thread John D. Ament
All, So, I finally put together the starts of making this more integrated with RestEasy. See the branch here: https://github.com/johnament/Resteasy/compare/RESTEASY-NETTY Basically, create a simple main program that starts up Netty and does a RestEasy Deployment, with Weld SE running. Let me kn

Re: [Resteasy-users] Using Netty, RestEasy and Weld

2014-01-20 Thread John D. Ament
Bill, Definitely. I already sent you one on the CdiInjectorFactory bug I saw in Netty. ( https://issues.jboss.org/browse/RESTEASY-1009 ) Another thing to think about is how to get an external RequestDispatcher. Right now, you have a lot of duplicate code in Netty3 and Netty4 modules (it also l

Re: [Resteasy-users] Using Netty, RestEasy and Weld

2014-01-20 Thread Bill Burke
We would of course appreciate any PRs that could come out of this effort. On 1/19/2014 9:58 AM, John D. Ament wrote: > Hi all, > > In case anyone's interested, I just put out a blog post on how you can > use RestEasy and the Netty Embedded Server with Weld. > > http://john-ament.blogspot.com/2014/

Re: [Resteasy-users] Using Netty, RestEasy and Weld

2014-01-19 Thread Weinan Li
Hi John, Nice article! I’ve forked your project to learn from it :-) -- Weinan Li On Sunday, January 19, 2014 at 10:58 PM, John D. Ament wrote: > Hi all, > > In case anyone's interested, I just put out a blog post on how you can > use RestEasy and the Netty Embedded Server with Weld. >

[Resteasy-users] Using Netty, RestEasy and Weld

2014-01-19 Thread John D. Ament
Hi all, In case anyone's interested, I just put out a blog post on how you can use RestEasy and the Netty Embedded Server with Weld. http://john-ament.blogspot.com/2014/01/bridging-netty-resteasy-and-weld.html and if you'd like to see the code: https://github.com/johnament/resteasy-netty-cdi Pl