Home | Categories | Sources | Sites | Languages | About
Note: The project has been discontinued
Dive into BC4J and ADF [Site] [XML]
Description: Tips and tricks from Steve Muench on Oracle ADF Framework and JDeveloper 10g
Last Update: 08:39:49 03/05/2006

Additional Info

First Fetched: 00:16:26 01/31/2004
Last Updated: 08:39:49 03/05/2006


<< >> 1 2 3 4 5 ... 7 ... 10 ... 13 14 15
Defaulting a Date Field to SYSDATE
Something about defaulting date field values must be in the air as today the fourth person in two weeks sent me an email about "How can I default a Date field to SYSDATE in ADF Business Components?" The answer is to use the declarative "History Attributes" feature of the entity object. It's described more in detail in my Oracle Magazine article Appreciating the Entity Object. In a nutshell, you mark your Date attribute as being a "History Attribute", and then set the history attribute type to "Created On" or "Updated On" depending on whether you want the date value to be filled in when the entity object is created We also support automatically maintaining history attributes of type "Created By", "Updated By", and "Version Number". Viva declarative features!
03:17:41 March 3, 2006, Friday (PST) Source: Dive into BC4J and ADF
Subclassing the ADF BC Data Control to Override Begin/EndRequest()
I've added example#55 to my Not Yet Documented examples page illustrating how in 10.1.3 it's now possible to subclass the ADF BC data control and implement (typically conditional) functionality that will trigger at the beginning and/or ending of each HTTP request. Subclassing the ADFBC Data Control to Override begin/end-Request Method
09:35:17 March 2, 2006, Thursday (PST) Source: Dive into BC4J and ADF
UIX Read Only LOV on Dname
I posted example #54 on my Not Yet Documented Samples page of an ADF UIX page that implements a read only LOV to select departments for an employee. It shows the user the Dname value like "ACCOUNTING" and they click the flashlight icon to popup an LOV to pick a new department.
07:10:03 March 2, 2006, Thursday (PST) Source: Dive into BC4J and ADF
JDev 10.1.3 Service Update 1
Our new and improved Check for Updates mechanism allows us now to deliver interim service updates to JDeveloper 10.1.3. We've posted the first service update for JDeveloper on the update center. To install it, choose Help | Check for Updates, then select the service update 1 as shown below... Of course we're also working on a maintenance release, but this service update mechanism allows us to get fixes to important issues out more quickly and incrementally...
03:30:07 March 2, 2006, Thursday (PST) Source: Dive into BC4J and ADF
Kristjan's Thoughts After a Month with JDeveloper 10.1.3
Kristjan over at the Planet Java blogs some thoughts about his first month with the JDeveloper 10.1.3 production release. I hope he can supply his testcase to our worldwide support organization so we can profiling the few issues he reports for Swing design view in a large-size application.
02:23:24 March 2, 2006, Thursday (PST) Source: Dive into BC4J and ADF
Swing & JSF: New 10.1.3 ADF BC Oracle By Example Tutorials
Over on the JDeveloper Tutorials page, I wanted to highlight two new tutorials that help get you started by taking through the step by step instructions to build a master/detail form for Swing and JSF using ADF Business Components using the lastest 10.1.3 features in these areas: Building Rich Client Forms in JDeveloper using ADF Swing and ADF Business Components Building a Web Application with ADF Business Components and JavaServer Faces Both of these are highly recommended to get acquainted with some key new features and concepts in our 10.1.3 release. I'm also reviewing this week an even more in-depth tutorial with ADF Business Components that will illustrate the step-by-step instructions to build a smaller subset of the SR Demo Sample application from scratch. Look for even more helpful resources like this soon on OTN...
01:00:22 March 1, 2006, Wednesday (PST) Source: Dive into BC4J and ADF
Notes on Migrating ADF/Struts 10.1.2 Applications to 10.1.3
Coincidentally last week several users ran into the same issue with JDeveloper 10.1.3, Struts, and JSP. Martin reports the issue in this OTN Discussion Forum Thread. I wanted to clarify the claims made therein regarding migrating ADF/Struts 10.1.2 applications to 10.1.3 as well as highlight the workaround to the bug they were experiencing. I've archived the comments I made in that thread in this article here on the blog Notes on Migrating ADF/Struts 10.1.2 Applications to 10.1.3 and I'll use that article as a place I can update with other tips on migrating ADF/Struts 10.1.2 applications to 10.1.3 that might crop up as more users make the move.
06:06:28 February 28, 2006, Tuesday (PST) Source: Dive into BC4J and ADF
March/April 2006 Oracle Magazine Column: Using Bind Variables
The March/April 2006 issue of Oracle Magazine is out, and along with it my latest Developer: Frameworks column about Using Bind Variables. As always, I keep the list of all my columns here.
08:52:40 February 27, 2006, Monday (PST) Source: Dive into BC4J and ADF
An XMLType Visualizer for SQL Developer / Raptor?
Kris Rice's blog about building custom renderers for datatypes in Raptor seems to be missing a few details to actually implement a working one of my own. Today in the EA4 release of SQL Developer, I tried a query like this: SELECT xmltype('<foo bar="baz"/>") AS xmldoc FROM DUAL but the Raptor results window just showed the results as: SYS.XMLTYPE I was hoping to see the XML document itself. Perhaps by implementing one of these custom cell renderers that he mentions I could customize Raptor to show me the XML for those XML types. (Or maybe someone else will beat me to it!)
09:04:13 February 16, 2006, Thursday (PST) Source: Dive into BC4J and ADF
Screencast: Creating an Editable Table with a Dropdown List in Each Row
I've added a new screencast to my screencasts page illustrating the technique for what is already becoming a frequently-asked question since JDeveloper 10.1.3 has gone production:Creating an Editable Table with a Dropdown List in Each Row We don't support editable tables with dropdown lists out of the box, so this screencast illustrates the technique you can use to achieve the desired result until we add built-in support for it in a later release. Enjoy.
08:10:06 February 16, 2006, Thursday (PST) Source: Dive into BC4J and ADF
Updated Dynamic JDBC Credentials Example Including JSF
Numerous users have mailed me asking whether I could update my not-yet-documented ADF sample application #14 showing how to apply the technique for implementing dynamic JDBC credentials to JavaServer Faces applications in 10.1.3. I've now posted an updated sample here that illustrates this. The code remained largely unchanged from the JDeveloper version, however the login form required a little fiddling with JSF due to the fact that the naming of the form fields is something that gets done by the faces component renderers. Things to notice about the new version -- which features still-working Struts/JSP and Model1 view controller projects as well as the new JSF-based ViewControllerJSF project -- are the fact that the username and password fields are now uniformly updated to be named "form:username" and "form:password". This was so that the same binding filter code could work with all of the different viewcontroller styles. I factored the name of the login page into ...
06:21:54 February 16, 2006, Thursday (PST) Source: Dive into BC4J and ADF
Creating a Drop-Down List Based on a View Object with a Named Bind Variable
I've added a new screencast to my screencasts page to illustrate the steps involved in Creating a Drop-Down List Based on a View Object with a Named Bind Variable. As illustrated in the screencast, the crux of the technique -- after creating a view object that accepts a named bind parameter (e.g. :CurrentEmpno) is to: In the binding section of the page definition, add an action binding for the "ExecuteWithParams" built-in action for the iterator driving the set of choices in the list. In the action binding editor, provide an EL expression that you want to supply the value of the CurrentEmpno named bind variable. In the screencast, we use the EL picker to select the expression ${bindings.Empno.inputValue} which represents the value of the Empno attribute in the current row. In the executables section of the page definition, add an "invokeAction" after the iterator for the main EmpView but before the iterator for the list, and binding the invokeAction to the "ExecuteWithParams" ...
02:26:08 February 15, 2006, Wednesday (PST) Source: Dive into BC4J and ADF
Upgrading BC4J DataTags Applications to JDeveloper 10.1.3
I've had a few questions on this since JDeveloper 10.1.3 went production, so it seemed a worthwhile blog topic. If you have applications built using the BC4J DataTags, like the 9.0.3 version of the BC4J Toy Store Demo was for example, then I recommend that you read this document that outlines the steps to migrate an application using BC4J DataTags to 10.1.3. The executive summary is that you need to first upgrade it to the JDeveloper 10.1.2 version, then migrate it to 10.1.3, and the application should run without changes. Do read the whole section on it the Deprecated Features document, since it also tries to set expectations about the 10.1.3 design time support you should expect for the BC4J Data Tags for existing, migrated applications.
10:21:49 February 13, 2006, Monday (PST) Source: Dive into BC4J and ADF
Creating Three Simple Search Pages with ADF Business Components and JSF
I've added three new screencasts to my ADF Screencasts page... I first tried to upload a single screencast that showed creating three key types of search pages that you can easily build with ADF Business Components and JavaServer Faces, but the resulting file ended up being too large, so I split it into three parts: Creating Three Simple Search Pages with ADF Business Components and ADF Faces (JSF) Part 1: Web-Style Search Form Part 2: Oracle Forms-Style EnterQuery/ExecuteQuery Mode Page Part 3: Search Form Using View Object with Named Bind Parameters They are meant to be watched in order...
00:53:55 February 13, 2006, Monday (PST) Source: Dive into BC4J and ADF
Hungry? Try One of These Tacos...
During the day, whenenver I need to give my brain a few-minute rest to take my mind off of the problem I'm thinking about, I look for something that can give me a good laugh. My latest favorite 2-minute distraction when this need arises is this Taco Town commercial parody from Saturday Night Live. Having grown up in the US, watching fast-food restaurants evolve to chase new business by catering to the "more is more" and "quantity over quality" philosophy of many American consumers, this skit really hit home for a good gut-busting chuckle. Now, back to work. 
09:19:09 February 4, 2006, Saturday (PST) Source: Dive into BC4J and ADF
Insights from Some Internal Prototyping
The blog's been a little quiet this week as I've had my head in the sand working on an internal prototyping exercise with developers from a number of internal teams. It's a kind of an internal RAD Race of sorts, but the race is against time rather than other vendors' tools or other teams. It's an exercise that offers great insight (and little time for sleep). We're a group of eight internal developers with various skills and backgrounds collaborating to assemble an application with: Oracle JDeveloper 10g 10.1.3 Oracle ADF Business Components for the Business Services Oracle ADF Model for data binding JSF and Oracle ADF Faces components for the view A central CVS server Oracle BPEL server, and BPEL Process Designer JDeveloper extension Oracle Application Server There are a zillion interesting things you learn by doing an exercise like this, sitting side by side with the folks who use your product day to day, working against their real-world schemas, understanding the various issues ...
00:10:46 February 4, 2006, Saturday (PST) Source: Dive into BC4J and ADF
Recommended Tech Stacks for Developer's Using JDeveloper/ADF 10.1.3
Despite our documentation team's best efforts to deliver both ADF Developer's Guides at the same time when JDeveloper 10.1.3 went production, only the guide targeting experienced J2EE developers (which talks about building Oracle ADF applications using EJB/Toplink and JSF) was ready to ship this past weekend. We are still busy working on finishing the ADF Developer's Guide for Forms/4GL Developers that covers using Oracle ADF with ADF Business Components, the technology stack used by Oracle Applications and thousands of existing customers. It is slated for delivery on OTN later this quarter. Each guide will recommend a specific technology stack combination to its target audience. To help clarify any possible confusion arising from the fact that only one of the two planned ADF Developer's Guides is available at present, I've posted an article on OTN: ADF Developer's Guides and Recommended Technology Stacks for JDeveloper/ADF 10.1.3
00:51:28 January 30, 2006, Monday (PST) Source: Dive into BC4J and ADF
Oracle JDeveloper 10g Release 3 (10.1.3) Now Production
You can download the free production release JDeveloper Release 3 (10.1.3) from here, featuring tons of new features in every area of the product. There are links here to lots of new resources like online demos and tutorials, too. The first of two planned ADF Developer's Guides is available immediately, along with a new sample application. For developers focusing on maximally-declarative development with Oracle ADF and ADF Business Components, while we're still working on the ADF Developer's Guide for Forms/4GL Developers for delivery later this quarter, an early access version of the SRDemoSample ADF BC Version, an early access version of the ADF Toy Store "JSF Edition", and a brand new Oracle by Example tutorial Building a Web Application with ADF Business Components and JavaServer Faces are available now. We'll be monitoring the OTN JDeveloper Discussion Forum for questions regarding the new release and these many new resources. Enjoy!
14:18:06 January 29, 2006, Sunday (PST) Source: Dive into BC4J and ADF
Customizing Your Preferred Editor By File Type
I wanted to remind people of a blog posting I did some time back about a new JDeveloper 10.1.3 feature where you can configure the kind of editor you prefer as the default view for each file type. Having the Default Editor Your Own Way If you're more of a code-focused developer, you can configure files like the *.jsp file extension to open by default in the code view, for example. The visual designer view is just a click of a tab away, but if you like to work the code by default, this simple preference setting can make your job easier.
09:44:28 January 27, 2006, Friday (PST) Source: Dive into BC4J and ADF
ADF Business Components Active Data Model
I wrote up some thoughts on one of the things that I think is the most interesting about ADF Business Components: the notion of working with an active data model. It's one of the things that makes ADF Business Components feel familiar to developers coming from a Forms/4GL tools background, and conversely one of the things that seem a little strange when coming from a background of expert J2EE development.
16:12:56 January 26, 2006, Thursday (PST) Source: Dive into BC4J and ADF
Oracle ADF Wins at Another RAD Race Competition
The guys at LogicaCMG tell the story of how they competed and won using Oracle ADF in another RAD Race competition. Great news!
11:10:07 January 26, 2006, Thursday (PST) Source: Dive into BC4J and ADF
Setting the Record Straight on Oracle and NetBeans
As a fellow developer working on promoting the Java platform to enterprise customers of all background and skillsets, it's great to see the competition between free Java development environments heating up with new releases of NetBeans and Studio Creator, and JDeveloper 10g coming to market. It is this healthy competition that keeps raising the bar for end-to-end enterprise J2EE applilcation building functionality that you get for free as Java developers: a definite win for the Java community at large. However, disappointingly Sun seems to have begun spreading the word that Oracle is "backing" or "endorsing" NetBeans. Huh? Innocent mistake after hearing the words of their fearless leader, or overzealous marketing tactic? Not sure. While I'm flattered that they see the need to create market confusion about JDeveloper as a worthy competitor, their claims are simply not true. As Larry Ellison and Scott McNealy confirmed a few weeks back, Oracle works closely with Sun on numerous ...
09:52:35 January 26, 2006, Thursday (PST) Source: Dive into BC4J and ADF
JavaPolis Presentation on ADF, JSF, and Swing
Over on my presentations page on the blog, I posted my slides from my presentation at the JavaPolis conference in December called Declarative Data Binding for JSF and Swing Using JDeveloper and Oracle ADF.
09:22:43 January 26, 2006, Thursday (PST) Source: Dive into BC4J and ADF
JHeadstart 10.1.3 Sneak Previews
I noticed the JHeadstart team has begun blogging some sneak preview information of their 10.1.3 release here and here.
02:12:28 January 26, 2006, Thursday (PST) Source: Dive into BC4J and ADF
Q & A with Thomas Kurian on Middleware and Tools
OTN published a Q & A with Thomas Kurian about Oracle Fusion Middleware and JDeveloper 10g tools for SOA development.
00:44:59 January 23, 2006, Monday (PST) Source: Dive into BC4J and ADF
Preview of Important ADF 10.1.3 Release Note Item
A bug that we've fixed in the ADF 10.1.3 release -- related to the inconsistent handling of EL expressions that reference data from binding containers other than the current page's like ${data.SomeOtherUIModel.SomeBinding} -- may impact your existing ADF web applications that may depend on this behavior when you upgrade them to 10.1.3. I've posted a preview of the 10.1.3 release note item about this here, and have updated the ADF Binding Primer whitepaper to clarify the best practice of making sure each page refers only to bindings in its current binding container. The release note item suggests two alternative strategies to migrate occurrences of this in your existing applications if you have any.
10:00:00 January 19, 2006, Thursday (PST) Source: Dive into BC4J and ADF
Zero Bug Milestone on the Way to JDeveloper 10.1.3 Production
We've hit the zero bug point for JDeveloper 10.1.3 production. This doesn't mean it's ready yet for OTN, but is a major milestone for our team. A final "deep" round of testing needs to give one last pass through all the features for good measure...
09:21:22 January 17, 2006, Tuesday (PST) Source: Dive into BC4J and ADF
Draw Your Own Conclusions After Trying Both
The recent release of the RC1 version of NetBeans 5.0 had Scott McNealy understandably a little excited about his company's Java IDE. I didn't actually watch the recent Oracle/Sun webcast yet about our current and future collaboration around promoting Java, but this Internet News article reports that Larry Ellison clarified a presumably off-the-cuff comment made by Scott McNealy regarding Oracle and NetBeans: Pointing out that Oracle has its own Java development tool, JDeveloper and is involved with Eclipse, he said, "We think the NetBeans initiative is important in the marketplace, and we're watching it very closely. Right now, we're focused on JDeveloper and Eclipse." Why not try out both and make your own conclusion! They're both free, but only JDeveloper comes with full support for the end-to-end enterprise application development lifecycle under all under one "roof" catering equally well to both expert Java developers and corporate developers familiar with previous 4GL tools.
00:41:55 January 17, 2006, Tuesday (PST) Source: Dive into BC4J and ADF
IETab Extension
I agree with Tom Kyte that the IETab extension for Firefox is awesome. I haven't started up the IE browser itself since I've installed it. You can mark certain pages to always be rendered with the IE rendering engine. Slick stuff.
00:23:29 January 17, 2006, Tuesday (PST) Source: Dive into BC4J and ADF
JDJ Reader's Choice Awards: ADF Business Components Voted Best Java Component
ADF Business Components was voted the Best Java Component in the JDJ Reader's Choice awards. cool.
00:22:14 January 17, 2006, Tuesday (PST) Source: Dive into BC4J and ADF