-
Nov 6th, 2010, 07:14 PM
#1
Roo + GWT: adding and calling a RPC RemoteServiceServlet
Just wondering if anyone has had any luck creating and then calling a RPC RemoteServiceServlet within their Roo project? I think I have some type of configuration issue as I'm getting a 404 not found error, and it doesn't look like my RemoteServiceServlet code is being built into the target area in my workspace.
Any ideas?
Thanks!
-
Nov 23rd, 2010, 01:58 PM
#2
dbecton,
Linked is an example of a GWT RPC service (and call) embedded in the Expenses app that Roo generates.
http://www.box.net/shared/4z6nc3gzta
The key changes are:
- Adding the client-side RemoteService (and the Async version)
- Adding the server-side RemoteServiceServlet impl
- Updating the app's web.xml to reflect the new servlet
Google, Inc.
GWT Team
-
Nov 23rd, 2010, 06:06 PM
#3
-
Jan 26th, 2011, 07:26 AM
#4
Roo + GWT: adding and calling a RPC RemoteServiceServlet
I'm trying to do the same with a project built from a Roo script.
Unfortunately I can't make it work due to a 404 error. I understand that I have a problem with my settings since the war directory targets src/main/webapp when the application is built in target/MyApp-0.1.0.BUILD-SNAPSHOT.
Could it be the reason of this 404 ?
any clue on the way to fix it?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules