« New JDeveloper 11g Extensions - RSS feed, and Workspace Backup | Main | How do you choose a JSF/Ajax UI component set? »

Insert & Update for JPA/EJB 3.0 with ADF binding

One thing that we don't show in the basic JPA/EJB 3/JSF/ADF Faces tutorial for 11g is how to do an update or an insert into the database.
(We do show how to do an update in the cue cards tutorial).

As a fast solution to a question that poped up on OTN about this I created this short demo that shows you how to do this - all of course without a single line of code.
I'm just using default JPA entity on the Departments table, and the default session facade EJB that JDeveloper created for it. Then using the ADF binding layer to create the page that will let you do insert and updates.


Comments (3)

What's with the Chicken and Egg search in your google search bar in the recording? Just kidding that's not a serious question, I always love looking at the desktop detail in these communication formats and find myself taking out tabs, cropping the capture area, etc before I record a screenshot or screencast. I like screentoaster, it's a good tool for this type of quick demo. Thanks for the example.

shay:

Hi James, nice catch - I needed a chicken and egg image for a slide I was working on. As this shows - I tend to multitask, so while working on the slides I figured out I can quickly record something to explain a solution to someone on OTN.
In the future I'll try and clean up my desktop - the way I do for official OTN demos.

Sylvain Kemtchouang:

Pretty simple and understanble.

Thanks a lot for the tip.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)