Skip to content

Latest commit

 

History

History

ejb-2

EJB 2.x example Build Status

ejb-2

build
./mvnw clean package -U
docker
docker-compose up --build --force-recreate --remove-orphans
docker-compose down -v
# docker rm -f -v (docker ps -a|grep -v CONTAINER|awk '{print $1}')
  1. Classic EJB 2.1 Local + Remote interfaces:

    1. ejb-modules/greeter-impl

    2. ejb-modules/greeter-local-api

    3. ejb-modules/greeter-remote-api

    4. client-modules/greeter-remote-client

  2. Using remote EJB interface only:

    1. ejb-modules/remote-only-api

    2. ejb-modules/remote-only-impl

    3. client-modules/remote-only-client

  3. Access EJB locally:

    1. ejb-modules/goodbyer-impl

    2. ejb-modules/goodbyer-local-api

    3. client-modules/goodbyer-local-client

testing (remote ejb call)
http :8080/greeter-remote-client/
http :8080/remote-only-client/
http :8080/goodbyer-local-client/

links: