This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes Usage of @Named Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Usage of @Named" Watch "Usage of @Named" New topic
Author

Usage of @Named

Carlos Jorge Tavares Ferreira
Greenhorn

Joined: Dec 10, 2007
Posts: 17
Hi,

I'm using the @Named annotation on a class, combined with @Stateless:



But when I try to reference it via EL, i get the following error:

"Target Unreachable, identifier 'test' resolved to null".

What am I doing wrong?

BTW, I'm using Netbeans 6.9.1 with Glassfish v3.

Kind regards,

Carlos Ferreira
Carlos Jorge Tavares Ferreira
Greenhorn

Joined: Dec 10, 2007
Posts: 17
Nevermind, I was missing the beans.xml file.

Kind regards,

Carlos Ferreira
 
 
subject: Usage of @Named
 
Similar Threads
EJB3 testing with JUnit4
Design question
Unable to use @NamedQuery in a session bean?
Testing websphere 8 beta with RAD 8.0
naming conventions for junit 4.0