I want to add a simple jquery function to Gwt using jsni. But am not getiing the functionality. Does Gwt support Jquery or I had to go for GWTQuery. Thanks in advance.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
GWT is Java, which is cross compiled to JavaScript. This means that all your application development is done in Java. jQuery is a JavaScript library and calling JavaScript methods with GWT isn’t that easy (Of course you can JSNI but still…)
That’s why they made GwtQuery!
I’m using GwtQuery in my project and must say it’s really easy to use and you can make all nice effects from jQuery with it.
Google mentioned GwtQuery explicitly at their I/O conference (check it out here).
All in all , if you are using Gwt you can use GwtQuery to access all functions from jQuery