Skip to content

WavyWalk/simpler-embedded-jetty

Repository files navigation

Waht's it

An embedded server for dev purposes to use with simpler framework

how to install

//build.gradle
repositories {
    mavenCentral()
    maven {
        url  "https://dl.bintray.com/wavywalk/maven" //add this repo
    }
}

dependencies {
    compile 'at.wavywalk.simpler:simpler-embedded-jetty:0.1.0:sources'
    compile 'at.wavywalk.simpler:simpler-embedded-jetty:0.1.0'
}

How to use with simpler

Simpler is supposed to run in servlet container. but for dev purposes if you don't like suff like gretty etc.: create your main.kt and run from there like so:

fun main(applicationArguments: Array<String>) {
    SimplerEmbeddedJettyStarter().startServer(8000, ApplicationBootstrapper()) //here application bootstrapper is your class that inherits from simpler bootstrapper and has @WebListener  annotation
}

that's all folks!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages