public void onFailure(Throwable caught) {
Dispatcher.forwardEvent(AppEvents.Error, caught);
}
});
}
}
till now all is ok, but what shuold we pass if our beans are not extending BaseModel, but using @BEAN annotation and BeanModelMarker, and to get and convert beans we need to use the RpcProxy, BeanModelReader and the ListLoader in similar form:

BeanModelReader reader = new BeanModelReader();
ListLoader loader = new BaseListLoader(proxy, reader);
So, my question is from architectural prospective how to break code from the controller, view and the panel/widget.