Results 1 to 11 of 11
  1. #1
    lse123 is offline Senior Member
    Join Date
    Oct 2008
    Posts
    116
    Rep Power
    0

    Default Well is better use Access or MySQL with WIN (JAVA) APPS (desktop),cons and pros ?

    Access is for desktop or web Apps BUT MySQL is ONLY for web Apps ?
    May Java desktop Apps use MySQL...If yes, how much space take the database structure in the App, if for example data in database reach 1MB exactly...? I am beginner in binding DATABASES TO WIN (JAVA) APPS but I have practiced in web apps binding JSP/MYSQL....

    Well is better use Access or MySQL with WIN (JAVA) APPS (desktop), where find cons and pros ?

  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    7

    Default

    You can use MySQL in desktop applications as well.
    Where did you hear that MySQL is only for web applications?

  3. #3
    lse123 is offline Senior Member
    Join Date
    Oct 2008
    Posts
    116
    Rep Power
    0

    Default

    since is a server, how can be used, if we do not have internet connection?

  4. #4
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    7

    Default

    Where did you hear that servers can only be used with an internet connection?

  5. #5
    lse123 is offline Senior Member
    Join Date
    Oct 2008
    Posts
    116
    Rep Power
    0

    Default

    each client then must have installed the mysql server? or... how works?

  6. #6
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    7

    Default

    You said that you worked with MySQL on web apps. Did each client have MySQL installed on their computers?
    Are you trying to write a desktop application that will accessed over an intranet(or the internet)? If that is the case then you would have one MySQL server instance installed on your server computer. Your application would be accessing that database and the application itself could reside on the machine with the database or on a dedicated application server machine. You would then serve via Java Web Start.

  7. #7
    lse123 is offline Senior Member
    Join Date
    Oct 2008
    Posts
    116
    Rep Power
    0

    Default

    in case of web apps each connected to database server , correct ?
    if we have no connection and want to build an app personal for one person , no intranet , lets say a hotel booking system data keep, old fasion well in this case how handle ?

  8. #8
    lse123 is offline Senior Member
    Join Date
    Oct 2008
    Posts
    116
    Rep Power
    0

    Default

    for standalone apps jdk/mysql need to be installed(no network)? well is any way make an exe file self integrated/standalone without the need either installed ?

  9. #9
    mrmatt1111's Avatar
    mrmatt1111 is offline Senior Member
    Join Date
    Aug 2009
    Location
    San Jose, CA, USA
    Posts
    320
    Rep Power
    6

    Default

    How about sqlite or lucene or javadb?
    My Hobby Project: LegacyClone

  10. #10
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    7

    Default

    Yes you can run the stuff on just one machine if you want. That must surely be obvious.
    If your application accesses a database then surely you need to install MySQL. If you want to make an installation file then google for such tools that make installers from .jar files.

  11. #11
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    7

    Default

    Quote Originally Posted by mrmatt1111 View Post
    How about sqlite or lucene?
    As of 1.6 Java comes with its own embedded database, Derby.

Similar Threads

  1. Replies: 9
    Last Post: 01-17-2012, 08:31 AM
  2. Replies: 3
    Last Post: 10-28-2010, 02:42 PM
  3. What the the Pros of Java vs. other languages?
    By shintashi in forum New To Java
    Replies: 1
    Last Post: 07-26-2009, 02:55 AM
  4. Pros and Cons in Java
    By Ninabob in forum New To Java
    Replies: 5
    Last Post: 08-31-2008, 09:35 PM
  5. How Can I Automate Java Installations for PC Apps?
    By salaciak@lgca.org in forum New To Java
    Replies: 0
    Last Post: 07-23-2007, 05:54 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
  •