Tech Bits 'n' Pieces

Must blog more :)

I am so busy, I generally don’t get to blog bits and pieces, but I should! 

A not-new-year resolution of sorts to do so is underway :)


Axis2 & java.net.useSystemProxies

Be aware that if you use “Use this proxy for all protocols” in Windows, Axis2 tries to default to using your defined proxy as a SOCKS proxy, rather than a HTTP proxy… it will eventually just timeout if it can’t.


Caffeine Coma: Relax. You can (mostly) stop using Interfaces in Java now.

Interesting tech from JMock, allowing you to imposter classes for testing…


Eliminate Java verbosity the easy way

Lombok is a Java Archive (JAR) file you can use to eliminate verbosity in Java code.

Consider, for example, a standard Java bean. A typical Java bean has several properties. Each property has an accessor and a mutator (getter and setter). There is also usually a toString() method, an equals() method, and a hashCode() method.

If you think about it, that seems like an awful lot of predictable redundancy. If it’s implied that each property has a getter and setter, and it usually is, why is it necessary to spell it out?

Enter Lombok. Lombok uses annotations to identify classes and blocks of Java code in an effort to eliminate lines of code. In the aforementioned Java bean example, all of the getters, setters, and the three other methods are implied and included at compile time.



iSalesforce

An iGoogle style implementation on Salesforce. This is an old POC that Kusiri open sourced as we have had enquiries about it, but we are no longer doing Salesforce consultancy.


Salesforce Flex Framework Open Sourced

An old POC using Flex to dynamically create a UI for Salesforce from Salesforce meta-data.

Open Sourced by Kusiri as we no longer offer Salesforce consultancy.


JSON Service on Google Code

json-service.org should forward to this soon :)


json-service.org

Finished first draft of my proposed Open Standard for REST-JSON services and data stores.


New Proposed Web Service Open Standard

Early stages of a new Open Standard I am proposing to update REST-JSON.


12
To Tumblr, Love Metalab