Thanks, Dimitar and glad a quick look take your attention (that's the goal
;))

I shared your thoughts on IOC and reflection, but also think complex/large
apps required IOC. Not 100% sure about reflection, think we should avoid it
as much possible but again some use cases required it. and yes, it is a
matter of taste.

You've a good point around returning void. I will probably change that
before: 1.0.0 release. But unfortunately, we can't have two flavors the
lambda need to return a value or void... Java 8 compiler (javac/eclipse)
isn't so clever yet :(

Async handlers is a TODO, but one simple options will be:

get("/", (req, rsp) -> {
   ...
}).async(true);

I invite you to shared your ideas and comments in
https://groups.google.com/forum/#!forum/jooby-project and help me to
improve jooby.

Thanks


On Tue, Nov 11, 2014 at 10:03 AM, Dimitar Georgiev <
[email protected]> wrote:

>  Hi,
>
> Looks very promising. Certainly better than a JEE6 App :) I, too, utilize
> config and jackson in all my projects. I tend to stay away from IOC and
> annotation / reflection based app frameworks, but that is matter of
> personal preference, and as far as I see they are not intrusive  / are
> optional in Jooby.
>
> I only could take a very quick look at the documentation. Here are my
> quick questions that arose:
>
> - It looks like you are trying to promote a somewhat functional style in
> the framework and API, or at least take advantage of lambdas. Why is a
> handler's result void ? Does an Either<E,A> complicate things
> unnecessarily? Probably there could be two flavors ...
>
> - Probably on the same note, how do I express asynch-ness of my handler
> result, is this somehow supported?
>
> Regards, D
>
>
> On 11.11.2014 14:30, Edgar Espina wrote:
>
>  Hi,
>
>  Â I'm please to announce the first release of:
>
>  jooby <http://jooby.org/>:Â A minimalist web framework for Java 8,
>> inspired by express.js
>
>
>  And of course it is built on top of Jetty 9.x :)
>
>  http://jooby.org/
>
>  --
> edgar
>
>
> _______________________________________________
> jetty-users mailing [email protected]
> To change your delivery options, retrieve your password, or unsubscribe from 
> this list, visithttps://dev.eclipse.org/mailman/listinfo/jetty-users
>
>
>
> _______________________________________________
> jetty-users mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>



-- 
edgar
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to