EJB Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 17: Line 17:
The EJB Client Context may be associated with, and used by more than one thread concurrently.
The EJB Client Context may be associated with, and used by more than one thread concurrently.


The EJB Client Context is configured with [[Jboss-ejb-client.properties#Overview|jboss-ejb-client.properties]] for standalone applications and with [[Jboss-ejb-client.xml#Overview|jboss-ejb-client.xml]] for applications deployed within the EAP.
The EJB Client Context is configured with [[Jboss-ejb-client.properties#Overview|jboss-ejb-client.properties]] for [[#standalone_ejb_client|standalone applications]] and with [[Jboss-ejb-client.xml#Overview|jboss-ejb-client.xml]] for applications deployed within the EAP.


An EJB Client Context may contain any number of [[#EJB_Receivers|EJB receivers]].
An EJB Client Context may contain any number of [[#EJB_Receivers|EJB receivers]].

Revision as of 16:59, 23 March 2017

Internal

EJB Remote Applications

An EJB remote application can be one of the following:

  • a standalone Java application
  • another component that runs within a application server instance, and makes invocations into remote EJBs.

EJB Client API

JBoss EAP 6 introduced the EJB client API for managing remote EJB invocations. The EJB client API uses the EJB Client Context.

EJB Client Context

The EJB Client Context may be associated with, and used by more than one thread concurrently.

The EJB Client Context is configured with jboss-ejb-client.properties for standalone applications and with jboss-ejb-client.xml for applications deployed within the EAP.

An EJB Client Context may contain any number of EJB receivers.

EJB Receiver

An EJB receiver is a component that knows how to communicate with a server that is capable of handling EJB invocations.