Frank Houweling
(0 comments, 10 posts)
Posts by Frank Houweling
ADF DVT Speed Date: Interactive Bubble Graph
0Recently the ADF SIG at AMIS organized an ADF DVT Speed Date. During this speed date six AMIS consultants presented their favorite DVT Component. In a series of blogposts we share the knowledge and findings. In this post you get introduced to the ADF DVT bubble graph. I will also show you how to make it interactive by clicking on the bubbles. The ability to make a graph interactive can be very usefull.
In the following bubble graph that we are going to create, the Life expectancy (y-axis), income a year (x-axis) and the population (bubble size) is shown. This in steps of 10 years, for the last 50 years (1970, 1980, 1990, 20000 and 2010). So for each country 5 bubbles are shown. The location of the bubble has a meaning; for example in Japan (grey) the life expectancy is the highest and in Pakistan the lowest (green). -Have developing countries moved forward their income? -Do they have longer lifes than 10, 20, 30, 40 or 50 years ago? A picture says more than thousand words – you can see it immediately in the graph.
Book review: JDeveloper 11g Handbook: A Guide to Fusion Web Development
1In this blog I will share with you my experiences with the Oracle JDeveloper11g Handbook – A Guide to Oracle Fusion Web Development (McGraw-Hill, 2010) – written by Duncan Mills, Peter Koletzke and Avrom Roy-Faderman. It is the successor of their previous book, JDeveloper 10g for Forms & PL/SQL Developers. This is a book to learn the basics of ADF Fusion development and a valuable guide for reference. If you’re a starter, than the hands-on part in this book is a good and practical exercise.
How to call a webservice directly from Java (without webservice library)
7In this blog I will show you how you can call a webservice programmatically in Java without using a webservice library like JAX-WS or Apache Axis. Normally you would use of course a webservice library, but in some cases this can be useful and quick; for example when you have problems generating a client proxy with a webservice library or if you only need some small specific parts of the SOAP response XML tree.  It shows that a SOAP call is just XML over HTTP, from a plain piece of Java code. Then, I will show you an example how you can use this and make your own servlet webservice-tester like a simple SoapUI in JDeveloper 11.1.1.3.
How to remove unwanted SOAP header elements in JAX-WS
0In our current webservice project with JAX-WS in  JDeveloper  11.1.1.3 we have a challenge with calling a webservice. This webservice from a remote organisation does not accept specific SOAP header elements our client application creates – although we followed the contract of the WSDL correctly. Of course this webservice must follow it as well as we have to, but for now we don’t have a choice but to make a workaround.  How can we remove unwanted elements from a SOAP header? In this blog I will show you how you can do that using a JAX-WS SOAPHandler that inspects the SOAP header and removes specific addressing elements. (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…)
Using a general superclass to refresh SQL-calculated attributes in your dirty ADFBC View Object
In our current ADF10g project we have many refresh issues. After an insert or update some view object attribute values are not shown. Many attributes of our entity based view objects get their value from the SQL statement that queries the data of the view object (SQL-calculated attribute). After an insert or update, view objects with one or more SQL-calculated attribute needs to be requeried if you want their values to be evaluated again. In this article I will discuss how to make a general superclass that refreshes the data of a View object, but first checks whether this is necessary or not. This superclass can detect if a view object is ‘dirty’ – an entity based view object is dirty in this article when any inserts or updates for the underlying entity objects are about to be posted to the database. If yes, this superclass will requery the view object after the database commit, and at the same time all SQL-calculated attribute values will be evaluated again. This superclass could also be used in general, to refresh a view object in cases when this is needed. (more…)
Recent Comments