Skip to content

bas/java-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Staff Picks Java

This is a simple Maven project that builds a standalone JAR which contains a Jetty webserver and a simple bookstore servlet. The application is able to be built into a container and then available to be deployed as an Azure Web App.

Running locally:

Rename the launchdarkly.properties.sample file in src/main/resources to launchdarkly.properties and replace the key with the LaunchDarkly Server-side SDK key.

To build the software run the following command:

$ mvn package

This will generate a jar file at target/bookstore-v2-1.0.0-SNAPSHOT.jar directory.

To run the application:

java -jar target/bookstore-v2-1.0.0-SNAPSHOT.jar

The logs from the jar file should report the url to access the web server on, which is port 8080 by default.

About

LaunchDarkly workshop using Java SDK

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published