0

I have a dynamic web java project, which needs to talk to a database

i want to include the created database file inside the project, so that i can access the data inside and the db isnt on some server

is it possible to do that? if so, how ?

2
  • Check this out:- books.zkoss.org/wiki/Setup_MySQL_DB_in_Eclipse Commented Aug 10, 2013 at 16:02
  • I am no database expert, so take what I say with a grain of salt, but you can use an embedded Java database such as Apache Derby (also called Java DB, I think), or H2, but I don't think that the data files likely should be held by the jar file since this will make it read only. Commented Aug 10, 2013 at 16:14

1 Answer 1

1

For eclipse, open view Data Source Explorer and add the database.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.