Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User gary.barrett's Avatar
    Join Date
    Sep 2012
    Posts
    1
    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
    Nokia Developer Moderator petrib's Avatar
    Join Date
    Mar 2003
    Posts
    9,415
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved