Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is GWT compatible with JDK version higher than 1.5

 
shukla raghav
Ranch Hand
Posts: 203
  • 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: 203
  • 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
 
Maneesh Godbole
Saloon Keeper
Posts: 11185
15
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic