Welcome to EverybodyWiki 😃 ! Nuvola apps kgpg.png Log in or ➕👤 create an account to improve, watchlist or create an article like a 🏭 company page or a 👨👩 bio (yours ?)...

Javalin

From EverybodyWiki Bios & Wiki



Javalin
Developer(s)David Åse
Initial release5 November 2017; 3 years ago (2017-11-05)
Stable release
2.6.0 / 17 January 2019; 2 years ago (2019-01-17)
Written inKotlin
Engine
    Operating systemCross-platform (Java Virtual Machine)
    TypeWeb application framework
    LicenseApache License 2.0
    Websitejavalin.io

    Amazon.com Logo.png Search Javalin on Amazon.

    Javalin is a free and open-source software web application framework that started as a fork of the web framework Spark[1]. Like Spark, Javalin is inspired by Sinatra, and follows a purely programmatic approach to building web-applications: "You don't need to extend anything, there are no @Annotations, no reflection, no other magic; just code" [2]. As of version 2.6, the framework supports most modern features, such as HTTP2, WebSockets, asynchronous requests and server-sent events[3][4].

    Hello World Example[edit]

    import io.javalin.Javalin
    
    fun main(args: Array<String>) {
        val app = Javalin.create().start(7000)
        app.get("/") { ctx -> ctx.result("Hello World") }
    }
    

    External links[edit]

    References[edit]

    1. "Javalin — a very lightweight web framework for both Kotlin and Java developers". JAXenter. 2017-11-08. Retrieved 2019-02-17.
    2. "Lightweight Javalin Framework Already Moving Past Milestone -". ADTmag. Retrieved 2019-02-17.
    3. Krill, Paul (2018-08-24). "Javalin 2.0 supports WebJars web libraries, JSON modularization". InfoWorld. Retrieved 2019-02-17.
    4. "What's new in Javalin 2.6: Server-side events, app extensions, and more!". JAXenter. 2019-01-21. Retrieved 2019-02-17.


    This article "Javalin" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:Javalin. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.