So what during the weekend? Well, just a bit more coding and experimenting: Simple Klondike So I did small refresh in my web app development and cooked up small solitaire game. Of course game itself ain’t anything particular, but what is important is experimentation with various techniques. So that’s all for a while. Tested with…
Read moreWhat you did on your weekend?
Well, frankly I can’t know that. But I know what I did. Due to some defects in standard java RMI protocol, I decided to write my own custom protocol. Must be noticed that I didn’t do this completely from the scratch, but concept is based into earlier custom wrappers for normal RMI to allow passing…
Read moreHacking with Stone-Axe in 21th century
After spending 2 decades with java language, taking peek into javascript feels unbeliable. Javascript has basically existed around same time than java, but unlike java language haven’t really evolved much. It’s really odd to see that lot of things which are simply implicitly granted to exist are simply non existent in javascript world. Even for…
Read moreChanging religion
I’ve believed into holy ant since it has been simply the best build system for java. However, my faith is now tested, and I’m failing. I’m changing my religion, since now I’ve found system which is even better than ant, but still provides equivalent functionality. I’m starting to hail for holy gradle and share it’s…
Read moreOdd division of products
Taking quick peek in Windows 8 programming, and at first there is really odd separation of products: Windows 2012 Express. So if I want to experiment all three cases in Windows 8 (metro, desktop, phone), I’ve to install separately 3 different visual studio installation (and maintain all settings and everything separately in them). Ow! I…
Read moreAdvanced Exception Throwing
Lets consider following sample: [code lang=”java”] public class Test { static class FooException extends Exception { } static class BarException extends Exception { } static Z rethrow(Throwable e, Class a, Class b) throws T, E { if (a.isAssignableFrom(e.getClass())) { System.out.println(”throw ” + a.getName()); throw (T)e; } else if (b.isAssignableFrom(e.getClass())) { System.out.println(”throw ” + b.getName()); throw…
Read moreJSON your joints
After RESTing, you may want to JSON your joints. For example, jsonrpc4j – JSON-RPC for Java has interesting tingle in the name. One shall only see if problems known for XML-RPC perish also here. Good point, however, sounds to be that integrating calls into script languages can be more smooth. Of course benefits of RPC…
Read moreREST in pieces
Should go forward or back, or just REST in one place. Who knows what way to go. I have to admit that I didn’t even know that HTTP spec had methods like DELETE… well, or perhaps I’ve heard about them but due to lack of need for such they have faded into oblivion. Update: 9.3.2012…
Read moreSitting in the junction
Sitting in the junction, throwing rocks into air, looking for the path to go. If you want to store data, were you should put it (). I would say, if you’re starting to implement new application, don’t rush randomly. Mismatch between Object and Relational models is rather huge, and it’s very easy to ignore; i.e….
Read moreWeb is not open
History of web is rather curious. Especially considering the fact that all the time some zealot group is wanting to make web ”open”. Which translates into ”work only with our own system”. ”Open standards” are pushed forward to fight against ”proprietary implements”, which translates actually into ”trying to replace old defacto standard, by our own…
Read more