IgorShare Thoughts and Ideas

Consulting and Training

Archive for April, 2009

Tree event handler in GWT 1.6

Posted by Igor Moochnick 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 »

Deploying GWT applications on Tomcat

Posted by Igor Moochnick on 04/19/2009

If you’re looking for some guidance about deploying GWT applications on Tomcat, I found these articles helpful:

  1. Deploy Google Web Toolkit(GWT) Applications using Tomcat
  2. gwt-examples – tomcat6 Documentation

Posted in GWT, Java, Tomcat | Leave a Comment »

Google’s Data Centers revealed

Posted by Igor Moochnick 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 Cloud, Thoughts | Leave a Comment »

 
Follow

Get every new post delivered to your Inbox.

%d bloggers like this: