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.
Posted by James Bayer | January 26, 2009 10:22 AM
Posted on January 26, 2009 10:22
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.
Posted by shay | January 26, 2009 10:52 AM
Posted on January 26, 2009 10:52
Pretty simple and understanble.
Thanks a lot for the tip.
Posted by Sylvain Kemtchouang | October 4, 2009 5:56 AM
Posted on October 4, 2009 05:56