Q
Problem solve Get help with specific problems with your technologies, process and projects.

Supporting remote/local calls from a Web container to an EJB container

I have a Web container and EJB container in the same application server. The EJB container has two stateless session beans communicating with each other. I want to understand--if the calls from the Web container to the EJB container and stateless session bean to another stateless session bean are handled as remote calls or local calls, what version of WebSphere supports the above? Also, what does in-process call mean and what does process affinity mean?
The decision of whether or not to use local or remote calls between one EJB and another is a decision to be made by the programmer. You need to check with your application server vendor to see if they support making local calls from the Web container to an EJB. WebSphere 5.0 supports both local and remote calls from EJB clients to EJBs.

In Java, in-process is used to refer to two or more objects running in the same memory space or virtual machine.

Process affinity historically refers to a set of processors on which threads are permitted to run. However, it has taken on some broader meanings in the context of distributed applications and J2EE. It has been used to refer to the ability to direct all method calls to the same in-process object, thereby eliminating parameter and return data serialization. It has also been used to refer to the ability to make in-process calls to an EJB in the same application server.

Dig Deeper on Topics Archive

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchSoftwareQuality

SearchAWS

SearchCloudComputing

TheServerSide.com

Close