Results 1 to 6 of 6
  1. #1
    shalin.shah is offline Member
    Join Date
    Dec 2010
    Posts
    4
    Rep Power
    0

    Angry Distributing Pure DesktopApplication that containd Database

    Hi to All.
    I m developing one billing software in what I m using MySQL database.
    Now I have to deploy this Desktop Application in to Customer's Computer.

    Does customer need to install MySQL??
    How can I make one .exe or .msi file which can be directly installed and no need to install database server..

    Please Help me out A.S.A.P.
    Last edited by shalin.shah; 12-10-2010 at 04:04 AM.

  2. #2
    dswastik is offline Senior Member
    Join Date
    Dec 2008
    Location
    Kolkata
    Posts
    282
    Rep Power
    6

    Default

    As far as creating exe is concerned, you can use a java exe wrapper like JSmooth. But probably the data base server has to be installed separately.
    Swastik

  3. #3
    shalin.shah is offline Member
    Join Date
    Dec 2010
    Posts
    4
    Rep Power
    0

    Angry

    Thank you dswastik , but I want to know specifically about binding database..
    I am using eclipse and MySQL as a Database..
    How can I export my database file and store in my clien's pc directory??

    Reply

  4. #4
    mine0926 is offline Senior Member
    Join Date
    Apr 2010
    Location
    Philippines
    Posts
    580
    Rep Power
    5

    Default

    You just need to add MySQL .jar to your library. Then on your MANIFEST.MF file add MySQL .jar on Class-Path.

    See this tutorial from sun Lesson: Packaging Programs in JAR Files (The Java™ Tutorials > Deployment)

  5. #5
    shalin.shah is offline Member
    Join Date
    Dec 2010
    Posts
    4
    Rep Power
    0

    Default

    hi i am not clear about steps/configuration details about how i can embed mysql in a Java desktop application so that it(application) can be installed on any machine through a single executable file and doing so sets up database and also provides an exe to run the app.Till now i have built my app using netbeans and i have used mysql to set up database.plz guide me further.

  6. #6
    gcalvin is offline Senior Member
    Join Date
    Mar 2010
    Posts
    953
    Rep Power
    5

Similar Threads

  1. Distributing .jar
    By mine0926 in forum New To Java
    Replies: 1
    Last Post: 10-21-2010, 02:37 AM
  2. Weird problem with distributing .jar
    By Cynot in forum NetBeans
    Replies: 3
    Last Post: 06-07-2010, 10:01 PM
  3. Weird problem with distributing .jar
    By Cynot in forum New To Java
    Replies: 4
    Last Post: 06-07-2010, 12:03 PM
  4. code migration problem in distributing system
    By sushil in forum AWT / Swing
    Replies: 2
    Last Post: 10-29-2009, 01:34 PM
  5. New article about ZK the pure Java RIA framework
    By simbo in forum Web Frameworks
    Replies: 0
    Last Post: 03-13-2009, 08:27 AM

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
  •