Posted by igormoochnick on 04/28/2009
The documentation was a little sparse so, if you’d like to subscribe to the click events on the tree nodes you need to add a selection handler.
This is how you add a selection handler to the whole tree:
Tree optionsTree = new Tree();
optionsTree.addSelectionHandler(new SelectionHandler()
{
@Override
public void onSelection(SelectionEvent event)
{
Window.alert(event.getSelectedItem().getText());
}
});
Posted in GWT, Java | 4 Comments »
Posted by igormoochnick on 04/14/2009
Finally after years of secrecy Google unveiled the design of their modular data centers. Apparently they are designed to be 99.9% efficient. I’m a bit skeptical about this number, but, what I really liked, is that the whole center is built from a set of exactly the same modular containers (containing 1,160 servers each) that can be turned on and of separately or moved to a desired location. So not only servers can be switched/replaced but the portions of the data center. The data center modularization is taken to the extreme – the best scalability solution I’ve ever seen.
Read more and see a video of a server on Engaged and an on CNET.
Posted in S+S, Thoughts | Leave a Comment »