title | description | tags | ||
---|---|---|---|---|
Java Spark |
A basic Java Spark server |
|
This example starts a basic Spark Java web server.
- Spark Java
- Java
- Click the Railway button to deploy the app
- Clone the project and connect to it using
railway link
- Build your Java Spark app locally using
railway /bin/maven -DoutputFile=target/mvn-dependency-list.log -B -DskipTests clean dependency:list install
- Run your Java Spark app locally using
railway java $JAVA_OPTS -jar target/*jar