Results 1 to 3 of 3
  1. #1
    bigjo is offline Member
    Join Date
    Jul 2011
    Posts
    27
    Rep Power
    0

    Default using a database of my website for my java application

    Hi,

    I am new in java. I use java 1.5. I have made a game with a high-score.

    In my previous live I made websites in php with a mysql database. I have still some servers where some of my websites are running. Because I have a lot of place on this server and I can make a lot of database on one server, I tought I will link the hight score of my game in java with one of this databases on a server.

    My java game is installed localy on my computer and it works to make the link to the database, but the problem is that I always have to give the IP adress of the computer who want to play the game with the link to the database. Because the IP address of my computer always change, I have to give the new IP address everyday. That is not what I wanted. How can I make my game work without having to give the IP address? I heard something about apache, but I don't know what it is.

    I also thought maybe make a jar of my java game and place it in the ftp of the server, but the link to the database doesn't work.

  2. #2
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,642
    Rep Power
    7

    Default Re: using a database of my website for my java application

    Get a server that does not have a floating IP address. You can cheaply purchase shared server space with a MySQL instance from many different hosting companies.

  3. #3
    bigjo is offline Member
    Join Date
    Jul 2011
    Posts
    27
    Rep Power
    0

    Default Re: using a database of my website for my java application

    Quote Originally Posted by doWhile View Post
    Get a server that does not have a floating IP address. You can cheaply purchase shared server space with a MySQL instance from many different hosting companies.
    can you recommand some of those hosting companies?

Similar Threads

  1. Replies: 1
    Last Post: 10-03-2011, 10:23 AM
  2. java,jsp code to create a website statistics application
    By g.shashikala in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 08-15-2009, 05:00 PM
  3. Restoring database through java application..?
    By prabhurangan in forum New To Java
    Replies: 6
    Last Post: 11-11-2008, 02:06 PM
  4. Replies: 3
    Last Post: 09-18-2008, 03:07 PM

Tags for this Thread

Posting Permissions

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