Assuming you're talking about connecting via a mobile connection rather than WiFi, the usual approach is to build a gateway that the device can access via HTTPS. The gateway would in turn talk to the DB via its native protocol.
I'll just mention in passing that J2ME is quite dead, and its later versions (JME 8, I believe it's called) is not used for phones, so I would advise not to use it for any new projects due to obsolescence.
posted 2 years ago
thanks Tim,I like the update.I never knew it that way!
Well don't expect me to do the dishes! This ad has been cleaned for your convenience:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database