struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Romero <pa...@rcom-software.com>
Subject Re: Data Transfer Between Android and MySQL
Date Wed, 02 Mar 2016 20:07:54 GMT
Hi Paul:

One more important detail: The Android app. is not a browser.

Best Regards,

Paul R.


On 03/02/2016 11:40 AM, Paul Benedict wrote:
> 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
> requirements.
>
> Cheers,
> Paul
>
> On Wed, Mar 2, 2016 at 1:29 PM, Paul Romero <paulr@rcom-software.com> 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
>> EMAIL: paulr@rcom-software.com
>> PHONE: (510)482-2769
>>
>>
>>
>>
>>

-- 


Paul Romero
-----------
RCOM Communications Software
EMAIL: paulr@rcom-software.com
PHONE: (510)482-2769





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