Can we write the Remote and Local Interfaces in one Bean.
How do you define it in the deployment descriptor.
Answers were Sorted based on User's Feedback
Answer / harish
Local Interfaces can?t be accessed outside the world.
Those interfaces can be accessed by the entity which are in
the same EJB Container. Using which you can reduce the
network traffic.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / sathish babu
yes.we define the deployement descriptor to mention the two
beans.
| Is This Answer Correct ? | 0 Yes | 0 No |
ejb session beans and entity beans?
An instance of stateful session ejb when accessed simultaneously from more than one clients on same vm results in remoteexception or ejbexception. In case the client is a servlet thread, which of the techniques can be used to avoid remoteexception/ejbexception?
what is the difference between stateless and stateful sessions?
What does @singleton annotation do?
what is the Control flow of an Entity?
What is ejb container in java?
How does a container, manage access, from multiple transactions on an entity bean?
Using Container managed entity bean, how an entity bean can be created?
What do you mean by timer service and where it is used?
What is ejb and its types in java?
What is an ejb platform?
What is stateless and stateful?