I've built an app that is using ExtJS that connects through Ajax requests to a Jersey RESTful service. All is working well in this app but now I want to port it to ExtGWT.
Since ExtGWT already has the RPC servlets to handle the client-server communication, where can Jersey fit in this scenario? Should I not use it anymore and instead connect from GWT's servlets directly to the service methods?
In case I'd like to use Jersey, is there any way to have same support for serialization / deserialization as with GWT's RPC? - I assume I shouldn't use GWT's RPC anymore in this scenario.
I'd prefer Jersey because it has REST-based implementation while GWT's RPC I guess doesn't. In future I also plan to access Jersey's RESTful services from Android/iOS apps and GWT's RPC wouldn't fit very well in this scenario.
Thanks!