FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

GWT RPC Netbeans sample app outside Netbeans

 
Post new topic   Reply to topic    NetBeans Forums -> Ajax Users
View previous topic :: View next topic  
Author Message
neilsands



Joined: 06 Jul 2009
Posts: 1

PostPosted: Mon Jul 06, 2009 8:46 pm    Post subject: GWT RPC Netbeans sample app outside Netbeans Reply with quote

Hello

I'm new to GWT & to serverside programming, but not to Java desktop apps.

I've been able to run the Netbeans sample GWT RPC app (the one that returns 'server says '+String when you type String into the box), and it works fine within Netbeans.

But, I've not been able to upload it to my webspace and have it run there successfully. When I try, the clientside stuff works ok, but the attempt to communicate with the server gives me 'Communication failed', which comes from the onFailure class within the AsyncCallback object in the GWTServiceUsageExample() class which Netbeans produces itself.

I've copied the contents of the build/web/ node of the files list to the webserver.

I really hope someone can help. If I can't even get the trivial sample app going, I won't be able to go much further!

Thanks all. Let me know if I need to give more info.

Neil
Back to top
View user's profile Send private message Send e-mail
kb9agt



Joined: 06 Nov 2008
Posts: 42

PostPosted: Wed Aug 12, 2009 4:39 pm    Post subject: re:RPC Failure Reply with quote

There are two ways to communicate with the server.
Try looking at this web page:
http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideHttp Idea
I'm just now learning also and am trying to get these samples to work just in NetBeans:
http://www.javapassion.com/ajaxcodecamp/#Google_Web_Toolkit_GWT
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Ajax Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB