项目作者: bnsd55

项目描述 :
Jetty 9.4, Jersey 2.7 and Guice 4.2.0 starter kit with SSL support and hk2-guice-bridge
高级语言: Java
项目地址: git://github.com/bnsd55/jetty-jersey-guice-starter-kit.git
创建时间: 2018-09-19T12:12:50Z
项目社区:https://github.com/bnsd55/jetty-jersey-guice-starter-kit

开源协议:MIT License

下载


Jetty, Jersey and Guice Starter Kit

Jetty 9.4, Jersey 2.7 and Guice 4.2.0 starter kit with SSL support and guice-hk2-bridge.

How to run

Clone && Run with maven by executing

  1. mvn clean install exec:java

Go to http://localhost:8080/msg and you will see some running message.

How to configure SSL

1) Put your JKS files (cert and trusted) in /resources/certificates folder,
you can see my self-singed certificates in the certificates folder for your understanding
2) Update the path to those certificates in /utility/SSLContextHandler.java class
3) Update the password to those certificates in /resources/config.properties
4) Done

Contribution

  • Fork
  • Code