GWT + Javascript Libraries

30 views
Skip to first unread message

Tom Carchrae

unread,
Jul 23, 2011, 11:43:10 AM7/23/11
to google-we...@googlegroups.com
Hi All,

I get the impression (and please correct me if I'm wrong) that most GWT developers live in a pure Java (compiled in JS) world.  Am I wrong?  Do you mix GWT with other Javascript libraries (eg. http://makeawesomeweb.com/?cat=13 )

I wonder if there are any groups or other resources for developers that want to develop in both GWT and JS.  While I love GWT, I really want to take advantage of some of the amazing JS libraries that are out there.  I know there are various ways to integrate and expose API points (GWT -> JS, or visaversa), but I am yet to see any great resources from people doing this in practice (I have read the GWT doc pages, and seen some GWT libraries that make exposing GWT API to native JS easier).

Why don't I jump to pure JS?  I really like the ability to develop my core logic code in Java.  

Any pointers to resources on people combining JS + GWT would be very much appreciated as are experiences and opinions ("you're mad", "I do it all the time", "I tried it and got burnt", "why?")

Tom

KD

unread,
Jul 25, 2011, 2:21:01 PM7/25/11
to Google Web Toolkit
It totally makes sense to use other libraries (with JSNI approach) to
do something that GWT does not offer out of the box (yet i.e.)
The problem is making a wrapper that is agnostic to the JS library
version and making sure you are not writing your own (pure or not)
javascript that is not cross-browser OK.

-KD
Reply all
Reply to author
Forward
0 new messages