Page 1 of 2 12 LastLast
Results 1 to 20 of 34
  1. #1
    pawankumarom is offline Member
    Join Date
    Feb 2008
    Posts
    22
    Rep Power
    0

    Default I am working on java!

    In java programing language which data base is comfortable to use .

    Is this possible to make a program where we can change online in our java application?

    For example I have a web site which made in (JSP) then i want to insert

    on line data . Like a contact us form! And other form where visitor can fill form

    and i can get that data in our data base?

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    For Java I recommended oracle database. Easy to use as well as have more useful features.

    You can write any interactive applications using JSP as well.

  3. #3
    serjant's Avatar
    serjant is offline Senior Member
    Join Date
    Jun 2008
    Location
    Ukraine,Zaporozhye
    Posts
    487
    Rep Power
    6

    Default

    As for me ,i use HSQLDB

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

  5. #5
    serjant's Avatar
    serjant is offline Senior Member
    Join Date
    Jun 2008
    Location
    Ukraine,Zaporozhye
    Posts
    487
    Rep Power
    6

    Thumbs up

    HSQLDB is the leading SQL relational database engine written in Java.So it has a JDBC Driver,so i use there JDBC driver

  6. #6
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

  7. #7
    serjant's Avatar
    serjant is offline Senior Member
    Join Date
    Jun 2008
    Location
    Ukraine,Zaporozhye
    Posts
    487
    Rep Power
    6

    Default

    For me it is better to use HSQLDB,because i use Linux,and almost nothing is needed to be configured with HSQLDB,and in case of PostgreSQL or MySQL better to use this stuff in Windows and not to break the head in order to configure those ones in Linux.
    Hsqldb is easy to use,i open a new project in NetBeans or Eclipse and than import hsqldb.jar file to the project,which contains all needed data base libraries.But in that case your jar,or war or so on files will have bigger size )))))).But I like HSQLDB.
    One year ago,i just wondered how to work with data base in java if you work with linux,so i have read "Java 6 ,Java ist auch eine Insel " book and there was an alternative solution for working with Data base in Java for linux users.
    Last edited by serjant; 09-14-2008 at 06:02 PM.

  8. #8
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Ok pal. Thanks for the comment on my question. I've mostly familiar with oracle, it's really nice to me. Never use any other database application with Java.

  9. #9
    pawankumarom is offline Member
    Join Date
    Feb 2008
    Posts
    22
    Rep Power
    0

    Default Java Database

    Thanks to all who's reply.

    May i know that HSQLDB stand for ?

    Is Mysql also use able with java.

  10. #10
    daGame is offline Member
    Join Date
    May 2008
    Posts
    24
    Rep Power
    0

    Default

    Quote Originally Posted by pawankumarom View Post
    In java programing language which data base is comfortable to use .

    Is this possible to make a program where we can change online in our java application?

    For example I have a web site which made in (JSP) then i want to insert

    on line data . Like a contact us form! And other form where visitor can fill form

    and i can get that data in our data base?
    Choosing a database usually depends upon the requirement of your application. For smaller web applications i normally use mysql(free) and for heavier applications i normally use IBM's db2(not free). In your case for simple form login you can use any lightweight db like mysql, postgreSQL(i've heard some good things about this db) or the other's mentioned in your thread, i dont think oracle fits here though simply because that will be something like using a heavy duty truck for a carrying couple of bags of sand.

  11. #11
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Quote Originally Posted by pawankumarom View Post
    Thanks to all who's reply.

    May i know that HSQLDB stand for ?

    Is Mysql also use able with java.
    I think it's stand for Hypersonic SQL DataBase.

  12. #12
    serjant's Avatar
    serjant is offline Senior Member
    Join Date
    Jun 2008
    Location
    Ukraine,Zaporozhye
    Posts
    487
    Rep Power
    6

    Default

    Quote Originally Posted by Eranga View Post
    I think it's stand for Hypersonic SQL DataBase.
    Yes you are right Eranga.

    Hypersonic SQL shines for standalone or desktop applications where its small size makes the difference. Furthermore, since it implements the JDBC interface, it provides some compatibility with existing code.
    Don't throw away your Oracle, DB2, Sybase, or SQL Server, however. For all its qualities, Hypersonic SQL is not multithreaded so it is not appropriate for server-side developments. Also, it is limited to a subset of SQL (most notably, no foreign keys). Perhaps more significantly, it lacks the backup and management tools required for mission-critical applications.
    To summarize, Hypersonic SQL is well adapted for standalone desktop applications written in Java. It is also useful for testing and prototyping.

  13. #13
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

  14. #14
    serjant's Avatar
    serjant is offline Senior Member
    Join Date
    Jun 2008
    Location
    Ukraine,Zaporozhye
    Posts
    487
    Rep Power
    6

    Wink

    Quote Originally Posted by Eranga View Post
    I don't know much about HSQLDB. ;) But I love oracle. Specially for 10g.
    I would like to try to work with oracle in Linux.I need to find some spare time to start with and explore.

  15. #15
    pawankumarom is offline Member
    Join Date
    Feb 2008
    Posts
    22
    Rep Power
    0

    Default JDBC And ODBC

    Could tell more about JDBC And ODBC.

  16. #16
    nishant is offline Member
    Join Date
    Sep 2008
    Posts
    21
    Rep Power
    0

    Default

    hi.... as u r new to java right?, the oracle would be the best option for u. instead of using 10g, u should first familiar with the 9i, i think this will definatly help u while connecting to java program.....thanx
    Last edited by nishant; 09-15-2008 at 03:20 PM.

  17. #17
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Quote Originally Posted by pawankumarom View Post
    Could tell more about JDBC And ODBC.
    Did you search on Google? There are thousand of resources available for this, because explaining such a massive topic in a forum is not an easy task,

    This may be helpful to you.

  18. #18
    rajjan4u is offline Member
    Join Date
    Sep 2008
    Posts
    2
    Rep Power
    0

    Default

    i will recommend Oracle for java.

  19. #19
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Quote Originally Posted by rajjan4u View Post
    i will recommend Oracle for java.
    Which version you use? Any comments...

  20. #20
    fishtoprecords's Avatar
    fishtoprecords is offline Senior Member
    Join Date
    Jun 2008
    Posts
    571
    Rep Power
    6

    Default

    Quote Originally Posted by Eranga View Post
    I love oracle.
    That's OK, my hatred for Oracle can ensure balance in the universe.

    I've been using MySql with Java since last century. Works well, Price is right (free).

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 07-15-2008, 12:51 PM
  2. Replies: 8
    Last Post: 05-28-2008, 07:00 AM
  3. calculator not working
    By Renegade85 in forum New To Java
    Replies: 5
    Last Post: 03-10-2008, 03:27 PM
  4. working with mp3 in java
    By po0oker in forum Advanced Java
    Replies: 1
    Last Post: 10-30-2007, 08:20 PM
  5. Working With ANT
    By JavaForums in forum Eclipse
    Replies: 0
    Last Post: 04-26-2007, 08:16 PM

Posting Permissions

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