webtier@glassfish.java.net

Can I use Entity class as my managed bean?

From: <webtier_at_javadesktop.org>
Date: Mon, 01 Mar 2010 02:19:00 PST

If the input fields of the (JSF) form are bound to a managed bean then the user state is automatically synchronized with the bean properties.

Can I use an Entity class as a managed bean? (If this is possible, I don't need to create a separate managed bean & simply persist the Entity instance with the data entered by the user to the database using JPA)
[Message sent by forum member 'sariga' (siva636_at_yahoo.com)]

http://forums.java.net/jive/thread.jspa?messageID=389330