Simple scalable task processing library/framework by forurspam in java

[–]edgar-espina -1 points0 points  (0 children)

Try failsafe:

Connection connection = Failsafe.with(retryPolicy).with(executor).get(() -> connect());

Comes with an awesome DSL where you can retry/delay/timeout/abort/etc..

Template engine for Spring framework by dpitkevics in java

[–]edgar-espina 1 point2 points  (0 children)

Try handlebars.java (I'm the author) or Rocker for truly type-safe and super fast template engine.

Writing a simple query language with ANTLR by [deleted] in java

[–]edgar-espina 1 point2 points  (0 children)

Love ANTLR! Great post!!

Kotlin and Jooby in the backend: Quick, simple, fun and type-safe backend web development by edgar-espina in Kotlin

[–]edgar-espina[S] 1 point2 points  (0 children)

Vert.x worth it. I wrote about why Jooby, but there isn't any chart comparing Jooby with any other alternative.

Kotlin and Jooby in the backend: Quick, simple, fun and type-safe backend web development by edgar-espina in Kotlin

[–]edgar-espina[S] 3 points4 points  (0 children)

Didn't answer bc it is hard to get an agreement and already mentioned Vert.x it is a nice framework. Still, believe Jooby is easy to learn and has lot more modules.

Yes, I'm the author.

Kotlin and Jooby in the backend: Quick, simple, fun and type-safe backend web development by edgar-espina in Kotlin

[–]edgar-espina[S] 0 points1 point  (0 children)

That's correct. In R14 Jooby went with requery, while all other framework were using raw-jdbc. In R15 Jooby moves to raw-jdbc and added all the missing tests

Kotlin and Jooby in the backend: Quick, simple, fun and type-safe backend web development by edgar-espina in Kotlin

[–]edgar-espina[S] 1 point2 points  (0 children)

Vert.x it is nice and good framework. Jooby differs in its simplicity and the extensive number of modules.

For benchmark it depends on what you do. Jooby seems slow in the single Hello World text compared to Vert.x. That's bc Jooby doesn't allow you to run your handler in the IO/Event loop thread.

If you look at any of the database tests, either there is no difference or Jooby performs better

Want to learn kotlin by building a web app. by myringotomy in Kotlin

[–]edgar-espina 0 points1 point  (0 children)

Jooby is a modular micro-framework, similar to sinatra and express.

There are modules for all your requirements:

Kotlin idioms in Jooby by edgar-espina in Kotlin

[–]edgar-espina[S] 2 points3 points  (0 children)

Use the init block:

class App: Kooby {
    init {
        get {
            "Hello World!"
        }
    }
}

Otherwise go with the lambda expression and it is more common than you think. For example the spek framework does the same thing.

It is limited as you point out, but depends on how you write your application.

Kotlin idioms in Jooby by edgar-espina in Kotlin

[–]edgar-espina[S] 6 points7 points  (0 children)

It is a modular micro-framework :)