Friday, June 27, 2008

Controlling thread pooling for JAX-WS Async Client API

I might previously have said <cough /> that there is no way to control the number of threads used when using the JAX-WS async client API. Turns out that perhaps I was just being a little bit dense and hadn't noticed the setExecutor(...) method on the Service interface. This doesn't solve all of your problems though as you need to set this for each service instance (This is not really a good thing in a server environment); but if of course more controllable in the JSE case.

Now if I had only worked this out before I flew to Zurich.... then I wouldn't have had the mistake in the slide. Oh well.

Wednesday, June 25, 2008

Paper accepted for Jazoon'08, erm tommorrow.

I will be presenting a revised version of my async presentation tomorrow at Jazoon'08 in Zurich Switzerland. Just filling in for another Oracle bod who couldn't make it at the last minute this time. Queue a day of feverishly trying to remember my lines!

Tuesday, June 24, 2008

SCA and Asynchronous Services

Ran over a nice little article on InfoQ about SCA and asychronous services. Interesting to see more real example of the SCA-Java binding; but the standard still looks a little bit "old fashioned" when compared to say WebBean or Spring 2.x.

Friday, June 13, 2008

Connection refused confusion

I was working with a web service today trying to resolve a bug in the HTTP Analyzer that resulted in a "Connection Refused" error coming back from the server. I spent ages trying to connect to the server in different ways using telnet and other WS testing tools. They all seemed to work; but I couldn't work out why a simple socket connection would fail just for JDeveloper.

It turned out that after much nashing of teeth that there was a problem with the SOAPAction header. It was being set to "null" rather than just "". So the connection was being refused for a faulty header rather than the socket not being set up. The confusion came because you get the same error code back from a proxy in both cases. At least in the case of this particular server. (It was not clear what technology they were using to host the services underneath)

Still fixed the analyzer, just glad it finally clicked as to what was going on.

Thursday, June 12, 2008

Promotion

Found out yesterday that I have been promoted to the heady heights of "IC5". (Also know as "Senior Principle Software Engineer" in the UK or "Consulting Member of Technical Staff" in Oracle US) This has been a long term goal of mine, slightly set back when I switched from UML to web services and had to start in a new area. It is also something you need the support of a bunch of good people to achieve both in day-to-day and in terms of references. It might also interest an outsider to know that some of these reference have to come from outside not just your group but also in some cases from outside Oracle.

So big thanks to my co-team members past and present, Alan Davis, Alan Gibson and Sheen Brisals. And of course my direct managers John Blair and Dai Clegg for supporting me in the process of gathering the evidence to back the promotion! And for those outside of my group for providing good references. (Money is in the post etc.)

Now back to what ever I was doing the day before yesterday. As is generally the case you find you are already doing the job by the time you get the promotion.