Discussion Board

Results 1 to 9 of 9
  1. #1
    Regular Contributor kpvrlakshmi's Avatar
    Join Date
    Mar 2009
    Posts
    90
    Hi All,

    According to the requirement, main database is stored in server side and for each request suitable data is selected,
    converted to XML and sent to the client. Client has a module to parse the XML content and a module to display the
    displayable part of the XML files. In order to implement this one shall I need to use the Webservices API in J2ME.

    Thank You.

  2. #2
    Registered User bhanuchandar.k's Avatar
    Join Date
    Sep 2007
    Location
    Bangalore
    Posts
    868
    Hi,

    It is depends on how the server is implemented . if they are doing the web services you can use the web services , or Simple thing what you can do is open a http connection to the url and get the xml and parse using your module.

  3. #3
    Nokia Developer Champion raj_J2ME's Avatar
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,314
    Quote Originally Posted by kpvrlakshmi View Post
    Hi All,

    According to the requirement, main database is stored in server side and for each request suitable data is selected,
    converted to XML and sent to the client. Client has a module to parse the XML content and a module to display the
    displayable part of the XML files. In order to implement this one shall I need to use the Webservices API in J2ME.

    Thank You.
    1.Web service API
    2.Complete Server Side..
    3.XML Parser On the client end

    What are you planning to use?
    Either the High or Low Level API..?
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  4. #4
    Regular Contributor kpvrlakshmi's Avatar
    Join Date
    Mar 2009
    Posts
    90
    Hi,
    Now i'm able to parse the xml content from the server using the http connection,but I need to get the content from the database.

  5. #5
    Nokia Developer Champion raj_J2ME's Avatar
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,314
    Quote Originally Posted by kpvrlakshmi View Post
    Hi,
    Now i'm able to parse the xml content from the server using the http connection,but I need to get the content from the database.

    I guess you are using the XML in order to get the data only from the server, you must read the data from the server and add/represent the same in the form of the XML and send the same to the client.Parse this and use in the app.

    What are you sending in XML right now...blank XML?
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  6. #6
    Regular Contributor kpvrlakshmi's Avatar
    Join Date
    Mar 2009
    Posts
    90
    Hi Raj,
    I'm sending the xml file(with content),not the blank XML,for that manually I prepared the XML document,but we have the same content in database,I need to access that content.

  7. #7
    Nokia Developer Champion raj_J2ME's Avatar
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,314
    Quote Originally Posted by kpvrlakshmi View Post
    Hi Raj,
    I'm sending the xml file(with content),not the blank XML,for that manually I prepared the XML document,but we have the same content in database,I need to access that content.
    You can not directly access the data using the client from the server. you will call the server (A Gentle Request) to have that In turn the server will fetch the data from the DB and will give the same to you.

    BTW is that data is different from that you are fetching in XML?
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  8. #8
    Registered User bhanuchandar.k's Avatar
    Join Date
    Sep 2007
    Location
    Bangalore
    Posts
    868
    Hi ,

    What is your requirement ? why do you need database connection ?

  9. #9
    Registered User ektasrv's Avatar
    Join Date
    Oct 2009
    Location
    Noida
    Posts
    941
    I'm sending the xml file(with content),not the blank XML,for that manually I prepared the XML document,but we have the same content in database,I need to access that content.
    You cannot create the direct database connection using web services from the mobile client, thou can request for data to a Web services running on the server side to fetch the data based on your query from the database and send your mobile client on response.

    thanks,
    Ekta

Similar Threads

  1. J2ME IAP API
    By antonio5982 in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2008-10-10, 15:48
  2. SIP API - J2ME
    By venkatt_shankar in forum Mobile Java General
    Replies: 0
    Last Post: 2007-05-28, 07:37
  3. Available US Phones with J2ME Bluetooth API
    By rmontrose in forum Bluetooth Technology
    Replies: 1
    Last Post: 2004-03-01, 00:35
  4. J2ME API development.
    By chitturi in forum Mobile Java General
    Replies: 0
    Last Post: 2003-02-06, 18:54
  5. J2ME API development.
    By chitturi in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2003-02-06, 16:40

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