Win a copy of Hands On Software Engineering with Python this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

new in j2me  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
though the questions has been repeated severally,I don't feel ashamed to ask it again because I did not get the answer right,how do I connect a j2me mobile app to mysql
 
Saloon Keeper
Posts: 5125
135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
seba ann
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!