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 8:26 AM by
Inject e Converter JSF 2.0
Nov 26, 2010 12:20 PM
How can I Inject an EntityManager into my CustomConverter (javax.faces.convert.FacesConverter) ?
or if not possible, how can get my conection with database?
I use Netbeans 6.9.1, Glassfish 3.0.1 and JSF 2.0 with mojarra 2.0.3
This content has been marked as final.
Show 1 reply
Re: Inject e Converter JSF 2.0
Dec 8, 2010 8:26 AM
in response to
you could always use a simple DAO EJB to do the actual database stuff and call the EJB from your converter. I wouldn't do database logic directly in the view layer.