Posts tagged jdeveloper
ADF Gold Nuggets – from Oracle Open World's ADF Enterprise Methodology Group Super Sunday
0Sunday 2nd of October 2011 saw, in the prelude to the Oracle Open World conference, the ADF Enterprise Methodology Group’s Super Sunday. Six valuable presentations on planning, designing, building and improving ADF applications by experienced ADF specialists. In front of an audience of over 150.
Interest in ADF seems higher than ever – with an increasing number of organizations starting with BPM, WebCenter or/and ADF proper – and many of them interested in having their approach confirmed as well as finding new and better ways to address certain challenges.
I presented the ADF Gold Nuggets presentations – on valuable yet often unknown or underestimated features and functions in ADF. Going from very small, single property features to large areas and event architectural concepts, I took the audience on a somewhat strange ride – that most seemed to enjoy though. I have put my slides on Slideshare, accessible below.
Running XQuery from Java applications using the XQJ API and the Oracle XDK implementation
1While preparing for the new SOA for Java Professionals training program at AMIS, I was recently working on a section discussing XQuery and more specifically the ability to use XQuery from Java as an alternative to JAXB binding to POJOs on the one hand and DOM based XPath searches on the other.
The XQJ API for XQuery support from Java is relatively new and unknown. Implementations of the API are not yet part of Java 6 SE (I am not sure about Java 7) and the number of resources on the internet is still limited.
This article shows the steps for running a simple Java program for inspecting an RSS feed and printing titles for RSS items that concern Java. It also shows how to configure a Java application in JDeveloper 11g using the Oracle XDK implementation of XQJ.
ADF 11g R2 : ADF Business Components UI Categories and Dynamic Forms (and some new IDE features)
0ADF 11gR2 has some very nice UI Hints features. Some were already available in previous releases. In this post I will describe the effect of the UI Categories. On the go, I will also point out some other new features. To see how this works, I created simple ADF Business Components from tables (That is, only the employees table from the HR schema). (more…)
Hands-on: Synchronize your database from a webservice with JAX-WS and ADF Business Components
0This step-by-step starter hands-on provides an example how to make a JAX-WS webservice proxy in JDeveloper, and save retrieved data from this webservice in a batch-job to your own database with ADF Business Components. Duration: 60 minutes. For this hands-on example, imagine that your company wants to expand internationally and that reliable, up to date country information is absolutely critical. Recently there were some changes in the number of countries and there might be in the future. Since 1990, 33 new countries have been created. A few months ago the world welcomed a new country (South-Sudan) and yet we don’t know what will happen in Libya (maybe it will be separated in West and East-Libya?). Your company wants to weekly synchronise its internal countries database table with up-to-date country information from a recognised country-monitoring institution that delivers up-to-date country information by a webservice.
Part 1 – Create the country webservice client with JAX-WSWe are going to create a webservice client proxy for a country webservice available on: (more…)
Oracle Diagnostics Logging (ODL) for application development
1Logging is a very important aspect of application development as it offers run-time access to the behaviour and data of the application. It’s important for debugging purposes but also to investigate exception situations on production. The Java developer has a choice between logging frameworks but Log4J is probably the most used one. The usage is quite simple: grab a Logger, e.g. private static Logger log = Logger.getLogger(MyBean.class);, and then use that logger to log the actual message at the required level, log.debug(“This is a debug message”);. To print the logmessages, the Log4J is configured externally with a properties file that defines the location (e.g. console, file, database etc.) and the format of the logmessages. Other logging frameworks, like Java Util Logging, are used in a similar way. It’s actually a good practice to not use Log4J directly, but to use a wrapping or facade framework, that allows switching of the actual logging implementation itself. In the past that would have been Apache Commons Logging (ACL), but now SLF4J is commonly used because it doesn’t have the classloader issues of ACL and it provides some nice message formatting (and performance) More >
Change the JDeveloper system directory
0De system directory is where JDeveloper stores the user specific settings, configurations and also (for 11g) the default domain of the embedded weblogic server. It uses the JDEV_USER_HOME environment variable to dettermine the location. If it’s not set is uses a default directory, for 11g on windows XP that’s <user dir>\Application Data\JDeveloper\systemXXX (XXX stands for the exact IDE version, e.g. system11.1.1.3.37.56.60 for 11gPS2, 11.1.1.3.0) and for 10g that’s <JDev install dir>\jdev\system (no version included). Note that the Application Data directory contains a space. And although this doesn’t prevent JDeveloper and the embedded weblogic from proper functioning, it may sometimes leads to an issue, e.g. that diagnostics (adrs) cannot create an image.
To change this directory, just add the JDEV_USER_HOME environment variable and set it to the required directory, that must not contain a space in the name and when you restart JDeveloper it will use that directory. However, you’ll notice that JDeveloper will now consider itself an almost new installation, without your custom configuration and no default weblogic domain but with installed extensions. It should be able to copy More >
Recent Comments