Reputation: 785
I am newbie for GWT,and trying to understand the GWT request factory.
Moreover,I have been trying to run a Demo example of request factory from below link: https://github.com/MikeMitterer/RFSample/
When I import it in Eclipse, there are so many libraries which are missing.
Like repackaged-appengine etc.
Can anyone help me to understand request factory. and why this libraries are required?
Upvotes: 0
Views: 364
Reputation: 64561
Heck that's the problem when you don't use managed dependencies (with tools such as Maven, Gradle or Ivy), you have to download everything by hand and edit the paths in the configuration to point to your downloaded JARs.
This sample apparently runs on AppEngine, so you'll have to download the Google AppEngine SDK. The author downloaded it (and the GWT SDK) separately, rather than using the Eclipse plugins from the Google Plugin for Eclipse. When done, edit the build path to fix the dependencies.
Back to Request Factory (rather than this sample), all you need is:
gwt-user.jar
if you're build a GWT app, or requestfactory-client.jar
if you're building a Java app (such as an Android client), along with validation-api-1.0.0.GA.jar
(and validation-api-1.0.0.GA-sources.jar
if you're building a GWT app)WEB-INF/lib
: requestfactory-server.jar
or gwt-servlet.jar
, along with validation-api-1.0.0.GA.jar
(you shouldn't need to add them to your build path though, all the classes they contain are already in gwt-user.jar); you might need gwt-servlet-deps.jar in addition to gwt-servlet.jar (can't remember, try it out)requestfactory-apt.jar
, see https://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidationAnd some links to understand it:
Upvotes: 2