calling gwt from external client
My use case is: I have a gwt application with a mysql db and UI that preforms crud ops on some simple domain objects. One domain object is called a task, it represents some work that is executed by the gwt application. The gwt application will check the db periodically for tasks and run them. Tasks can be entered by users via the UI, but I also want to support Task creation from outside of the application by another program, curl, wget, etc. How can I achieve this with GWT? thanks in advance! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
RPC from external client
I'd like to understand if or how GWT accepts external RPCs. I'm designing a GWT app right now and I'd like the ability to call the GWT app from another application using HTTP. I want GWT to support CRUD operations for my DB and then return an HTTP response. So in essence I want the GWT app to support live users via the UI and a web API (REST, perhaps). Does GWT support this out of the box or is there a 3rd party library that's worthy? thanks in advance! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RPC from external client
thank you for the answer and link! On Jul 21, 4:33 pm, David Chandler drfibona...@google.com wrote: GWT-RPC no, RequestFactory yes. GWT-RPC services work only with a GWT client, but the newer RequestFactory has been designed to support other clients such as Android. You need requestfactory-client.jar (from the GWT distro) on your classpath. See this presentation from this year's I/O:http://www.google.com/events/io/2011/sessions/android-app-engine-a-de... If you just want a REST interface, however, you might want to look at resty-gwt on github, which makes it easy to consume REST services from a GWT client. /dmc On Thu, Jul 21, 2011 at 1:55 PM, fchas charlesford...@gmail.com wrote: I'd like to understand if or how GWT accepts external RPCs. I'm designing a GWT app right now and I'd like the ability to call the GWT app from another application using HTTP. I want GWT to support CRUD operations for my DB and then return an HTTP response. So in essence I want the GWT app to support live users via the UI and a web API (REST, perhaps). Does GWT support this out of the box or is there a 3rd party library that's worthy? thanks in advance! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-web-toolkit?hl=en. -- David Chandler Developer Programs Engineer, GWT+GAE w:http://code.google.com/ b:http://turbomanage.wordpress.com/ b:http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: rpc with multiple data objects
thank you! On Jul 14, 12:20 pm, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Check this threadhttp://groups.google.com/group/google-web-toolkit/browse_thread/threa Hope helps 2011/7/14 fchas charlesford...@gmail.com my I'm writing a mysql persisted gwt app and I have several data objects that I want shared to the UI for crud operations but I'm confused about how to represent the objects in the service. the online examples use one data object and I don't know how to map multiple objects in the service. do I need one service and servlet mapping per object or is there a better way? i'm new to java servlets so please pardon my complete ignorance. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
rpc with multiple data objects
my I'm writing a mysql persisted gwt app and I have several data objects that I want shared to the UI for crud operations but I'm confused about how to represent the objects in the service. the online examples use one data object and I don't know how to map multiple objects in the service. do I need one service and servlet mapping per object or is there a better way? i'm new to java servlets so please pardon my complete ignorance. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.