| From | Sent On | Attachments |
|---|---|---|
| Dennis Gesker | Dec 15, 2006 2:03 pm | |
| Craig McClanahan | Dec 15, 2006 2:15 pm | |
| Dennis Gesker | Dec 15, 2006 3:19 pm | |
| Craig McClanahan | Dec 15, 2006 3:34 pm | |
| Dennis Gesker | Dec 18, 2006 4:10 pm | |
| Chris Kutler | Dec 18, 2006 5:59 pm |
| Subject: | Re: [nbusers] VWP and PU | |
|---|---|---|
| From: | Dennis Gesker (ges...@alamon.com) | |
| Date: | Dec 15, 2006 3:19:35 pm | |
| List: | org.netbeans.nbusers | |
I'll toot your horn for you... good presentation.
There is a section in the presentation where you drag and drop from the Run time screen on to a drop down or table component and data providers are automatically created. Is it also possible to drag and drop and EJB3 data object on to a component? These of course don't show in the run time tab but are just classes in a package associated with a persistence.xml file.
Or is there a way to visually add a personDataProvider to a page in the navigator and associate it with an EJB3 data object that is generated when you use netbeans' generate entities from database functionality?
Dennis
Craig McClanahan wrote:
On 12/15/06, *Dennis Gesker* <ges...@alamon.com <mailto:ges...@alamon.com>> wrote:
Is it possible to use all the slick drop and drag functionality of VWP with the Persistance API (toplink, hibernate, etc.)?
On the VWP site there is a very good tutorial called "Using Databound Componets to Access a Database" showing how to drop/drag/bind but this does not focus on the Persistence API. Does anyone know of a similar tutorial for working with VWP and the Persistence API (toplink, etc.)?
Dennis
It's not a tutorial, and I'm not really trying to toot my own horn :-), but I recorded a webinar introducing the new features of Visual Web Pack, including walking through an example of using the Java Persistence API to access information from a database, and binding it to visual components. Scroll down to the "What's New in Visual Web Pack" item, at:
http://www.netbeans.org/community/news/calendar.html
The basic idea of using a JPA entity class as a property of your page bean, and then binding the JSF components to properties of this entity, is my favorite approach for using JPA and JSF together.
Craig
!DSPAM:45831e8f295882018316037!
-- Dennis R. Gesker email: den...@alamon.com Key Id: 0xEFA10A51





