×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Sep 2012
    Posts
    1

    Post How can J2ME on a Series 40 device connect to SQL Server? Via a WCF service?

    I am developing a J2ME app for a Nokia Series 40 device. I wish to connect to a SQL Server to read and write small amounts of data.
    1. Can this connection be done via a WCF service?
    2. If Yes, is there a sample or guide anywhere?
    3. If No, what the recommended alternative architecture to connect to SQL Server?

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,553

    Re: How can J2ME on a Series 40 device connect to SQL Server? Via a WCF service?

    Use HTTP requests with XML or JSON data (for security reasons, you wouldn't want to send actual SQL requests for the server to execute), and write also the server-side app to process the HTTP requests, access the database and return the results. That way, you also isolate the client app and the "wire protocol" from the backend database implementation.

Similar Threads

  1. Bluetooth SPP service server in J2ME
    By fengtso in forum Mobile Java Networking & Messaging & Security
    Replies: 9
    Last Post: 2011-02-25, 11:25
  2. J2ME on SIP server for voip service
    By LeloTheGreat in forum Mobile Java General
    Replies: 3
    Last Post: 2010-08-30, 16:53
  3. how to connect a server from device?
    By yatibawri in forum Mobile Java General
    Replies: 2
    Last Post: 2009-12-10, 12:11
  4. Bluetooth Service Discovery on a Client/Server device
    By narseo in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2009-07-10, 15:05

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×