Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 579 Bytes

File metadata and controls

19 lines (14 loc) · 579 Bytes

JCA Rest Inbound/Outbound Resource Adapter

Sample JavaEE 8 jca resource adapter for learning/testing jca connection factory

build and run :

TomEE 8
mvn clean compile install ; (cd ear-module/ ; mvn tomee:run)

Liberty/OpenLiberty
mvn clean compile install ; (cd ear-module/ ; mvn liberty:run)

test :

# POST message to server :
curl -X POST -H "Content-Type: text/plain" --data "Hello dear !" http://localhost:8080/api/test

# GET messages : 
curl -X GET -H "Content-Type: text/plain" http://localhost:8080/api/test