473,387 Members | 1,585 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

NetBeans and data consistancy guarantee without large DBMS (simpletransactional database / ACID support)

Hello. I haven't used NetBeans yet and I haven't programmed much Java (I've programmed more in C++), but I have a question:

Can I get a data consistancy guarantee when writing to a file from Java if I use the NetBeans IDE package without using a large DBMS?

I mean, does Java standard classes or some NetBeans packages support some kind of simple transactional database / ACID support or similar? Or maybe some good third-party packages can do this (although the best would be if Java itself can "help me out" here)? I'm going to program for several operating systems and different platforms (standard PC's, but also pretty low performing mobile platforms), so I do not want to use MySQL, PostgreSQL or similar "large" DBMS's.

Tonny

Nov 13 '07 #1
1 2771
Tonny Iversen wrote on 13.11.2007 23:29:
Hello. I haven't used NetBeans yet and I haven't programmed much Java (I've
programmed more in C++), but I have a question:

Can I get a data consistancy guarantee when writing to a file from Java if I
use the NetBeans IDE package without using a large DBMS?

I mean, does Java standard classes or some NetBeans packages support some
kind of simple transactional database / ACID support or similar? Or maybe
some good third-party packages can do this (although the best would be if
Java itself can "help me out" here)? I'm going to program for several
operating systems and different platforms (standard PC's, but also pretty low
performing mobile platforms), so I do not want to use MySQL, PostgreSQL or
similar "large" DBMS's.
If you want a transactional relational DBMS then look at one of the Java based
RDBMS. There are three major players in this field:

- H2 Database (www.h2database.com)
- Apache Derby (http://db.apache.org/derby/)
- HSQLDB (www.hsqldb.org)

Apache Derby comes packaged with the JDK under the name "JavaDB", so this might
qualify as a "Java standard".

All three offer an embedded mode where no additional server is required, but all
of them have some limitations when it comes to very large datasets.

Thomas
Nov 13 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Steven James Samuel Stapleton | last post by:
Will calling ksort() on an array speed up it's access? For example, I have the array $file_index, which is accessed by a key (the entry id) and has two sub elements in a one dimensional array...
4
by: francis70 | last post by:
Hi, I have these 2 problem? Is there a way in Oracle to read UNCOMMITED data. i.e. in Oracle the normal behaviour is that a user's updates to a table are visible to other users ONLY when the...
3
by: Thomas Coleman | last post by:
I have been playing around with 2.0 and I'm trying clarify a few things about generics and data access. I was hoping to be able to do something like this with nullable types: int? foo = null; ...
3
by: crespoh | last post by:
Hi, How do I select data from two tables from two different databases and compare them? using dbi,odbc
9
by: Tony Lee | last post by:
Some time a ago, on this newsgroup the following comments were made in recommending good references for Access (2003) >I used to recommend Dr. Rick Dobson's, "Programming Access <version>" for...
41
by: laimis | last post by:
Hey guys, I just recently got introduced to data mappers (DTO mapper). So now I have a SqlHelper being used by DTOMapper and then business layer is using DTOMapper when it needs to persist...
4
by: Holger Marzen | last post by:
Hi all, AFAIK it is possible for columns to be very large, up to about 2 GB. Are there any hints or experiences about storing binary data (jpg-images, pdf-documents) in PostgrreSQL with or...
1
by: FeelLikeANut | last post by:
My question is partly a language issue (memory) and partly a Web issue (where the program runs), so I hope everyone will be open to helping. Users may submit and store pictures with my program. I...
2
myusernotyours
by: myusernotyours | last post by:
Hi All, Am working on a Java application in which I have to use the JNI to Interface with some native code for both windows and unix. Am using netbeans IDE with the C/C++ pack installed. Am also...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.