Is it possible to add the database to the executable jar

Assignment Help JAVA Programming
Reference no: EM132226782

How to embed Database to a java .exe file so as you successfull installed and run in a computer that do not have MySQL

Created a java application that is a front end for a MySQL Database using NetBeans and JDBC.

Now after creating the jar file it runs smoothly on computer (the MySQL installed on computer) but, if run the jar on a different computer it won't work since it does not have the DB the application is using and not even MySQL installed.

Question is, Is it possible to add the database to the executable jar so it will run on any computer without the need for any installation of any software e.g. MySQL (Except for JRE of course)?

Reference no: EM132226782

Questions Cloud

An example of distributed intelligence in an organization : Explain how it might contribute to improving one's organization or to an organization becoming a learning organization.
Contract with an appropriate IRO to perform the reviews : You have been asked to identify and contract with an appropriate IRO to perform the reviews required by the CIA.
Identify the hr needs of the business for the next 12 months : Survey key stakeholders (relevant positions in the organisation) and identify the HR needs of the business for the next 12 months.
You will ask for promotion and commensurate raise : You will ask for a promotion and commensurate raise (details on the position you hold, and the position you want, are below).
Is it possible to add the database to the executable jar : Is it possible to add the database to the executable jar so it will run on any computer without the need for any installation of any software e.g. MySQL
Leadership behaviors you believe that you : Indicate (Task Oriented behaviors ) leadership behaviors you believe that YOU (personally) require the most cultivation/development in and WHY
Businesses adopting new internet-enabled devices : So my question is what are the benefits or risks associated with businesses adopting new Internet-enabled devices.
Dominant player in the online retail industry : Within the space of just over 2 decades, Amazon.com has established itself as a dominant player in the online retail industry,
Introducing ideas into a japanese subsidiary : How are U.S. multinationals trying to introduce total quality management (TQM) into their operations? Give two examples. Would a U.S. MNC doing business

Reviews

len2226782

2/3/2019 9:27:49 PM

How to embed Database to a java .exe file so as i successfull installed and run in a computer that do not have MySQL I created a java application that is a front end for a MySQL Database using NetBeans and JDBC. Now after creating the jar file it runs smoothly on my computer (Since I have the MySQL installed) but, if I run the jar on a different computer it won't work since it does not have the DB the application is using and not even MySQL installed. So the question is, is it possible to add the database to the executable jar so it will run on any computer without the need for any installation of any software e.g. MySQL (Except for JRE of course) ? If yes, how do I go about doing so? Thanks everyone for the help in advance.

Write a Review

JAVA Programming Questions & Answers

  Draw a flowchart to calculate the gross pay

Draw a flowchart to calculate the gross pay. Write the pseudo code that corresponds to the flowchart in Step d above. Draw an event diagram for Gross Pay event.

  Allow the user to display a work history report

The 'report screen' shall:Allow the user to display a work history report for an individual or for all employees for the two weeks prior to the report request.

  Java program that prompts for the gpa

This assignment will give you practice with interactive programs, if/else statements and methods that return values. Your program will prompt the user for information about two applicants and compute an overall score for each applicant. This is ..

  Write a program in java to read 5 integers

Write a program in Java to read 5 integers and print their sum and average.Use loop statements in your code - Write a program in Java to read 5 integers

  How many passengers were on the titanic

How many passengers were on the Titanic? What percentage of passengers perished on the Titanic? What percentage passengers survived the sinking of the Titanic?

  Write a method readdata in java program

Write a method readData(...) that reads and returns a list of integers. The list is preceded by the number of items in the list.

  Use of width and height attributes in an element

Which of the following will occur if you do not use the width and height attributes in an element?

  Write splash screen applet that display name of your company

Write a splash screen applet that displays the name of your company or school, the address, the Web address, and your school's logo.

  Translates a number into the closest letter grade

Write a program that translates a number into the closest letter grade. For case, the number 2.8 which might have been the average of several grades would be converted to B-

  What is the minimal total weight of cylinders

A scuba diver uses a special equipment for diving. He has a cylinder with two containers: one with oxygen and the other with nitrogen. Depending on the time he wants to stay under water and the depth of diving the scuba diver needs various amount of ..

  Java application that calculates weekly pay for an employee

I have attach the pseudocode for it. I have also attach the program that I wrote for it and it will not compile need help on it. Now does the progrma follow suit with the pseudocode or not? In not then how do I go about on doing it?

  Calculates and displays the mortgage payment amount

Write a Java program without a graphical user interface that calculates and displays the mortgage payment amount given the amount of the mortgage, the term of the mortgage, and the interest rate of the mortgage. In this program, hard code the amou..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd