Saturday, September 26, 2009

Google chrome offline installer

The Google chrome download offers an online installer, but try installing from the office comp and the proxy plays spoilsport.

So, how do you go about downloading an offline installer. Kinda simple, just add 'standalone=1' to the url for the online installer. Offline installation url

Auto-updation might not work, well you can't have everything :-)

Saturday, September 19, 2009

CXF and Weblogic

Tried CXF with Tomcat - works like a dream. Next, tried deploying the war onto Weblogic and the dream turns sour. Well, eventually things did turn out all right, if only I'd read the documentation on the apache site earlier, details summarized below. There are 2 ways u can work it.

1. Put jars in endorsed folder (This way is not recommended, since it might break the application server itself. The method below is preferred, as it impacts a single module only.)
- Put the geronimo-ws-metadata_2.0_spec-1.1.1.jar in the $Weblogic_Home/jdk_../jre/lib/endorsed folder.
- Deploy the CXF war in weblogic.
2. Pack war in an ear, deploy the ear with weblogic-application.xml - Create a standard J2EE application.xml file in the META-INF folder.

Friday, September 18, 2009

Axis 1.2 / Spring and Upper case operation names

If your wsdl has an operation name starting with an upper case, don't go for the Axis1.2 + Spring 1.2.5 dynamic proxy solution.

Problem => Axis generates remote interface methods in lower camel case notation even if the web service operation is in upper case. Initially thought Axis was the problem, but a simple Axis client works perfectly. It is when you try wiring together Axis and Spring to generate an Axis dynamic proxy using JaxRpcPortProxyFactoryBean that the problem crops up. Spring invokes the operation in the same case as interface method name.

Resolution => Tweak the generated interface manually or simply wire in Axis and Spring bypassing the JaxRpcPortProxyFactoryBean.

Need to check if Spring 2 has this problem sorted out.

Saturday, August 15, 2009

Saturday, August 1, 2009

Javascript related links

How to load javascript w/o blocking - The best way to load external javascript
Event delegation in JavaScript
HTML 5 introduced three new options for client-side data storage: sessionStorage, localStorage, and client-side databases. A write-up on Session Storage