ADF 11g provides an “export to excel” feature that allows you to take data from an ADF table into an excel sheet. But what about the other way around. Sometimes you need to work with excel sheets or comma separated values, and load the content of such a file into […]
Web/Java
Knowledge Center Web and Java
JHeadstart 11g: Tree-Form with drag and drop functionallity
A little over two years ago I wrote a post on drag and drop in an adf tree component. That post was based on ADF only. In the following post I show that you can have JHeadstart generate a tree for you that supports drag and drop. Not out of […]
ADF 11g: That is one very smart toolbarbutton !
There are situations where you need a toolbar to provide the user with functionality like insert, update, delete, next, previous and so on. This looks straightforward, but it is not that easy to have only one toolbar to service your whole page. In this post I will show an example […]
ADF 11g: Select all rows in an ADF table.
I get a lot of questions on how to select all rows in a table. In this post I describe how you can do that. A common use case for this is when you want to apply changes on a set of records, for instance change the status of all […]
ADF 11g Skinning: Three ways to change look and feel
On the JDeveloper ADF forum there are many questions on how to change the look and feel of components. In this post I’ll explain three ways to do that.
Extending XML Document Validation with Schematron
The use of XML documents is common practice nowadays and so is XML schema (XSD) to validate XML documents. XML validation is often needed to ensure structure, content and relations are correct and valid. However validation only using a schema (XSD) only covers a small part: it can describe the […]
ADF 11g: Ode to the Task Flow
Last night we organized the “Ode to the Task Flow” session at AMIS. After a short presentation introducing the Bounded Task Flow it was time for the hands-on lab: “Build your first taskflow”. In this lab many of the attendees created their first taskflow, learning the basics of ADF taskflows. […]
Technical Preview of ADF Mobile Client has arrived !
The Technical Preview of ADF Mobile Client now is generally available! Ted Farrell, Chief Architect and Sr. Vice President of Tools and Middleware introduced the latest break-through in mobile application development at the BlackBerry User Conference (WES). ADF Mobile extends Oracle Application Development Framework to mobile users. Using Oracle JDeveloper, […]
Upcoming session by Steven Davelaar on migrating Forms to ADF with JHeadstart 11g
My former collegue and JHeadstart Team member Steven Davelaar will join us at AMIS on wednesday May 19th, at 18:00, to present on a particular feature of the new JHeadstart 11g release: the JHeadstart Forms2ADF Generator (JFG). Forms to Java and/or ADF migration tools have been around for a long […]
Bookreview: Oracle Fusion Developer Guide
Oracle Fusion Developer Guide: Building Rich Internet Applications With Oracle ADF Business Components And Oracle ADF Faces In December 2009 some 750 pages of ADF examples and ADF how-to’s were released in a great book: “Oracle Fusion Developer Guide: Building Rich Internet Applications With Oracle ADF Business Components And Oracle […]
ADF 11g : Carousel going round and round (..and round and..)
Mostly when you see a carousel-ish component on the internet, it is automatically showing the next entry after a few seconds. I wondered if this could be done with the ADF carousel component as well. And guess what
ASCII art as a DSL for unit testing
Complicated tree structures are being used a lot within my current project. Tree nodes have elements behind them. An element is unique, but there can be multiple tree nodes for a single element. Tree nodes have different drag and drop behavior based on flags on both the tree nodes and […]
ADF 10g Dynamic Columns: Or how to implement an updatable dynamic table
Although it is all about ADF 11g these days there are still some challenges in ADF 10g projects that run at some of my customers. Today I finished a task in which I had to create an updatable table in which the number of shown columns wasn’t known at design […]
Java EE 6 and GlassFish 3.0 released!
In the past few month several Java EE 6 related JSRs (Java Specification Requests) have been finalized. The final ballot for them ended on November 30 and all were approved. Today, December 10, 2009, Java EE 6 and GlassFish v3, THE reference implementation of Java EE6, are released. Four […]
JDeveloper 11.1.1.2: Carousel component as Master and Detail
In this post I introduce to you one of the new ADF Rich Client components and one way to use it: The Carousel. You can display a set of images through a carousel, an animation effect that switches the emphasis successively between images as the user moves the mouse across them. […]
JavaServer Faces 2.0 – next generation JSF technology (specification)
JEE 6 is almost upon us. An important specification in the plethora of standards that JEE 6 contains is JSR-314: JavaServer Faces 2.0. First introduced in JEE 5 (2006), JSF has quickly conquered the minds and hearts of many Java Web developers as well as most large vendors in […]
ADF DataBinding: Yet another thing it does for you.
Today I encountered something that I have seen frequently. While developing an ADF application developers tend to invoke methods on an application module directly, instead of invoking them via the bindings framework. You might get some unexpected results and some additional work too… Correcting this behavior afterwards can be very […]
Report from presentation ‘JPA 2.0 – What’s new’
The Java Specification Request 317 (JSR-317) aka JavaTM Persistence 2.0, (JPA 2.0) has finally reached the last stage, “Completion of Reference Implementation (RI) and Technology Compatibility Kit (TCK)”, before it’s officially released. Therefore last week a Knowledge Class was given at Amis with a presentation of the new functionality and […]
ADF 11g PanelDashboard; configure your own dashboard
With the recent ADF release a new component is introduced: The panelDashboard component. A component that is easy to use and offers a very visual presentation. With this component we can quickly create a dashboard that consists of panelBox components that can each provide their own content. The dashboard lays these panelBoxes […]
Introducing Joda Time: The smart date API
Recently I did a short presentation on Joda Time. Yesterday, on our yearly ODTUG preview, I was surpised that Joda Time is not known very well by ADF developers. To convince you of the power of this library I will give you a few examples of how and why I use […]
Schrijf je in voor de ODTUG Sneak Preview op 15 juni 2009!
Op maandag 15 juni 2009, een week voordat in Monterey de ODTUG 2009 plaats vindt, heb je de mogelijkheid om alvast te horen wat negen sprekers in de VS gaan presenteren, onder hen twee Oracle Aces en twee Oracle ACE directors. Aino Andriessen (AMIS Services) – ADF Development: More tales from the Trenches Lonneke Dikmans (Approach Alliance) – […]
ADF 11g – Invoke a Popup from a Popup
Today I was triggered by a question on the JDeveloper forum about invoking a popup from a backing bean. Actually some time ago I had to build that solution for one of my customers that needed some kind of confirmation to the user that an action invoked in a dialog […]
RichFaces plugin for NetBeans updated
About a year ago, during JavaOne 2008, Geertjan Wielenga and I created NetBeans modules for JBoss RichFaces support. Last week we updated the modules so now version 3.3.0.GA of RichFaces is supported. I updated the components palette with the newest a4j and rich tags. Geertjan introduced some new images for […]
IETester: Develop and test your site for multiple versions of Internet Explorer
When developing or testing your web application, you often have to support different browsers and versions. On Window machines testing for different versions of Firefox, Opera and Chrome is not a real problem as these browsers all allow you to install different versions on one machine. Only Internet Explorer (IE) […]
Session announcement: Oracle Service Bus (25 feb 2009)
Just wanted to draw your attention to a "Knowledge Center" session at AMIS this wednessday (25 feb 2009, starting at 16:30). It concerns the new Oracle Service Bus (previously the BEA Aqualogic Service Bus), and will be presented by former collegue Jeroen van Wilgenburg, now working at Xebia. Jeroen has worked with the OSB […]
Accessing JVM arguments from Java (to determine if JVM is running in debug mode)
The other day, I was using the JDeveloper debugger to locally debug some code in an application that uses (and therefore becomes part of) an Oracle Coherence data grid. As it turned out, using step-by-step debugging in a JVM that is part of a Coherence cluster has significant impact on the […]
ADF 11g RichFaces – Creating a googleMaps Mashup Part I: clientListeners and clientAttributes
While creating the itinerary for my next trip I had to look for things like campgrounds and gasstations on my route. For this I use google Maps. It wasn’t the first time I did this, however this time I wondered if it was possible to integrate googleMaps in an ADF […]
Hierarchical ADFTree with JDeveloper 11g
There are different manners to display hierarchical data. One of the most intuitive ways is using a tree structure like a file browser. This enables the ability of simple navigation without losing the context. The brand new JDeveloper 11g offers a very impressive set of Rich Internet Components. One of […]
JDeveloper 11g on Linux
It has been awaited for a long time. But now it’s finally there: JDeveloper 11g! At the time of this writing (Tuesday, October 7, 11:20 AM CEST), only the Linux download works. Fortunately I run Debian on my laptop. Here’s some screenshots of the installation.
Oracle SOA Partner Community Forum V: My first encounter with the SOA Grid
A short while ago (august 26 and 27) I attended the Oracle SOA Partner Community Forum V in Utrecht (the Netherlands). With over 200 participants from all over Europe this was a great opportunity to see what Oracle has to offer and where fusion middleware is going in the near […]
OOW 2008 Preview: ADF 11g and APEX – Same themes, different challenges
Last Thursday nine OOW presenters rehearsed their presentations for Oracle Open World 2008. As I won’t be in San Francisco next week, I was very glad with the opportunity to visit some presentations in Nieuwegein. Unfortunately, with nine presentations it was necessary to schedule parallel sessions so I was not […]
Improve your unit-tests with jMock2
Writing unit-tests should be part of your development process whether you write them before or after the actual coding I leave that up to you. On of the pitfalls of writing unit tests is that the units become to big. The unit your are testing, a method in most cases […]
Running a BPEL process created with Netbeans in Apache ODE
A BPEL process without using vendor specific extensions should run everywhere without much hassle. But unfortunately it doesn’t. In this article I will show you how to create a BPEL process with Netbeans and what changes you have to make to make it run on Apache ODE.
Forcing refresh of an ADF Faces component with EVERY Partial Page Request
Even when JSF was not around and ADF Faces was still called UIX, Oracle already had the cool “Partial Page Request” (PPR) feature. What this boils down to is that when a certain component in the page issues a “partial event” , an (AJAX-like) request will be sent to the server that […]
JDeveloper 10.1.3.4 Patch Release available on OTN
I almost forgot that there was life before JDeveloper and ADF 11g…… As of last week, the JDeveloper 10.1.3.4 release is available for download on OTN: http://www.oracle.com/technology/software/products/jdev/htdocs/soft10134.html. Apparently, this release is only a patch release with bugfixes (see http://www.oracle.com/technology/products/jdev/htdocs/10.1.3.4/10134fixlist.html for an overview of the fixes in this release) and no […]
Debug Logging in BPEL using Sensors – Part 1
When developing and/or debugging BPEL processes, the Oracle BPEL Console is your best friend. Every change to every variable, every activity that was executed, everything is right there for you to inspect, whether the instance is still in-flight or already completed. But although this sounds like the ultimate debugging tool, […]
Providing RichFaces support for NetBeans: learning it from the master
Earlier this week, Geertjan Wielenga asked me if he could come and visit me to watch the Netherlands beat France in the soccer match on Friday, June 13. Of course I said yes! So, Geertjan is visiting me right now in our AMIS office in Nieuwegein. While he is here, […]
Report from JavaOne 2008 – download session resources
Thursday 29th May – some 70 Java specialists gathered to discuss the main themes and findings from the 2008 JavaOne conference. Peter, Wouter and Lucas presented on their experiences in San Francisco earlier this month, demonstrated some of the more memorable (and demoable) products and highlighted their personal favorites. They […]
Mapping composite primary keys in JPA How to work around a bug in Hibernate Annotations
A table without single-column primary key, Java developers don’t like them because it’s more work than just putting @Id on a field. When you’re using Hibernate Annotations you might also run into an annoying bug. In this article I will explain how to map a composite primary key with JPA-annotations […]
ODTUG Sneak Preview: 9 presentaties binnenkort al te horen in Nieuwegein!
Op dinsdag 20 mei 2008, bijna een maand voordat in New Orleans de ODTUG 2008 van start gaat, heb je de mogelijkheid om alvast te horen wat deze negen mensen daar gaan presenteren. In drie rondes kan steeds een keuze worden gemaakt uit drie presentaties over een aantal uiteenlopende onderwerpen. […]