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.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Deploying db application

  1. #1
    Junior Member
    Join Date
    Mar 2012
    Thanked 0 Times in 0 Posts

    Default Deploying db application

    In NetBeans I prepared a database application with MySQL. After I make a Clean & Build, which files do I need to copy to another computer to make the application execute correctly? Do I need to run a MySQL server in the host computer or I need just the db file and the jar of the driver?

  2. #2
    Join Date
    Feb 2012
    Thanked 3 Times in 3 Posts

    Default Re: Deploying db application

    - If your application connects to a remote MySQL server, you have to copy only the driver jar file.
    - If your application runs on a same computer with the MySQL server, you need to install MySQL and prepare setup database script. But doing this way is not suggested.

Similar Threads

  1. 500 exception while deploying a war file in tomcat
    By nrao in forum What's Wrong With My Code?
    Replies: 1
    Last Post: January 12th, 2011, 03:42 PM
  2. Deploying an applet with jsp
    By IamKira in forum JavaServer Pages: JSP & JSTL
    Replies: 0
    Last Post: January 27th, 2010, 08:28 AM
  3. Error in validation.xml file while deploying in server
    By venkat.ravala in forum Web Frameworks
    Replies: 0
    Last Post: January 16th, 2010, 08:56 AM
  4. error in deploying MDB
    By s.saikia in forum JavaServer Pages: JSP & JSTL
    Replies: 0
    Last Post: October 4th, 2009, 12:06 PM
  5. Error while deploying .ear file
    By urslalitha in forum Exceptions
    Replies: 1
    Last Post: August 18th, 2009, 02:56 AM