File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
Confused on EJB look Up Strategies
Joined: Mar 06, 2009
May 28, 2009 02:33:51
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:
subject: Confused on EJB look Up Strategies
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015