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.

Thursday, January 24, 2008

orablogs is dead, long live orablogs

The truth is that if you leave something on the internet long enough someone will take a copy of it. This also has a complete copy of my blog that was previously hosted on orablogs.

Shame all this stuff will fall out of the google index though.....