Basic newbie question
Hi
I'm working on a R&D project
I have created my java objects for my business model - the java classes are generated from a UML model. I have used the Java Persistence api to annotate them as entities etc. This has enabled me to create a database (inheritance based table join). All my java is defined in its own package etc. I'm fine with this bit.
I want to put a JSF front end on my application so that a person may go to a page and create for example a new product specification, press a button and persist the data on the screen to the database (screen data will mirror the pojo). (Also do other CRUD stuff)
Bit I'm unsure about when using netbeans. Do I define new product() in the backing bean (class Products extends AbstractPageBean), call an entity manager and persist(Product product). Alternatively should I somehow call a
Session or Application bean to do this for me (is it one Application bean per application or per page)
regards
Steve

