This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Hi, Currently, when I generate a mobile web client, it generates the boiler-plate code for accessing a website from the MIDlet. But when I want to access a database using JPA, I need to add the @PersistenceUnit etc to the servlet. But now when I regenerate the code, because the interface I want to use on the backend changes, obviously all my JPA code is gone and I have to add it again. It would be very handy to have a checkbox in the wizard that helps generating the mobile web client asking me if I want to add JPA support, and then generate the code to create and propagate an EntityManager and UserTransaction. Pretty much along the way I can generate CRUD pages in JSF for a specific entity class. Iwan