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 8 of 8

Thread: database for use in java

  1. #1
    Junior Member
    Join Date
    Aug 2011
    Posts
    8
    My Mood
    Devilish
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default database for use in java

    hey guys which database is most suitable for use with java language....
    Oracle
    MYsql
    JDBC


  2. #2
    Super Moderator Sean4u's Avatar
    Join Date
    Jul 2011
    Location
    Tavistock, UK
    Posts
    637
    Thanks
    5
    Thanked 103 Times in 93 Posts

    Default Re: database for use in java

    One of those is not a database. Of the other two, I don't think Java has anything to do with why you would choose one over the other.

  3. #3
    Junior Member
    Join Date
    Aug 2011
    Posts
    8
    My Mood
    Devilish
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: database for use in java

    i need to use a database for an inventory management software..which one should i use....just a simple question....ignore my first post..thanks

  4. #4
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 287 Times in 225 Posts
    Blog Entries
    4

    Default Re: database for use in java

    Where will the database be hosted?

    Please see - Trail: JDBC(TM) Database Access (The Java™ Tutorials)
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

    Looking for a Java job? Visit - Java Programming Careers

  5. #5
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,237
    Thanks
    176
    Thanked 817 Times in 760 Posts
    Blog Entries
    5

    Default Re: database for use in java

    Asking which to use is like asking how one likes there coffee...its a matter of taste, what you want from the system, what you have and what your requirements are. Each one will have certain advantages over the other ranging from usability to availability. Of the two you mentioned, something to consider is that for commercial use I believe Oracle requires the purchase of a license, whereas MySQL is free (and also provided pre-installed on many hosting services as well as operating systems). There are other differences as well, but these involve more advanced concepts that I won't go into
    Last edited by copeg; September 22nd, 2011 at 10:15 AM.

  6. #6
    Junior Member
    Join Date
    Aug 2011
    Posts
    8
    My Mood
    Devilish
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: database for use in java

    so regardless of the database (mysql or oracle) i have to connect my java application to the database throught JDBC commands..right.....

  7. #7
    Junior Member shia's Avatar
    Join Date
    Sep 2011
    Location
    Manchester, UK
    Posts
    19
    My Mood
    Nerdy
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Default Re: database for use in java

    Quote Originally Posted by umerahmad View Post
    i need to use a database for an inventory management software..which one should i use....just a simple question....ignore my first post..thanks
    Can you afford Oracle? If not go with MySQL or Postgres or DB4O etc.

  8. #8
    Junior Member
    Join Date
    Feb 2011
    Location
    Polonnaruwa
    Posts
    6
    My Mood
    Cheerful
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: database for use in java

    is You Application is a Web App or Standalone,

Similar Threads

  1. Java Barcode Program with Oracle database
    By techsing14 in forum JavaServer Pages: JSP & JSTL
    Replies: 3
    Last Post: December 6th, 2012, 04:19 AM
  2. java database
    By ronaldguilmet in forum JDBC & Databases
    Replies: 7
    Last Post: November 4th, 2011, 11:37 AM
  3. How to tranfer contents from Database onto the web using Java
    By abhiM in forum Java Theory & Questions
    Replies: 4
    Last Post: August 5th, 2011, 09:42 AM
  4. [SOLVED] Java app with Netbeans and Derby database
    By Kakashi in forum JDBC & Databases
    Replies: 3
    Last Post: March 17th, 2011, 02:35 PM
  5. connect java to a database
    By ridg18 in forum JDBC & Databases
    Replies: 1
    Last Post: December 25th, 2010, 10:28 AM