Thanks, I posted a version of this question in the GWT Users group:
https://groups.google.com/forum/#!topic/Google-Web-Toolkit/q8YQ5F1lXqE


On Tuesday, January 10, 2017 at 2:17:06 PM UTC-5, Paul Mazzuca wrote:
>
> Hi all,
>
> I actually have successfully been using GAE Endpoints with GWT 2.8.0 for 
> some time now.  My setup includes Maven and RestyGWT which has worked 
> extremely well.  I will try and post a archetype soon, but unfortunately 
> have been extremely busy.  If you have specific GWT questions (i.e 
> JSInterop related), I would switch to the GWT Users group for that 
> discussion.  I can try and answer specific questions there. 
>
> As far as GAE endpoints goes, once you set up an endpoint, there are a 
> variety of ways for clients to access it, including via a GWT client App. 
>  In other words, if you can ping your endpoint via Curl or Wget, then I 
> would shift the focus to GWT users for client side specific questions.   
> GWT, though powerful, has unfortunately been lacking in documentation 
> lately.  I will try and help out the best I can on the GWT Users forum.
>
>
> On Tuesday, January 10, 2017 at 5:49:01 AM UTC-8, Matthew Rubenstein wrote:
>>
>> Thanks for chiming in. I was hoping someone else in the list might do so, 
>> one reason I documented so much of what I tried and failed. I've been 
>> disappointed by how unusable the "Google Platform Support" responses have 
>> been to achieve my specific goal: adding a GAE Endpoints client to a GWT 
>> module in an Android Studio project.
>>
>> I'm not presently using JsInterop. I'm not actually writing Javascript 
>> apps; that's one reason I'm interested in GWT: writing Java that's 
>> converted into JS. I see in the main GWT site a tutorial that explains 
>> building with JsInterop, but all their other tutorials have been defective 
>> so far so I'm wary of sinking even more hours into yet another dead end. 
>> But research into the previous JSNI approach did seem like another even 
>> more inefficient development exercise.
>>
>> What I'm trying to achieve is to add an Endpoints client to a LibGDX 
>> project. The LibGDX project setup application generates as an Android 
>> Studio Gradle project, like this game demo:
>> https://github.com/libgdx/libgdx-demo-superjumper
>>
>> including Android, desktop, GWT ("html" module) and even Ios modules (the 
>> platform-nonspecific code is implemented in the "core" module). I've added 
>> a simple HTTP XML client to a LigGDX GWT module. But it's not really an 
>> Endpoints client; it doesn't share the API from the rest of the project as 
>> an API, just as a component of a URL string. Do you think there's a direct 
>> way to add an Endpoints client to that GWT module that can share the API? 
>> If the only way is to tack on yet another programming environment, 
>> JsInterop, in a Javascript phase after GWT just to add the Endpoints client 
>> to what is otherwise a Java project, then that's my fate. Thanks for your 
>> insights.
>>
>>
>> On Tuesday, January 10, 2017 at 1:48:25 AM UTC-5, Jeff Schnitzer wrote:
>>>
>>> Hi. I don’t have an easy answer for you, but I’ve been watching this 
>>> thread and can give you some advice. GWT and Cloud Endpoints have changed 
>>> over the years and there are probably no tutorials currently relevant. That 
>>> shouldn’t really matter. Cloud Endpoints will generate some javascript for 
>>> you, so you just need to figure out how to get GWT to interact with the 
>>> javascript just like any other javascript library. This is really just a 
>>> straight-up GWT question.
>>>
>>> Are you using JsInterop? I used GWT heavily back in the days of JSNI and 
>>> JSOs, which really sucked for JS interoperability. JsInterop looks pretty 
>>> awesome… it looks like some people have even gotten it working with 
>>> Angular. So get it working with a simple JS library, and from there it 
>>> should be possible to get it working with the Endpoints-generated 
>>> javascript.
>>>
>>> I’m actually pretty surprised by how much progress GWT has been making. 
>>> I’m almost (but not quite) tempted to go back to it. Maybe in another year 
>>> or two if/when 3.0 is out…
>>>
>>> Jeff
>>>
>>> On Mon, Jan 9, 2017 at 8:23 PM, Matthew Rubenstein <
>>> matthew.r...@blue-green-group.com> wrote:
>>>
>>>> In my latest attempt to follow your guidance I followed the "Build a 
>>>> GWT app" tutorial. Rather than spend many hours proceeding with yet 
>>>> another 
>>>> GWT project that fails after hours of work despite following the 
>>>> instructions exactly, I found that the tutorial offers starting with the 
>>>> completed code that is then configured for deployment to App Engine:
>>>> "Deploy to GAE / Set up a project (without Eclipse)":
>>>> http://www.gwtproject.org/doc/latest/tutorial/appengine.html
>>>>
>>>> "Alternatively, If you would like to skip the Build a Sample GWT 
>>>> Application tutorial, then download and unzip this file."
>>>>
>>>> http://code.google.com/p/google-web-toolkit/downloads/detail?name=Tutorial-GettingStarted-2.1.zip
>>>>
>>>> Like all of the GWT instructional projects documentation so far, this 
>>>> one's link is broken as its project has been archived. But the file is 
>>>> still available from:
>>>> https://code.google.com/archive/p/google-web-toolkit/downloads?page=3
>>>>
>>>> https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/google-web-toolkit/Tutorial-GettingStartedAppEngine-2.1.zip
>>>>
>>>> But after editing its various config files according to the tutorial 
>>>> instructions, and fixing some defects not mentioned in the instructions 
>>>> (like increasing the javac heap size to 512M, and adding 
>>>> <threadsafe>true</threadsafe> to appengine-web.xml , and removing old lib/ 
>>>> JARs that have substitute JARs downloaded by Ant, etc) the project 
>>>> launches 
>>>> in a browser in ant devmode but the browser app fails to include any 
>>>> actual 
>>>> UI widgets.
>>>>
>>>> Look, I appreciate the pointers to GWT resources. But I've spent hours 
>>>> and weeks using them only to find they're all obsolete and broken. Is 
>>>> there 
>>>> any GWT / Endpoints example project that is actually known to work 
>>>> recently? Or is GWT with Endpoints just not used anymore, so any resources 
>>>> are all ruined by bitrot and there's no point trying to use them anymore.
>>>>
>>>> On Friday, January 6, 2017 at 12:00:29 PM UTC-5, George (Cloud Platform 
>>>> Support) wrote:
>>>>>
>>>>> You may consider starting with a simple GWT tutorial 
>>>>> <https://github.com/googlearchive/appengine-gwtguestbook-namespaces-java>,
>>>>>  
>>>>> then add features gradually. 
>>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "Google App Engine" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to google-appengi...@googlegroups.com.
>>>> To post to this group, send email to google-a...@googlegroups.com.
>>>> Visit this group at https://groups.google.com/group/google-appengine.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/google-appengine/73e17ccc-a1ad-426d-8826-0a2ba5d623a8%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/google-appengine/73e17ccc-a1ad-426d-8826-0a2ba5d623a8%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/759ea581-223d-41df-90e0-68d293365744%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to