Is there a tool to convert javascript to java, so I can handle the project using GWT?
update
For those who don’t know, GWT (Google Web Toolkit) is a toolkit to write Java and get Javascript, so my question.
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.
What exactly do you have in mind? If you’re looking for some sort of automatic tool, that generates GWT Java code from Javascript, then I’m afraid there’s no such thing.
You can (and should) use JavaScript Native Interface (JSNI), probably in combination with JavaScript Overlay Types (JSO) to wrap your existing Javascript code, so that it’s possible to interface with it from GWT’s Java code. See the Getting to really know GWT, Part 1: JSNI (and Part 2) post on GWT’s offcial blog for some pointers and use cases.