struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Benedict <>
Subject Re: Data Transfer Between Android and MySQL
Date Wed, 02 Mar 2016 19:40:40 GMT
Android is a remote client, and a web service is the common solution to
transfer data back to the host.

You are free to use whatever technology you want to implement the web
service. You have (1) message standard and (2) technology standard to
consider. The first are things like XML, SOAP, JSON, etc. The second are
products like Axis, Struts 2, JAX-WS, JAX-RS, etc. As David said, there are
no "best" answers in general; it's based on the best fit of your


On Wed, Mar 2, 2016 at 1:29 PM, Paul Romero <> wrote:

> Dear Stuts Community:
> My general question is what is the best and most commonly deployed way
> to transfer data between a mobile Android based platform and a
> MySQL database on a Linux server ?  More specifically, is Struts a
> good choice or am I barking up the wrong tree ? Note that authentication
> and security are essential in my case and my Android platform
> uses SSL sockets for Internet connections. Also, it would be
> highly desirable to address the issue of binary data.
> It appears that the  RESTful/JSON framework is fairly common
> way to achieve the functionality I described but I am not really
> sure it is the best way and am certainly open to alternatives.
> The aforementioned framework requires a "web service" to be implemented
> on the Linux server. My understanding is that such a "web service"
> executes PHP code, embedded in HTML, to perform MySQL operations, and
> converts MySQL responses to JSON format.
> I presume the "web service" can be implemented as a stand-alone module or
> using Apache functionality.  (i.e. Examples are the Axis framework.) Is
> this correct and which option can best achieve the functionality I have
> described ?
> Are there widely deployed modules or software that have this functionality
> ?
> If not, what would be the easiest way to achieve this functionality ?
> Best Regards,
> Paul Romero
> --
> Paul Romero
> -----------
> RCOM Communications Software
> PHONE: (510)482-2769

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message