simple boot library of Jetty
new JettyBoot(8090, "/harbor").asDevelopment().bootAwait();
No need to shutdown previous process when you restart it.
Automatically shutdown before next process boot
Can boot it by example of LastaFlute:
- git clone https://github.com/lastaflute/lastaflute-example-harbor.git
- prepare database by *ReplaceSchema at DBFlute client directory 'dbflute_maihamadb'
- compile it by Java8, on e.g. Eclipse or IntelliJ or ... as Maven project
- execute the *main() method of (org.docksidestage.boot) HarborBoot
- access to http://localhost:8090/harbor
and login by user 'Pixy' and password 'sea', and can see debug log at console.
*ReplaceSchema
// call manage.sh at lastaflute-example-harbor/dbflute_maihamadb
// and select replace-schema in displayed menu
...$ sh manage.sh
*main() method
public class HarborBoot {
public static void main(String[] args) {
new JettyBoot(8090, "/harbor").asDevelopment().bootAwait();
}
}
<dependency>
<groupId>org.dbflute.jetty</groupId>
<artifactId>jetty-boot</artifactId>
<version>0.5.4</version>
</dependency>
...use TomcatBoot with Jasper: https://github.com/dbflute-session/tomcat-boot
Apache License 2.0
comming soon...
JettyBoot is used by:
comming soon...