ADFFeed

A Reader Asks - How To Pass Table Export Id Into ADF 11g Declarative Component

"I'm trying to use ExportCollectionActionListener inside Declarative Component, but I can't pass table export Id correctly - it gives error, Id is not found. Is it possible to make it work?"

Integration in Oracle ADF with ADF Task Flows and Dynamic Regions Navigation

Today one more post from Integration series. There is a case, when Dynamic Region might have navigation to another Dynamic Region. If user will open one region from another, menu selection should be refreshed accordingly. I'm describing how to do this, thanks to blog Reader who asked this question.

Red Samurai Tool - How To Check ADF 11g Package Structure and ADF Task Flow Parameters

In my previous post, I have introduced our JDeveloper 11g extension for ADF code quality validation. I will describe two rules more and will show how you can scan your ADF project for standard guidelines violations. Package structure check and task flow input parameters are documented today.

Red Samurai Tool - JDeveloper 11g Extension to Validate ADF Code Quality

I was working long on JDeveloper 11g extension for ADF 11g code quality checks. Finally it is available for public use - first release. This release is based on my Oracle Forms to Oracle Fusion 11g migration experience.

Checkbox in a table

I've had a problem pop up, that I've solved, involving checkboxes in tables. Apparently I'm not alone. If you have a NUMBER type in a database and want to map that to a checkbox (true/false) then this is an easy way to do it.

The most important thing is in your EO make sure in your 'Attributes' you have the column in question's 'Type' defined as 'Boolean'. It defaults to 'BigDecimal'. You also have to update your VO appropriately. Be careful when you change the EO as JDev tries to automagically assume this is a 'BIT' and will change it. Change it back to NUMBER.

Integration in Oracle ADF with ADF Task Flows and Dynamic Regions Pending Changes

From my previous post - Integration in Oracle ADF with ADF Task Flows and Dynamic Regions, you can learn how to integrate separate Oracle ADF applications using dynamic regions. I'm sure, you will want to prevent user navigation from one region to another, when there are unsaved pending changes available. Its pretty simple in ADF 11g, I will describe today.

How To Traverse ADF Tree

troubleshooting.gif
I'm using two helper methods

If you are thinking how to delete nodes from ADF tree, there is Frank Nimphius blog post - ADF Faces RC: Single row / Multi row delete from a tree component. However, Frank says that his blog entry is still a raw diamond and needs some polishing. In his example, if you remove root node, all child nodes still will remain in database. This means tree hierarchy will be broken.

Integration in Oracle ADF with ADF Task Flows and Dynamic Regions

In my last post I described Dynamic Dashboard component, it allows to integrate separate applications using ADF regions. If we have fragments, we can drag and drop them easily into dashboard component as regions. You can read more about how to integrate ADF applications from my integration post series. Depending on requirements, you may want to implement dynamic regions and integrate your ADF applications into single main application.

Dynamic Flying Dashboard UI Shell

troubleshooting.gif
Dynamic Dashboard Demo code

My today post is next in ADF integration series - Integration. Sample application, I'm going to describe, is based on Dynamic Dashboard Demo code from Oracle ADF Faces Components demo (see Visual Designs).

Optimizing Oracle ADF Application Pool

If you was reading my previous post - Monitoring Data Source Connection Leaks, you got clear idea how you can monitor data source connection pool usage by Oracle ADF application. Basically speaking, Oracle ADF application works with two pools - Application and Database. First pool allows to optimize application work on middle tier, while second pool cares about database connections. Today I will describe how you can control JNDI data source connection pool.

Geoff Waymark's blog

 Geoff Waymark's blog

Through the looking-glass with JDeveloper and ADF

 Through the looking-glass with JDeveloper and ADF

ADF Adventures

 ADF Adventures

RADalcove

RADalcove

Michael Lee

Michael Lee 

JHeadstart Blog

JHeadstart Blog

Integrating SOA Suite with ADF 11g

ADF is present in many products that are part of the Oracle FMW11g and also enterprise applications build with the ADF framework can be easily integrated with other components of the platform. One common scenario is how to work with ADF and composite applications.

We have created four demonstrations that provide you with the basic knowledge about:

Monitoring Data Source Connection Leaks

When it comes to production, often you can face problems with growing number of Data Source connections. I see this as frequent problem - WebLogic admins complain that ADF application is using 1000 Data Source connections, on other hand ADF developers postpone code quality to be checked after deadline :-) And then they start to blame ADF, no need for this, just monitor your system and double check your code.

More Hudson

Completely missed showing the successful output of the Hudson build from the last post. Actually it wasn't successful, the profile that generated the EAR wasn't a valid web archive because I'd failed to add the WAR file generated by the view controller project, so the first couple of runs failed until I twigged what was going on.

Fear the code ninja!!

Had this passed on to me by a colleague, absolutely hilarious even if it is a less-then-veiled promo for ADF...

Enter the Code Ninja!

Ultra quick Hudson setup to build a JDeveloper ADF application

At the UKOUG conference in 2008 I said that you could use cron, or windows scheduler, to schedule builds and tests, but this last year, at the same conference, I said that using cron to schedule builds and test runs really wasn't acceptable any more.

WebCenter Suite 11g and ADF 11g Consulting in Middle East

Recently I was busy in Middle East, consulting and deploying production system based on WebCenter Suite 11g and ADF 11g technologies. This system will have public access, expect URL posted soon ! :-)

Nature is beautiful here - Red Sea coast:

Custom Attribute to Pass ADF Button Key

I got a question, based on my previous post - CRUD Operations in Oracle ADF 11g Table Using PopUp Component. Blog reader was asking, if its possible to identify ADF button component in Backing Bean without checking component Id. Answer is yes, it is possible - just need to use JSF attribute component. You can declare JSF attribute for ADF button and pass button key through this attribute:

WebCenter/ADF 11g Consulting Around Red Sea

These weeks I'm busy in Red Sea region, doing WebCenter/ADF 11g consulting and deployment. You can find beautiful nature here:

Please make sure that the annotations are valid.

Interesting issue I came across today. Was providing support for a deployment that was going difficultly. Beyond the issues of getting the configuration repaired so the ADF Runtime installer could operate properly, when trying to deploy the application they wanted to put on the server we received the following:

"There was a failure when processing annotations for application [Webapp name redacted]. Please make sure that the annotations are valid. The error is oracle.adf.view.faces.webapp.ResourceServlet"

Default Value for Date Field in Query Criteria

I got a question about how to assign default value for Date type field available in Query Criteria. Developer had a requirement to initialize Date type query field with date equal to 10 days before current date. This requirement is very simple for ADF and can be implemented in 5 minutes without writing any code.

Download sample application - DateSearch.zip. This sample returns default value for HireDate attribute on page load automatically:

Oracle plans to continue support for SUN development products

For those of you that missed the webcast last Wednesday (1/27) Oracle made several key announcements regarding the future of SUN products now that they're under the control of Oracle. Of particular interest were comments on the future of the Netbeans IDE and the Glassfish App Server.

Installing ADF/WebCenter 11g on 64-bit Platforms

Today we were creating WebLogic cluster on two machines for ADF/WebCenter 11g application installation. Hardware is 64 bit, each with 8 processor cores and 32 GB RAM - sounds pretty powerful. There was no problems with clustering and deployment, however we faced problem while testing WebCenter Spaces - welcome page just wasn't compiled and was throwing following error, while trying to access it:

Servlet failed with Exception
java.lang.StringIndexOutOfBoundsException: String index out of range: -2

Conditional Activation for ADF Regions and Application Availability

In ADF applications, in that case if database is down, user will get error message and site will be broken. If user will open site, when database was already down, user will see 'Loading' message and nothing else. If database will go down, during user activity - most likely NullPointerException will be raised and user will see broken site. Such behavior is not acceptable, enterprise services should be available even when database is not working. Ideally, database related content should be disabled and static content still should be loaded and available.

Demystifying ADF BC Passivation and Activation

It happens to face exceptions in production environment, even if during development and testing everything was working good. In most of the cases, this strange behavior will be related to wrong transient attribute usage, transient attribute which value is not passivated and then its lost after activation. You can test your code, if it contains any bad practice implementations, by disabling application module pooling. Most of ADF developers know this, however only few really understand what is happening. Today I will present sample case, where bad practice is demonstrated practically.

LATEST WHITEPAPERSWHITEPAPERS RSS

Whitepaper Search Results:

Whitepaper Search Results:

Whitepaper Search Results:

Community Videos Video RSS