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.


>> REGISTER NOW TO START POSTING


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

Results 1 to 3 of 3

Thread: Database Question. Don't want to use localhost or hosting, anyother option?

  1. #1
    Junior Member
    Join Date
    May 2012
    Posts
    28
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default Database Question. Don't want to use localhost or hosting, anyother option?

    Hi, i have just started learning database. But what i m learning is executing queries through localhost, or any hosting. for that my client has to install wamp/xamp etc.

    Is there anyway else, like having a database in the same folder. and with only one .exe file it stores data in it etc.??


  2. #2
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,896
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: Database Question. Don't want to use localhost or hosting, anyother option?

    I'm not sure I understand what you want. You want a database that's not being hosted by your local client machine and also not being hosted by a network machine? Such a system exists since a database has to be somewhere, either on your machine or elsewhere.

    .exe files shouldn't be used to store application/database data. They are used to store data and instructions for how the application should work, but the user data should be found elsewhere.

  3. #3
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,358
    Thanks
    182
    Thanked 834 Times in 777 Posts
    Blog Entries
    5

    Default Re: Database Question. Don't want to use localhost or hosting, anyother option?

    If you want data to be shared across instances, you're best bet is having a centralized database and/or application server. If you do not need to share between instances, look at using an embedded database, Apache Derby being the first that comes to mind.

Similar Threads

  1. Suggestion for web hosting
    By nambill in forum Totally Off Topic
    Replies: 6
    Last Post: November 14th, 2011, 03:56 AM
  2. Help on java server hosting
    By xivshin in forum Java Networking
    Replies: 2
    Last Post: May 13th, 2011, 07:30 AM
  3. [Y/N] Option
    By OOO in forum What's Wrong With My Code?
    Replies: 4
    Last Post: March 25th, 2011, 11:19 PM
  4. Buffered Reader to J Option
    By jk_0821 in forum Collections and Generics
    Replies: 13
    Last Post: July 19th, 2010, 04:14 PM
  5. Is thread the best option?
    By 256mxr in forum Threads
    Replies: 1
    Last Post: May 22nd, 2010, 09:24 PM