-
Notifications
You must be signed in to change notification settings - Fork 45
Update README.md #82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Update README.md #82
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,22 @@ | ||
| gwt-maven-archetypes | ||
| ==================== | ||
|
|
||
| This project contains Maven archetypes for modular GWT projects. | ||
| This project contains Maven archetypes for modular GWT projects. The 2 available archetypes differ | ||
| in their client-server communication approach: | ||
|
|
||
| - `modular-webapp`: Uses traditional GWT RPC (Remote Procedure Call) | ||
| - Client communicates via RemoteService interface with @RemoteServiceRelativePath | ||
| - Requires both sync (GreetingService) and async (GreetingServiceAsync) interfaces | ||
| - Server implements the service interface directly | ||
|
|
||
| - `modular-requestfactory`: Uses GWT [RequestFactory](https://www.gwtproject.org/doc/latest/DevGuideRequestFactory.html) | ||
| - Client communicates via RequestContext with @ServiceName annotation | ||
| - Uses proxy objects (GreetingResponseProxy) for data transfer | ||
| - Requires a RequestFactory interface to group contexts | ||
| - More modern, supports data validation and has better performance for complex data models | ||
|
|
||
| Both create modular multi-module Maven projects with client, server, and shared modules, but RequestFactory is the newer, | ||
| more efficient approach for GWT applications. | ||
|
||
|
|
||
| How to use | ||
| ---------- | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sublist is not needed IMO, that's more or less the definition of GWT RPC.