Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Different machines  RSS feed

 
David Ulicny
Ranch Hand
Posts: 724
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to run EJB container and WebContainer on different machines?
How to do this task within WAS?
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by David Ulicny:
Is it possible to run EJB container and WebContainer on different machines?
How to do this task within WAS?


Yes, It's possible.

you can call ejb from another web container.

In web container, you should be configed env-ref in web.xml and copy all class/proxy of ejb to classes directory of web container.

And you can look up your ejb in EJB Container.


ps. CAll EJB pass REmote Interface only.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!