Dependency injection:
google-gin
Class Diagram:
Presentation:
Use the Supervising Controller pattern
- When using this pattern, you'll gwt a better seperation of concerns (High coupling), which leads to better testabillity and a more expresive design.
GWT RPC.
- @RemoteServiceRelativePath instead of:
MyService myService;
ServiceDefTarget endpoint = (ServiceDefTarget) myServiceAsync;
endpoint.setServiceEntryPoint(GWT.getModuleBaseURL() + "/MyService");
- Seperate RemoteServiceServlet implementation from the service implementation.
Links:
Supervising Controller pattern http://www.martinfowler.com/eaaDev/SupervisingPresenter.html
TDD and GWT: http://robvanmaris.jteam.nl/2008/03/09/test-driven-development-for-gwt-ui-code/
TDD and GWT: http://robvanmaris.jteam.nl/2008/03/09/test-driven-development-for-gwt-ui-code/


No comments:
Post a Comment