IBM Cloud starter for Java - Spring Framework
The IBM Cloud starter for Java - Spring Framework provides a starting point for creating applications running on Spring. It contains no default application code.
Once you have created an application it can be deployed to IBM Cloud using a toolchain click the Create Toolchain button.
- Maven
- Java 8: Any compliant JVM should work.
- Java 8 JDK from Oracle
- Java 8 JDK from IBM (AIX, Linux, z/OS, IBM i), or Download a Liberty server package that contains the IBM JDK (Windows, Linux)
The project already contains IBM Cloud specific files that are used to deploy the application as part of a IBM Cloud DevOps flow. The .bluemix
directory contains files used to define the IBM Cloud toolchain and pipeline for your application. The manifest.yml
file specifies the name of your application in IBM Cloud, the timeout value during deployment and which services to bind to.
To build and run an application:
mvn install
java -jar ./target/MyAppNIXPQ-1.0-SNAPSHOT.jar
To run an application in Docker use the Docker file called Dockerfile
. If you do not want to install Maven locally you can use Dockerfile-tools
to build a container with Maven installed.
This project was generated using:
- generator-ibm-java v5.14.0
- generator-ibm-service-enablement v3.1.3
- generator-ibm-cloud-enablement v1.5.5
- generator-ibm-java-spring v