Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
jdbc -> mysql
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
dr123  
View profile  
 More options Feb 22 2008, 1:48 pm
From: dr123 <hserver...@gmail.com>
Date: Fri, 22 Feb 2008 10:48:07 -0800 (PST)
Local: Fri, Feb 22 2008 1:48 pm
Subject: jdbc -> mysql
Hi,

Can I connect to a mysql database over the internet? I need to pack
the driver with my program or can I just use it with eclipse
preferences ?

Is this possible or you cannot add a driver to your distribution of an
android project?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Charlie Collins  
View profile  
 More options Feb 22 2008, 2:03 pm
From: Charlie Collins <charlie.coll...@gmail.com>
Date: Fri, 22 Feb 2008 11:03:13 -0800 (PST)
Local: Fri, Feb 22 2008 2:03 pm
Subject: Re: jdbc -> mysql
You would not typically want to connect directly to a database over
the web on your mobile device, bad idea (for a host of reasons).
Instead you might look at creating an interface for whatever data it
is you want to access and exposing it as a service (SOAP, REST,
anything else).  Then you can use a variety of plain Java APIs to get/
put/update/delete/whatever your data.

What you want is more like the Google Data APIs, for your own stuff,
rather than trying to include all sorts of JDBC overhead on a phone
(keep all of that on the server, and use it like you normally would).

On Feb 22, 1:48 pm, dr123 <hserver...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
dr123  
View profile  
 More options Feb 22 2008, 2:54 pm
From: dr123 <hserver...@gmail.com>
Date: Fri, 22 Feb 2008 11:54:43 -0800 (PST)
Local: Fri, Feb 22 2008 2:54 pm
Subject: Re: jdbc -> mysql

Basically I want a central db over the net so as to send and retrieve
data from all the participant's mobile phones every 5 mins or so.
Is this viable? Will the mobiles phones be connected constantly to the
net?
Why would you recommend not using Mysql and say soap is better? Isn't
it the same thing?

Please help cause this is a very big decision for my app and I intend
to submit it for the challenge.

thanks in advance, aris


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Charlie Collins  
View profile  
 More options Feb 23 2008, 10:25 am
From: Charlie Collins <charlie.coll...@gmail.com>
Date: Sat, 23 Feb 2008 07:25:17 -0800 (PST)
Local: Sat, Feb 23 2008 10:25 am
Subject: Re: jdbc -> mysql
I am not saying don't use MySQL.  I am saying don't do JDBC directly
from the phone, regardless of what you use to persist data.

Expose your model layer (your data and logic) as a set of services, on
a server, over HTTP, and connect to THAT from the phone using the
phones HTTP support - no need to have a JDBC driver, or any other such
overhead (or be that tightly coupled to the DB), actually ON the
phone.

You certainly can do a central DB (or other data store) that a group
of phones all running the same app have access to, many Android apps
do this, but they don't connect directly to the DB.  Use the Android
DB on the phone for SQLLite to store data local to the phone, if you
already have a server anyway, for your central (not local) DB, then
make a service layer there.

(REST is easier than SOAP, and you can use something altogether
different also, I was just trying to illustrate that concept of using
a service layer.)

On Feb 22, 2:54 pm, dr123 <hserver...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
dr123  
View profile  
 More options Feb 24 2008, 1:50 pm
From: dr123 <hserver...@gmail.com>
Date: Sun, 24 Feb 2008 10:50:59 -0800 (PST)
Local: Sun, Feb 24 2008 1:50 pm
Subject: Re: jdbc -> mysql
thanks, i'll try to do this with ksoap2

On 23 Φεβ, 17:25, Charlie Collins <charlie.coll...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »