Skip to content

daggerok/openliberty-serve-blade-mvc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenLiberty MicroProfile blade-mvc Build Status

./mvnw ; java -jar target/*.jar
http :9000

OpenLiberty Introduction

MicroProfile Starter has generated this MicroProfile application for you containing some endpoints which are called from the main application (see the service-a directory)

The generation of the executable jar file can be performed by issuing the following command

mvn clean package

This will create an executable jar file blade-mvc.jar within the target maven folder. This can be started by executing the following command

java -jar target/blade-mvc.jar 

Liberty's Dev Mode

During development, you can use Liberty's development mode (dev mode) to code while observing and testing your changes on the fly. With the dev mode, you can code along and watch the change reflected in the running server right away; unit and integration tests are run on pressing Enter in the command terminal; you can attach a debugger to the running server at any time to step through your code.

mvn liberty:dev

Specification examples

Rest Client

A type safe invocation of HTTP rest endpoints. Specification here

The example calls one endpoint from another JAX-RS resource where generated Rest Client is injected as CDI bean.

links

Releases

No releases published

Packages

No packages published

Languages