Tuesday, May 6, 2008

Finally Java One is here

So here I am with my body clock in what apparently appears to be in the right time zone sitting in my hotel room just a few blocks away from the Moscone center. A very long day yesterday traveling from Edinburgh after a wedding on Sunday only to fly past again a few hours later on the way over to the US. But for one reason or another I managed to stay up and then wake up at a reasonable time. I suspect I might crash at some point this afternoon.

Presentation appears to be on track, timming have me a taking a couple of minutes more than I have. Generally the 'fear of the stage' will deal with any minor timing overruns. Going to meet up with Manoj my co-presenter today and run through the entire presentation for the first time and possibly the last before we go on stage! Certainly more exciting this way; but I think we are both prepared.

The swag in the JavaOne bag is properly light very little rubbish in there that is non-recyclable which is how it should be. Speakers gift is a wind up tourch which is actually quite good and without a batter which would take up some of the eco-cred. Not yet decided whether this is going to make it back as part of the post-conference pot-latch. Not sure I am going to find time to walk over the the Intercontental to find out what the Alumni gift is.

Lots of public sessions today, although the first interesting technical session is TS-5425 which relates is about JAX-RS which is the restful, possibly evil depending on how you feel about it, twin of the JAX-WS spec. Should be quite interesting as I have be watching this spec grouw over the months. Then later on todat possibly a presentation on Multitouch and Amazon EC2. No SoyLatte presentation though, appears to have been yanked at the last minute. Prehaps rumors of sun taking over apple jdk developement are going to come true. I hope so as the recently released JDK wont run on any of my Intel macs.

Right better get some breaky and get over to the conference. Hoping to meet up with Alex Ruiz today if only to put a name to a face.

Monday, April 28, 2008

Demo'ing with JDeveloper

I am obviously preparing for my presentation next week at JavaOne and as part of this we are using JDeveloper to demo some concepts and examples. I have to demo regularly and here is a tip for making sure that you demo works the same way each time.

The key to this trick is to start jdeveloper with the "-su" flag. This ensures that the system* and mywork directories are created under the JDeveloper install directory. This makes things much easier when you are trying to reset the test data. (Otherwise it is written into your home directory which is a pain to tidy up)

So I create my target directory with my JDeveloper instance in it. (In this case "D:\javaOneWorking") I then run up my JDeveloper and configure the environment once I am happy I quit JDeveloper. Then you can zip or make a copy of the whole directory. Use this copy to recreate javaOneWorking when you need to practice your demo again.

Also becuase doing an unzip or xcopy can take some time, make a few copies of the directory. Then you can simply rename them into place. That way you can be sure you can restart you demo very quickly up to a few minutes before you go on stage.

Oh and just in case you find a bug, do prepare you demo a little time before hand..... :-)

Friday, April 18, 2008

Where can I find www.orablogs.com content now that is has been replaced by a NSFW link farm?

I have posted about this before but you can final all orablogs content archived on the way back when machine.

Tuesday, April 15, 2008

Using HTTP Analyzer in JDeveloper to monitor SOA

Just a quick mention of Eric's entry on using the HTTP Analyzer with the SOA server. There are a few extra details that are particular to SOA.

Friday, March 14, 2008

TimeMachine travels in time and now space...

I am not sure whether to be worried or impressed; but it seems that TimeMachine doesn't really pay any attention to current network or VPN settings when backing up to a remote machine. As you can see from this screen grab TimeMachine is backing up even though I am on a secure connection to the Oracle VPN with access to Local LAN explicitly disabled.

Cool feature, or security issue, you decide....

Friday, February 8, 2008

How do I quickly get a list of web services in a given server?

Sometimes you deploy a .war file to oc4j and are just not be able to find the new web service. This could be because of a typo or just something "special" in the server configuration. It would be really useful to be able to see a list of all the services exposed by the server. In 10.1.3 you could drill down using EM; but that was not always available. (For example when using the cut down server embedded into JDeveloper)

In the 11 branch we have added a few features to make this easier. For a start the connections browser in JDeveloper will show you a list of published web services for each connection it has, including the embedded server:

If you are not using JDeveloper you can access the list of web services in the WSIL format simply by appending "inspection.wsil" to the root of the your servers web url. For example "http://localhost:8988/inspection.wsil". You can then just plug this into your WSIL browser of choice or just view using an ordinary web browser.

Tuesday, February 5, 2008

Paper Accepted for JavaOne 2008: "Dealing with Asynchronicity in Java™ Technology-Based Web Services"

If all goes well I will be presenting along side my colleague, Manoj Kumar who works on the server side, on this topic at JavaOne this year in a technical Session. Been a few years since I was last presenting there so happy to be accepted again.