# play-java-compile-di-example
[<img src="https://img.shields.io/travis/playframework/play-java-compile-di-example.svg"/>](https://travis-ci.org/playframework/play-java-compile-di-example)
This is a Play project using the Java API and compile time dependency injection.
It is intentionally very simple and basic to show how compile time DI works in Play with the Java API.
There is also an [example](https://github.com/playframework/play-java-dagger2-example) using Java compile time DI with [Dagger 2](https://google.github.io/dagger/).
## Running
Start up the server with sbt:
```bash
sbt run
```
Then go to the server at <http://localhost:9000> to see "Hello".
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
play-java-compile-di-example.zip (24个子文件)
play-java-compile-di-example
sbt 44B
gradlew.bat 2KB
gradlew 5KB
conf
application.conf 48B
sbt-dist
bin
sbt 5KB
sbt-launch-lib.bash 7KB
sbt-launch.jar 1.15MB
sbt.bat 1KB
conf
sbtopts 939B
sbtconfig.txt 147B
LICENSE 439B
app
MyApplicationLoader.java 1KB
gradle
wrapper
gradle-wrapper.jar 53KB
gradle-wrapper.properties 200B
build.sbt 152B
.gitignore 95B
project
plugins.sbt 60B
build.properties 18B
README.md 672B
scripts
test-gradle 507B
test-sbt 238B
script-helper 428B
sbt.bat 55B
build.gradle 923B
共 24 条
- 1
资源评论
小波思基
- 粉丝: 70
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功