Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding docs about Java EE Resources #765

Merged
merged 5 commits into from
Aug 30, 2014
Merged

Conversation

garcia-jj
Copy link
Member

Closes #755

* @deprecated CDI eyes only
*/
protected ClienteController() {
this(null);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this(null, null) ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. Fixed by a1b8aea

Injection also works for all Java EE components if you are deploying your
application in an Application Server. All annotations like `@Resource`,
`@EJB`, `@PersistenceContext`, `@PersistenceUnit` and `@WebServiceRef`
works fine when you using injection by field.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its common to use "field injection", but no need to change it :)

@Turini
Copy link
Member

Turini commented Aug 30, 2014

👍

garcia-jj added a commit that referenced this pull request Aug 30, 2014
@garcia-jj garcia-jj merged commit b4ad987 into master Aug 30, 2014
@garcia-jj garcia-jj deleted the ot-docs-about-javaeeresources branch August 30, 2014 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cookbook or box on doc about injecting @EJB
3 participants