• Post Reply Bookmark Topic Watch Topic
  • New Topic

REST services and GWT together

 
james frain
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a GWT app which works fine and presents a GUI i developed with GWT on a static html page. url = /app/LoginPage.html
Now, I want to have some REST services available, I have edited the web.ml as follows

Very basic login REST service which I want to call from the JavaScript running on LoginPage.html

However, nothing is happening at the backend, my Resource never gets created, indeed MainRestletRouter
never gets instantiated.
Any idea what I might be doing wrong. I have seen this in a few plces on the net but no one has ever given a full explanation as to how they fixed it if they did.

I run my app inside eclipse, in development mode on the Jetty server supplied with GWT plugin
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!