github.com/dahs81/otto@v0.2.1-0.20160126165905-6400716cf085/website/source/docs/apps/java/deploy/index.html.md (about) 1 --- 2 layout: "app_java" 3 page_title: "Build & Deploy - Java App Type" 4 sidebar_current: "docs-java-deploy" 5 description: |- 6 Otto defaults to assuming your Java application is a private service 7 and deploys it with this assumption. 8 --- 9 10 # Build & Deploy 11 12 Otto defaults to assuming your Java application is a private service 13 and deploys it with this assumption. 14 15 This page documents 16 all the common deployment choices made for all infrastructures. The sidebar 17 on the left can be used to view infrastructure-specific choices that are 18 made for certain infrastructure targets. 19 20 -> **NOTE:** Otto 0.1 doesn't yet support public-facing Java applications. 21 This will be coming very shortly. 22 23 ## Build 24 25 The build process for Java involves installing Java, and calling `gradle build` 26 or `mvn compile` in the project root with a custom output path so we can store 27 the binary. 28 29 The binary is configured to launch with no command line args for deploy. 30 31 A future version of Otto will allow customizing the launch parameters 32 so that things such as configuration files can be used. 33 34 ## Deploy 35 36 To deploy, the Java process is simply launched.