Wednesday 23 December 2009

UKOUG '09 ADF Lifecycle Presentation

I've uploaded the slide presentation I gave at the UKOUG 2009 on a practical development lifecycle for Oracle ADF, i.e. how to build and test it.

Hopefully there are some useful nuggets in here, although the presentation also contained a fair amount of demos. I'll try and go through some of those simple examples here over the next couple of weeks.



Tuesday 22 December 2009

Recovering lost files in JDeveloper

There is nothing more frustrating than losing a file that stops your application compiling.

Luckily it doesn't happen often these days with source control systems such as Subversion being both freely available, and free to use, but there are still times this occurs so I thought it was worth documenting here how you can reconstruct the missing file using JDeveloper.

Although it's documented in JDeveloper's Tip of the Day, it's surprising how few people remember that Restore from Local History is there when they really need it.

So here is a simple Java app in JDeveloper and I'm going to forcibly lose a file, in this case MyFrame_AboutBoxPanel.java.





Let's delete the file from the disk, to simulate an accidental removal.





And now lets get it back, by invoking Restore from Local History on the owning package.





Select the file that was lost.





Back to where we started with an application that compiles properly again. Hurrah!



The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.