Wednesday, January 28, 2015

Re: Newbie in GWT. The best way to solve my problem

GWT is a client-side technology; so if you're using JS and jQuery in the browser, then you're not doing GWT.
You could use GQuery though, and then possibly use GWT-RPC to communicate with your Java server.

On Wednesday, January 28, 2015 at 1:50:20 PM UTC+1, Laurynas Peciukaitis wrote:
Hello, 
im new in GWT developing. I have a task, and i don't know the right way to do this. Here is my task :
my goal:
all i need to do for now is to create GWT application project with the index.html page i already have. My goal is to communicate using ajax from the elements (which were already written in index.html page) with GWT project which will handle all database methods

what is the best way to do this ? 
 I was  thinking about getting data i need from index.html page using JavaScript and jQuery and send AJAX posts to a Servlet class which extends HttpServlet in my GWT project, but is that a really good idea ?




--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment