Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCEEJBD
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
EJB Certification (OCEEJBD)
EJB DI
Dinidu de Silva
Greenhorn
Posts: 3
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
When I use DI to Inject an
EJB
in a
servlet
.
When it runs it says
Unresolved Ejb Ref.
Do i have to declare a ejb-ref in web xml
I thought DI was a substitute to ejb-ref.
I am using Glassfish 2 and NetBeans 6
Please guys help
nitin pai
Ranch Hand
Posts: 185
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Export you EJB project in a jar file and put the jar file
in your WEB-INF/lib folder.
If its a problem with the mapping, use 'mappedname' attibute within
both @Stateless and @EJB when using DI and make sure both have the same values.
Don't get me started about those stupid
light bulbs
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
EJB 3 DI
unresolved ejb-link
@EJB doing nothing - jboss-4.2.2.GA
when does the we are not available DI ?
Websphere 7.0 in Myeclipse Blue
More...