Skip to main content

[semi-OT?] using @EJBs annotation?

No replies
Anonymous

Folks;

maybe utterly off topic here as not at all glassfish (but rather EJB-)
related: I am searching for a good understanding of how to use the EJB3
@EJBs annotation in a meaningful way, but so far failed to find usable
documentation on that. My simple understanding, reading what I found so far,
is to do something like this...

@EJBs
private ISomeBeanInterface[] beans;

to inject multiple beans implementing a given interface automatically. It's
not working, however, and I know this is due to my lack of knowledge how to
really use these annotations. Can anyone kick me the right direction, best
of all to some documentation on how to use this annotation correctly?

TIA and best regards, sorry again for the OT.
Kristian+

--
Kristian Rink
cell : +49 176 2447 2771
business: http://www.planconnect.de
personal: http://pictorial.zimmer428.net
"we command the system. calling all recievers.
we are noisy people for a better living".
(covenant - "monochrome")

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net