Monday, June 20, 2005

programming (AOP) have in common.

I went through a very interesting paper about AOP and Java Dynamic Proxies. I’ll have to look at JBoss AOP to find out how it is implemented.

Friday, June 17, 2005

SOAP encoding

I have eventually found a good explaination on why this is a very bad idea to use SOAP encoding. SOAP encoding only exists for historical reasons. The SOAP authors didn’t initially have access to XSD so they wrote the SOAP encoding rules, which explain how to serialize an instance of the SOAP data model to a SOAP message. It was left to SOAP implementers to map their own technologies to the SOAP data model. When you create a WSDL binding, you have to specify whether the SOAP messages contain literal or encoded instances of the schema constructs the operations use. If you choose "literal," you are saying that the XML Schema constructs your WSDL definitions refer to are concrete specifications of what will appear in your SOAP message bodies. If you choose "encoded," you are saying that the XML Schema constructs your WSDL definitions refer to are abstract specifications of what will appear in your SOAP message bodies; these can be made concrete by applying the rules defined by SOAP encoding.
And then we can conclude as Tom noticed: "if you use SOAP encoding, then you can't validate the message with an XML Schema, and you can't transform the message using XSLT" this is obviously a bad idea!

Wednesday, June 08, 2005

Document vs. RPC style--why is it a big deal?

Document vs. RPC style--why is it a big deal?

Wednesday, June 01, 2005

Scotland

I am just back from a fantastic trip in Scotland. I went there with a friend of mine with the intension to play golf and visit distilleries and so we did!
As we didn’t want to drive miles and miles around we stayed in the low land on the west coast.
Our fist stop was to visit the Auchentoshan distillery that lies immediately before Glasgow’s Erskine Bridge on the A82. We had the ultimate pampering experience as we were offered four different whiskies 10, 12, 21 years old and the famous three woods. I should say that I like very much those whiskies! Then we had to drive (oups we shouldn’t have done that) to Largs. We stayed overnight in the Carlton Guest House. Largs is a very nice little town with very good pubs.
The next day we took the ferry for the island of Cumbrae where we played golf in the millport golf club. This was the ultimate golf experience as this golf is beautiful even when it is pouring and extremely windy! We then stayed in KILMARNOCK for the night. We slept in picturesque 18th century farmhouse LAIGH LANGMUIR with a fantastic old lady that thinks that German and French speak the same language :)
The next day we drove to the island of Arran where we settle down in Whiting Bay in the Mingulay Bed and Breakfast. This was the best B&B, maybe because it was the most expensive one. We visited the Arran distillery and then tee-off in the lochranza golf course. Maybe we should we have gone for the other way round but I should say that I played quite well that day :)
The morning of our last day, that was fantastically sunny, we played on the shiskine golf course. This is a unique 12-hole course has achieved the distinction of being included in the top 100 best courses in Britain for the past two years! This was absolutely great!
We then took the fery back on the main island and drove back to Newcastle. It was a great experience all along and an excellent end of my five years long British experience.