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.

Bug 91263 - Add support for JPA when generating a Mobile Web Client
Summary: Add support for JPA when generating a Mobile Web Client
Status: NEW
Alias: None
Product: javame
Classification: Unclassified
Component: Web Services (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Roman Svitanic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-19 09:07 UTC by ieising
Modified: 2013-07-24 08:29 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ieising 2006-12-19 09:07:14 UTC
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