Tu utilise du RPC et tu veux accéder au service coté serveur via une appli mobile, c'est ça la question ?
il y a une solution, c'est mettre ton service dans le web.xml:
https://developers.google.com/web-to...t/tutorial/RPC
regarde la partie
1 2 3 4 5 6 7 8 9 10
| <!-- Servlets -->
<servlet>
<servlet-name>stockPriceServiceImpl</servlet-name>
<servlet-class>com.google.gwt.sample.stockwatcher.server.StockPriceServiceImpl</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>stockPriceServiceImpl</servlet-name>
<url-pattern>/stockwatcher/stockPrices</url-pattern>
</servlet-mapping> |
Ensuite tu appelles ton service de cette manière
http://localhost:8888/stockwatcher/stockPrices
Partager