Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of
Clojure in Action
this week in the
Confused on EJB look Up Strategies
posted 6 years ago
We are using the following 2 strategies in 2 of my EJB3.0 Projects to look up Session Beans.
a) A Session bean is annotated with @STATELESS and there is a Local Interface to look up marked with @LOCAL and the look up is performed in the client as
b) A Session bean is annotated with @STATELESS and there is a Local Interface to look up marked with @LOCAL and the look up is performed in the client as
along with this an entry has to be configured in the resource-binding property file
Please let me know the differences, positives and the negatives of the 2 strategies.
WOuld really appreciate any info on this.
I agree. Here's the link:
Can a stateless session bean be removed by client?
@EJB doing nothing - jboss-4.2.2.GA
Required and provided interfaces on Component Diagrams
Question regarding a session bean's life cycle ...
Stateless session bean with CMT, sending JMS message on commit