RESTEasy JAX-RS login web service and Android client
Keywords:
restful web service, mobile device, securityAbstract
In this paper, the steps made to send requests and receive responses between an Android client application and a RESTEasy JAX-RS2 login web service which is hosted on the JBoss application server are presented. Simple architecture for an enterprise application is used and an authentication mechanism is demonstrated. The client application (installed on an Android device) sends messages to the RESTful web service. The web service verifies the parameters against the database and prepares the response. The client application retrieves the response and performs the login or shows the failure message. The RESTful web service is deployed on the JBoss application server. The parameters and results exchanged between client and server applications are wrapped into JSON3 telegrams.