Results 1 to 5 of 5
  1. #1
    javastuden's Avatar
    javastuden is offline Senior Member
    Join Date
    Nov 2009
    Posts
    157
    Rep Power
    5

    Default creating setup with database

    Hai friends,
    I had developed an application for a video shop in netbeans in which the there were English,Hindi etc section .If the user choose the english the data means the list of dvd,cd will be loaded on the drop down and the list of coustomers or a textbox to enter the new coustomer who want to take the dvd or cd for rent,the appliction was mainly developed on swing,and the data that stores is in the ms acess.And there are other features also for the appliction.After the completion of the project the i clean and build the appliction,Then the netbeans create a jar file,But my problem is that how i will give the project to the customer ie the customer is a less knowledge in computer so i had to give this appliction in a setup formate so that if he clicked the setup it will auto matically install the software with the whole database connection and database ,and if any day he uninstalled the s/w the data that store initially has not be remove from the computer,i had gone through install4j s/w to make the setup but i not fully success in developing the s/w.Will any body please help me how to do the above thing or any website that form the tutorial to do ,

    Thanks in advance

  2. #2
    aaroncarpet's Avatar
    aaroncarpet is offline Senior Member
    Join Date
    Nov 2009
    Location
    California
    Posts
    147
    Rep Power
    0

    Default

    deploying a jarred java can have issues especially if things aren't in the right folder ....I suggest jarring a simpler java program that will deploy the main java application and all the program has to do is create the file structure and you should make a hidden file with an unknown file extension .wtf or whatever that always hold the data.

  3. #3
    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

    You can deploy your project into a jar file actually, not using NetBeans, manually. You can find a nice tutorial about jar deploying in Suns' official web site.

    And also you can use launch4j, which you can use to create single executable.

  4. #4
    aaroncarpet's Avatar
    aaroncarpet is offline Senior Member
    Join Date
    Nov 2009
    Location
    California
    Posts
    147
    Rep Power
    0

    Default

    another important thing is to make sure that your clients computer has the most current java virtual Machine

  5. #5
    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

    Actually those things you can test within your application. Depends on the validation you can take an action (prompt a message with JRE download) to the user.

Similar Threads

  1. please help me to create setup
    By javastuden in forum AWT / Swing
    Replies: 4
    Last Post: 11-10-2009, 05:58 AM
  2. Creating a web service from database
    By fiqueudrue in forum NetBeans
    Replies: 8
    Last Post: 01-19-2009, 06:22 AM
  3. Setup RMI service on Ant
    By vaskarbasak in forum Advanced Java
    Replies: 0
    Last Post: 07-24-2008, 02:25 PM
  4. Setup
    By Mir in forum New To Java
    Replies: 9
    Last Post: 06-27-2008, 11:12 AM
  5. Replies: 0
    Last Post: 12-23-2007, 07:50 AM

Posting Permissions

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