Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Is GWT compatible with JDK version higher than 1.5

 
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it true that GWT does not support features of Java 1.5 or higher like generics etc... is there any new version that is compatible with JDK 1.5 or higher.
 
shukla raghav
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I also wanted to know about the performance of GWT as compared against DOJO (AJAX). Actually my application is on Struts 2.1 so DOJO is by default included with the Struts 2.x library. But then i wanted to make a comparison as i have known people using GWT with Struts 2.x
 
Bartender
Posts: 11445
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

shukla raghav wrote:Is it true that GWT does not support features of Java 1.5 or higher like generics etc... is there any new version that is compatible with JDK 1.5 or higher.



I am currently using GWT2.0 along with JDK1.6 and I have successfully used generics on the client side. In fact, if you are using the eclipse plugin and let it generate your xxxAsync class, it will use generics.
e.g.
where User is the POJO being returned from the server side
 
A magnificient life is loaded with tough challenges. En garde tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic