public StreamingExample(){
super(new BoundWidgetTypeFactory(),null);
Button stream = new Button("Stream!");
stream.addClickListener(new ClickListener() {
public void onClick(Widget sender) {
ExampleStreamServiceAsync ser = (ExampleStreamServiceAsync) GWT.create(ExampleStreamService.class);
StreamingServiceStub stub = (StreamingServiceStub) ser;
stub.setServicePath(GWT.getModuleBaseURL() +
"ExampleStreamService");