Skip to content

javisol/ejb_restWS_sample

Repository files navigation

EJB Sample Application

Test

Rest

curl openliberty01:9080/ejb-app/hello

Singleton

Use remote interface from ejb-appclient client app

curl -v openliberty01:9080/ejb-appclient/singleton
curl -v openliberty01:9080/ejb-appclient/singleton2

Stateful

curl openliberty01:9080/ejb-app/statefullocal
curl openliberty01:9080/ejb-app/statefulremote #remote interface but locally called

Use remote interface from ejb-appclient client app

curl openliberty01:9080/ejb-appclient/stateful

Stateless

curl openliberty01:9080/ejb-app/statelesslocal

Use remote interface from ejb-appclient client app

curl openliberty01:9080/ejb-appclient/stateful

Entity

Read

curl -v openliberty01:9080/ejb-app/pets?id=1

Write

curl -v -XPOST openliberty01:9080/ejb-app/pets?name=Rafael

JMS

Send Message

curl -v openliberty01:9080/ejb-app/send?msg="hola%20gatito"

About

Ejb Stateful and Rest WS on Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published