|

Bytecode Manipulation via Reflection API and Javassist

I’ve recently come across an interesting puzzle, it went like “Guess the next value of Math.random()”. How could you possibly do it? Well, since the output is unpredictable by definition, the only option left for many of us is cheating. Once I successfully “solved” the puzzle by crippling the poor Math class to a worrying…

| |

Google Cloud Endpoints – Design Considerations

While designing of the Endpoints API is fairly straightforward, there are gotchas one might stumble upon. Especially when task at hand is slightly more involved than the proverbial “hello world” example. It took several iterations in my tiny little project to adjust the API according to my needs. Don’t get me wrong. I enjoy working…