• 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
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

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
18
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
 
Attractive, successful people love this tiny ad:
create, convert, edit or print DOC and DOCX in Java
https://products.aspose.com/words/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!