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
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
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?
Question regarding a session bean's life cycle ...
Stateless session bean with CMT, sending JMS message on commit
Required and provided interfaces on Component Diagrams
@EJB doing nothing - jboss-4.2.2.GA
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014