• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Java question

Rowboat

Senior member
I want to do a simple database type program in java. How do i permanently store the data?

When I search i see alot of methods for connecting to a database server but I need it to be stand alone.

Thanks for reading.


 
XML sucks for relational database. What you can do easily is have some free database installed (mySQL) and then send tables over using JDBC.
 
Originally posted by: postmortemIA
XML sucks for relational database. What you can do easily is have some free database installed (mySQL) and then send tables over using JDBC.

Hardly. with a decent API like .NET's XML framework XML is really simple and easy to work with relational data.
 
Originally posted by: Crusty
Originally posted by: postmortemIA
XML sucks for relational database. What you can do easily is have some free database installed (mySQL) and then send tables over using JDBC.

Hardly. with a decent API like .NET's XML framework XML is really simple and easy to work with relational data.

Really? Let's say you have database of 50GB size. You think .NET XML parser can handle it?

What's the point of adding two overheads, reading and writing the XML.
 
Originally posted by: postmortemIA
Originally posted by: Crusty
Originally posted by: postmortemIA
XML sucks for relational database. What you can do easily is have some free database installed (mySQL) and then send tables over using JDBC.

Hardly. with a decent API like .NET's XML framework XML is really simple and easy to work with relational data.

Really? Let's say you have database of 50GB size. You think .NET XML parser can handle it?

What's the point of adding two overheads, reading and writing the XML.

If you are writing an application that needs a 50GB standalone database then choosing your storage is hardly a concern.

You simply stated that XML sucks for a relational database. For an application that needs to store data in between runs XML is perfectly acceptable.

Also, I don't see how you can say that XML has overhead but then leave out the fact that calling a database via queries has an overhead too.

 
Back
Top