As for the database question, you're going to have to download your driver, either put it in your classpath or attach it to your program, create a connection, and upload. How you do this is dependent on what type of database you are connecting to.
thaks for your help, I need to read files.txt in java and upload this information to the database using Java Beans
Are you able to connect to the database then. If they are .txt files then reading is not going to be a problem. You can use Scanner or FileReader. What you need to do is make sure you've got your database connection right. What is the structure of the data in the text files and how do you want it to be structured in the database.
Comment