android - How to publish a java web-service publicly? -


In my Java based web application, (struts 2 and hibernate 3) . I have made an web-service using the apache axis.

The web service must return data from the database which will be used by the android application.

Now, that service must be clearly published on public IP so that I can access it in the Android app.

  1. What are the options for publishing it on a free public IP or domain?
  2. Would it be better if I use REST instead of Apache-axis to create a web service? What is JAX?
  3. And for Android developers, How is the Web service used in Android?

    Please give it the necessary and important answers.

    Publish on the web that you need to put it on a web enabled server, You can:

    1. (thuis is an article, just search in google "How to turn my computer on a web server").
    2. Upload your files to a free host
    3. Upload your files to a paid host (usually for very small fees)

      Rest Vs Soap (Apache-Axis):

      I recommend going with the rest because it is more light and more flexible (this enables you to get feedback as SML, Jason, HTML Whereas soap usually happens just XML).

      Creating RES Web Services for RAS ID Java API

      There is a way to send / receive data from asynchronous data and it is widely used in web application.

      How web services can be used on Android, depending on the technology you may be using.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -