Skip to main content

路 One min read

I am sure that most of you already know the "Prototype Windows" project that provides a very powerful way to create windows and dialogs inside your Web pages. If you do not know it, take a look it's awesome!

Sebastien Gruhier, aka Mr Proto, and others have done a terrific job allowing developers to integrate exciting features with few lines of code. Find more on the PWC site or on Mr Proto's blog.

In addition to the Windows API, you can also take a look to the Tranparent Message, Prototype Carousel and Prototype Graphics projects

路 One min read

A friend of mine was asking me how to generate a unique ID for his application... As you probably already know Java SE 5 has introduced the java.util.UUID class to easily generate Universally Unique Identifier (UUID). As usual Wikipedia is a great starting point to learn more about UUID.

Generating the unique ID is as simple as calling the method UUID.randomUUID() in the class. This will give a new instance of UUID that you can now manipulate; for example do a toString() to get the UUID string representation as describe in the specifications; for example 5462dc18-4653-42d1-b4e4-22fc970a6ce5

Resources:

路 One min read

This morning I was helping a customer to debug some Web Services deployment issues, when I simply realized that the error was coming from the fact that he was trying to deploy a JAX-RPC service on a OracleAS 10gR2 server; where it is not supported/available.

This give me the opportunity to clarify the different versions of the Oracle Application Server and their related Java Enterprise Edition release support.

Oracle AS ReleaseJ2EE/Java EE ReleaseComments/ExtensionsCertification Matrix
11.1.0.0Java EE 5.0* Currently available as technology preview
10.1.3.x (Oracle AS 10gR3)J2EE 1.4* Support of EJB 3/JPA * Web Services Annotations * MTOM support (10.1.3.1) * Integration of Spring 2.0 (10.1.3.2) * Integrationf of Oracle Coherence (10.1.3.3)[OTN Certicification Matrix](http://www.oracle.com/technology/software/products/ias/files/oracle_soa_certification_101310.html)
10.1.2.x (Oracle AS 10gR2)J2EE 1.3[OTN Certicification Matrix](http://www.oracle.com/technology/software/products/ias/files/as_certification_r2_101202.html)
9.0.4.xJ2EE 1.3[OTN Certicification Matrix](http://www.oracle.com/technology/software/products/ias/files/as-certification-904.html)
9.0.3.xJ2EE 1.3[OTN Certicification Matrix](http://www.oracle.com/technology/software/products/ias/files/as_certification_r2_101202.html)

路 2 min read

I聽was in Paris last week end so I took this as a good opportunity to聽visit the city using the new "Velib" system. Velib is a new self聽service rental bike system that the city of Paris and JCDecaux put in聽place on July 15th. So you can take and return any of the 10,000+ bikes in any of the 750 locations all around Paris.聽I believe that聽Paris wants to a total number of 20,000 bikes for 聽1,400聽locations.

The concept is really simple, you can聽take a bike for 1 euro day and it is free for 30mn, supplet of 1 euro聽will be charge for additional 30 mn then 2euros for the next one, ...聽The idea is to use the bike for short periode of time, return it to a聽station and take another one after 5mn. So I have been enjoying the聽city all Sunday for only 1 euro, it was really nice to be able to ride under the Eiffel tower, les Invalides, Place Vendome on all these very聽nice and romantic Parisian places. Not only is it probably one of the聽best way to visit Paris as a touris but also it is good for the聽environment...

One the flip side, I need to say that聽Parisian drivers are not that nice with bikers, even with the 230 miles聽of bike lanes...

From a technical point of view,聽the rental system is really nice, 聽the bike stations have a聽nice and simple to use system allowing you to take a bike, see your聽balance and they are all connected together allowing you to take and聽return bike anywhere in Paris. I will try to find more information聽about this application that is probably quite fun, and hopefully not like the聽www.velib.paris.fr聽site, the stations are available in multiple languages.

路 One min read

I was helping a customer with his BPEL in cluster and we needed to follow the flow and on which machine the instance was running.

I simply use a bpel:exec activity with the following code:

java.net.InetAddress addr = null;
try {  addr = java.net.InetAddress.getLocalHost();}catch (Exception e) {  System.out.println("EXCEPTION :"+ e);}setVariableData("HostNameVariable", addr.getCanonicalHostName());

This code is just an example of what could be done. Here I am using java.net code API and put the result in a BPEL global variable using the setVariableData() method. Obviously you will use appropriate code to differenciate the different nodes for example the name of the OC4J instance, hostname, ... or any interesting value.

路 One min read

It is probably an old tipe, but I have just configured my Windows XP Parallels VMs to use my MacBook buit-in iSight Web Cam using the driver that you can find here:

The site states that it does not work with Parallels, but I am using the release Build 3170 RC3 and I do not have any issue.

  1. Start your VM

  2. Download the Driver & Unip zip

  3. Grab the Built-In iSight using the Devices > USB menu

  4. Point the Windows Devices Manager Installer to the location of the Unzipped folder

  5. and you are done...

路 One min read

To help you better understand the support Oracle offers to Spring developers, everything you need to get started with Spring on Oracle Containers for Java EE is now available in the Oracle Development Kit for Spring. Whether you're new to Spring or an old hand, you're sure to benefit from the contents of the Development Kit:

  • A comprehensive set of How-To examples illustrating Spring-OC4J integration
  • The Oracle Developer Depot Web application, which enables you to deploy and run the How-To projects on OC4J
  • A Spring extension to JDeveloper, Oracle's free Java IDE
  • Supporting documentation and white papers

The Kit is available as a self-extracting ZIP archive. Note that you will need Oracle Containers for Java EE (10.1.3.2) or higher to use all of the How-To projects provided.

路 One min read

Oracle is has started to deliver the "Oracle Developer 2007" conference. In this two days even you will learn more about multiple technologies: Enterprise Java, SOA, .NET, Databases and PL/SQL, as well as Ajax, PHP, Spring, and more.

This event is organized in 4 different tracks for developers:

Find an Oracle Develop event near you: