On Monday, June 11, 2012 4:15:04 AM UTC-4, Thomas Broyer wrote:
>
> Er, I'm puzzled. If you use Dev Mode's embedded server to serve your data, 
> then you don't hit the SOP, right? and thus you don't need CORS? Or have I 
> missed something obvious?
>

Not quite, dev mode's server feeds the application but the data comes from 
somewhere else.  (It's actually a jersey-guice servlet on my EC2 instance - 
first year free!)  I want to be able to test the application locally, but 
using remote data.

Ultimately, one of the things I was trying to determine is whether or not 
it makes sense to use the same "get data" approach for all cases.  So, for 
now, I ended up using JSONP for everything.  I don't particularly feel 
that's ideal, though.  Adding a servlet filter to add the header sounds 
easy, though.  I'll try that and see how it works out.




-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/GpSP3oCQoS0J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to