AndreaCardamone / wildfly10-infinispan-quickstart

A quick start test service for wildfly container with Infinispan and EJB configuration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wildfly10-infinispan-test

A quick start test service for wildfly container with infinspan and ebj configuration

Install

Wildfly container

For lanching wildfly enter into bin directory

cd $WILDFLY_HOME/bin

execute the standalone batch

linux:  ./standalone.sh --debug
window: ./standalone.bat --debug

note: the --debug option allows the remote debugging into IDE (tested on Eclipse and NetBeans)

WAR packaging

Enter into project root dir

cd $PROJECT_DIR/

Generate package

wildfly 10: mvn clean package
wildfly 9:  mvn -Pw9 clean package

Deploy into container

mvn wildfly:deploy

Rest application

Test application

curl http://localhost:8080/hcloud/test

** the espected result is **

cache manager class: class org.jboss.as.clustering.infinispan.DefaultCacheContainer
cache default class: class org.jboss.as.clustering.infinispan.DefaultCache
tx manager class:    com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate@54e40aa5

About

A quick start test service for wildfly container with Infinispan and EJB configuration


Languages

Language:Java 100.0%