Hi all,

I am asking myself if it is a good practice or not to use a Converter as a Spring Managed Bean in order to use DAO resources.

In converter I will read a "long" value from response, which is an ID actually, and load the entity and return it.

So my owner will be set automatically at the end.

How would you do?

<h:selectOneMenu id="owner"
<t:selectItems var="user"
itemLabel="#{user.lastName}, #{user.name}" itemValue="#{user.id}" />