Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DataBases

Status
Not open for further replies.

gapla

Programmer
Dec 15, 2003
37
ES
i'm just studying java so maybe it's a stupid question.
Which are the best alternatives to jdbc?
i want store data on db inside java program, that is not onto an external one like *.mdb.
 
A database is an external resource such as Access, Oracle, SQL Server, MySQL, and JDBC is used to connect to these data sources, so you cannot, by definition, "store data on db inside java program".

You can however store data inside a class instance, while that class is instantiated, in many forms, such as a DOM, Array, Hash etc. But if you want this data to persist outside your program life-cycle, then it must be stored externally somewhere, either on a file system, or in a database.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top