Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
Java Enterprise & Remote Computing
Java EE SDK
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Dec 8, 2010 9:06 AM by
CDI equivalent to Spring's @Autowired
Oct 7, 2010 4:39 PM
First let me say that I'm not a fan of the new forum. I guess I don't handle change too well especially after several years. Anyway...
Pretty new to Java EE in general and my question is:
Is there an equivalent Context and Dependency Injection annotation that is equivalent to Spring's @Autowired?
This content has been marked as final.
Show 1 reply
Re: CDI equivalent to Spring's @Autowired
Dec 8, 2010 9:06 AM
in response to
I guess the annotation that comes the closest is @Inject. Check out this article for an overview of the whole lot that falls under the "I" part of "CDI":