Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Application with webservice

  1. #1
    Junior Member
    Join Date
    Oct 2013
    Thanked 0 Times in 0 Posts

    Default Application with webservice

    Can anybody help me to solve the problem below.
    I have developed one application.But i need to collect information from the database through this application.I developed an Android application.I have an activity in the application which queries information from the database.I have this database in another server .How can i connect this database with my application.Which all setup i should do in Eclipse IDE ?

  2. #2
    Forum VIP
    Join Date
    Jun 2011
    My Mood
    Thanked 89 Times in 74 Posts
    Blog Entries

    Default Re: Application with webservice

    You don't connect directly to a database on a server. Instead you should send a POST/GET http requests.

    ASP.NET and PHP are popular choices for the server side. Personally, I like to use PHP and receive JSON results if I just need some simple data from an online database because it's easy to set up a development environment with Xammp and JSON is a real pleasure to work with.

Similar Threads

  1. webservice
    By prabhat11 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: May 27th, 2013, 08:19 AM
  2. Replies: 0
    Last Post: September 21st, 2012, 11:11 AM
  3. Runnable to WebService
    By fran_jo in forum Threads
    Replies: 1
    Last Post: April 12th, 2011, 04:12 PM
  4. webservice connectivity?????
    By rachana in forum Java ME (Mobile Edition)
    Replies: 0
    Last Post: February 3rd, 2011, 08:52 AM