public AppController(ContactsServiceAsync rpcService, HandlerManager eventBus) {this.eventBus = eventBus;this.rpcService = rpcService;bind();}private void bind() {History.addValueChangeHandler(this);eventBus.addHandler(AddContactEvent.TYPE,new AddContactEventHandler() {public void onAddContact(AddContactEvent event) {doAddNewContact();}});... // The rest of bind( ) is here.}
In other words, I in-lined bind(). When I tried to run it, I got a 404 page not found error. But when I put the lines back it, it ran fine. Why should that be?// bind();// }// private void bind() {