Dive into Oracle ADF

Send me a mail
 Dive into Oracle ADF   Click to see the XML version of this web page.   (Updated: 2/3/2008; 9:19:39 PM.)
Tips and tricks from Steve Muench on Oracle ADF Framework and JDeveloper IDE

Search blog with Google:
 

Search BC4J JavaDoc:
 

March 2006
Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
Feb   Apr

Get Firefox!

Tuesday, March 28, 2006

Brent wrote in to ask me...

I have create an ADF Swing / JClient app with several JInternalFrames sitting on desktop.  Each frame has a different root AM. I have registered InternalFrameListeners for each of the frames. I am validating the AM transaction is not dirty before allowing the frame to be closed.  Everything works as it should, almost.  If changes are made,  in order for the transaction to be considered dirty, the focus must be taken off the component that has been edited.

Question: How do I manually invoked the refreshing of the model data before closing the frame?
I asked our engineers, and the answer to the question turned out to be making sure to call the stopEditing() method on the panel binding before checking the transaction dirty status in the window close logic. Wanted to pass on the tip more widely. 

7:06:11 PM    



I noticed this thread on The Server Side that points to an article by Bruce Tate (author of Better, Lighter, Faster Java) that describes in the author's words:

...a radically different approach to Web development called the continuation server. By offering a stateful programming model without giving up the scalability inherent in statelessness, continuation servers make Web application development much easier.

While we've never called the feature "continuations", the Oracle ADF framework has offered this feature since 1999. It's nice to finally have a catchy name for it! If you're reading this blog, you probably have already been benefitting by this feature for years. If not, these two articles on ADF's application module pooling and state management functionality have the info you'd need to understand it better. 

I've updated the ADF design pattern catalog to reflect this new term and highlight how ADF implements it.

One cool new feature in the 10.1.3 release is that we support these "continuations" -- a.k.a. application module pooling with state management and failover support -- for 3-tier Swing applications, too.


12:18:11 PM    


© Copyright 2008 Steve Muench.