473,385 Members | 1,311 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,385 software developers and data experts.

best solution for using a database and Java

hi there.
i'm thinking of developing an app using Java to manage a library
(books, clients, orders..etc).
I am not sure of how to store the data, maybe using files or a DBMS.
The ammount of data is probably not much to justify the use of a DBMS.
I wanted to know your opinion, and how can i implement it?
I've searched some JDBC drivers, but most of it are not free :( I found
one free for MySQL.
The disadvantages of using a DBMS is that i need to run a server, and
this app only runs on one pc.. no need for network or anything.
what do you think?

thanks a lot

Jul 17 '05 #1
8 5640
If you want to use java as your development language, I would recommend
MySQL as a cheap (free) but extremely powerfull database. And, as you
have already discovered, it has a free JDBC driver already written. The
AWT is very cumbersome in java however.

Even though it is standalone. I would recommend writing in JSP on top
of Tomcat. You would use your browser as the GUI component but java for
all the backend processing. That is what I did for one of my
applications and it works great.

Also, if you ever want to access the application from outside, it would
require minimal effort to do it.

I hope this helps!

nu********@gmail.com wrote:
hi there.
i'm thinking of developing an app using Java to manage a library
(books, clients, orders..etc).
I am not sure of how to store the data, maybe using files or a DBMS.
The ammount of data is probably not much to justify the use of a DBMS.
I wanted to know your opinion, and how can i implement it?
I've searched some JDBC drivers, but most of it are not free :( I found
one free for MySQL.
The disadvantages of using a DBMS is that i need to run a server, and
this app only runs on one pc.. no need for network or anything.
what do you think?

thanks a lot

Jul 17 '05 #2
Hi,

take a look at http://hsqldb.sourceforge.net/

Regards,
Lukas

nu********@gmail.com wrote:
hi there.
i'm thinking of developing an app using Java to manage a library
(books, clients, orders..etc).
I am not sure of how to store the data, maybe using files or a DBMS.
The ammount of data is probably not much to justify the use of a DBMS.
I wanted to know your opinion, and how can i implement it?
I've searched some JDBC drivers, but most of it are not free :( I found
one free for MySQL.
The disadvantages of using a DBMS is that i need to run a server, and
this app only runs on one pc.. no need for network or anything.
what do you think?

thanks a lot

Jul 17 '05 #3
Have a look at STEP FORWARD.

www.gestalt.com

<nu********@gmail.com> wrote in message
news:cd********@odak26.prod.google.com...
hi there.
i'm thinking of developing an app using Java to manage a library
(books, clients, orders..etc).
I am not sure of how to store the data, maybe using files or a DBMS.
The ammount of data is probably not much to justify the use of a DBMS.
I wanted to know your opinion, and how can i implement it?
I've searched some JDBC drivers, but most of it are not free :( I found
one free for MySQL.
The disadvantages of using a DBMS is that i need to run a server, and
this app only runs on one pc.. no need for network or anything.
what do you think?

thanks a lot

Jul 17 '05 #4
Hi, there!

look for Pevayler. It is the answer for your questions.
nu********@gmail.com wrote in message news:<cd********@odak26.prod.google.com>...
hi there.
i'm thinking of developing an app using Java to manage a library
(books, clients, orders..etc).
I am not sure of how to store the data, maybe using files or a DBMS.
The ammount of data is probably not much to justify the use of a DBMS.
I wanted to know your opinion, and how can i implement it?
I've searched some JDBC drivers, but most of it are not free :( I found
one free for MySQL.
The disadvantages of using a DBMS is that i need to run a server, and
this app only runs on one pc.. no need for network or anything.
what do you think?

thanks a lot

Jul 17 '05 #5
Centuries ago, Nostradamus foresaw when David Morris <dm*****@dynamicquest.com> would write:
If you want to use java as your development language, I would
recommend MySQL as a cheap (free) but extremely powerfull database.
And, as you have already discovered, it has a free JDBC driver already
written. The AWT is very cumbersome in java however.


Hmm? MySQL(tm) is only "free" if you plan to give away all of your
code, licensing it under the GPL or some similar license. If you plan
to connect anything to it that isn't "free software," it costs $450
USD per server.
--
output = reverse("gro.gultn" "@" "enworbbc")
http://www3.sympatico.ca/cbbrowne/languages.html
Artificial intelligence, like fusion power, has been ten years away
for the last 30 years. -- Conrad Stack
Jul 17 '05 #6
I see Bill and Steve are still trolling the newsgroups spreading FUD
under assumed names.

You're only required to GPL code if it is statically linked to the
core MySQL engine (which is itself GPL'ed). If you're statically
linking your web app to a database server, you've got bigger problems
than the GPL.

//Nathan

Christopher Browne <cb******@acm.org> wrote in message news:<m3************@wolfe.cbbrowne.com>...
Centuries ago, Nostradamus foresaw when David Morris <dm*****@dynamicquest.com> would write:
If you want to use java as your development language, I would
recommend MySQL as a cheap (free) but extremely powerfull database.
And, as you have already discovered, it has a free JDBC driver already
written. The AWT is very cumbersome in java however.


Hmm? MySQL(tm) is only "free" if you plan to give away all of your
code, licensing it under the GPL or some similar license. If you plan
to connect anything to it that isn't "free software," it costs $450
USD per server.

Jul 17 '05 #7
After takin a swig o' Arrakan spice grog, na*****@hotmail.com (Nathan Zumwalt) belched out:
I see Bill and Steve are still trolling the newsgroups spreading FUD
under assumed names.

You're only required to GPL code if it is statically linked to the
core MySQL engine (which is itself GPL'ed). If you're statically
linking your web app to a database server, you've got bigger problems
than the GPL.


If that is your interpretation of MySQL AB's license, then I suggest
you take that up with the vendor.

<http://www.mysql.com/products/licensing/>

At MySQL AB, we believe in open source / free software and we welcome
all initiatives to publish more software under the GPL license, just
as we have done.

In their simplest form, the following are general licensing
guidelines:

* If your software is licensed under either the
GPL-compatible Free Software License as defined by the Free
Software Foundation or approved by OSI, then use our GPL
licensed version.

* If you distribute a proprietary application in any way, and you
are not licensing and distributing your source code under GPL,
you need to purchase a commercial license of MySQL

* If you are unsure, we recommend that you buy our cost effective
commercial licenses. That is the safest solution. Licensing
questions can submitted online for our advice, and we encourage
you to refer to the Free Software Foundation or a lawyer as
appropriate.

That set of "guidelines" doesn't say anything about static linking.
It says that if the application is proprietary "in any way," then you
have to pay.
--
let name="cbbrowne" and tld="ntlug.org" in name ^ "@" ^ tld;;
http://www.ntlug.org/~cbbrowne/multiplexor.html
On the other hand, you have different fingers.
Jul 17 '05 #8
I've had a discussion of this subject with MySQL Sales Manager. The bottom
line: if the application is not dependent on MySQL for its operation (e.g.
can work with some other RDBMS) and communicates with MySQL via a JDBC
driver (therefore, does not have static links to MySQL) then it does not
come under GPL. This is pretty much in line with the common interpretation
of GPL; the only difference being the "aggregation" (distribution of the
GPLed software with the non-GPLed product), which is specifically
permissible under the GPL, but not in MySQL's interpretation.

Alex Molochnikov
Gestalt Corporation
www.gestalt.com

"Christopher Browne" <cb******@acm.org> wrote in message
news:m3************@wolfe.cbbrowne.com...
After takin a swig o' Arrakan spice grog, na*****@hotmail.com (Nathan

Zumwalt) belched out:
I see Bill and Steve are still trolling the newsgroups spreading FUD
under assumed names.

You're only required to GPL code if it is statically linked to the
core MySQL engine (which is itself GPL'ed). If you're statically
linking your web app to a database server, you've got bigger problems
than the GPL.


If that is your interpretation of MySQL AB's license, then I suggest
you take that up with the vendor.

<http://www.mysql.com/products/licensing/>

At MySQL AB, we believe in open source / free software and we welcome
all initiatives to publish more software under the GPL license, just
as we have done.

In their simplest form, the following are general licensing
guidelines:

* If your software is licensed under either the
GPL-compatible Free Software License as defined by the Free
Software Foundation or approved by OSI, then use our GPL
licensed version.

* If you distribute a proprietary application in any way, and you
are not licensing and distributing your source code under GPL,
you need to purchase a commercial license of MySQL

* If you are unsure, we recommend that you buy our cost effective
commercial licenses. That is the safest solution. Licensing
questions can submitted online for our advice, and we encourage
you to refer to the Free Software Foundation or a lawyer as
appropriate.

That set of "guidelines" doesn't say anything about static linking.
It says that if the application is proprietary "in any way," then you
have to pay.
--
let name="cbbrowne" and tld="ntlug.org" in name ^ "@" ^ tld;;
http://www.ntlug.org/~cbbrowne/multiplexor.html
On the other hand, you have different fingers.

Jul 17 '05 #9

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

Similar topics

5
by: great_googley_moogley | last post by:
Greetings, I am in the process of installing a SQL database at a customer location. I have determined that there are 3 ways to do this, and I wanted to know which is the best of the 3. 1...
11
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in...
136
by: Matt Kruse | last post by:
http://www.JavascriptToolbox.com/bestpractices/ I started writing this up as a guide for some people who were looking for general tips on how to do things the 'right way' with Javascript. Their...
3
by: Alex | last post by:
Hi all, I'm looking for some advice on how best to implement storage of access logs into a db/2 8.1.4 database running on a RH 7.2 system. I have 5 (squid) web caches running here that...
1
by: Chris Uwins | last post by:
Hi there, i know theres a number of ways I can achieve this but want to know the best, (but still quite simple). Up until a year ago I never used Access but have designed a few databases for...
0
by: Anonieko Ramos | last post by:
ASP.NET Forms Authentication Best Practices Dr. Dobb's Journal February 2004 Protecting user information is critical By Douglas Reilly Douglas is the author of Designing Microsoft ASP.NET...
9
by: Luke Vogel | last post by:
Hi all. This is a bit of a newbie type question. I am trying to figure out what is the best way to connect to a database; ado.net, odic others? I've found a couple of examples that show you...
3
by: Phil Campaigne | last post by:
I am developing a java/postgresql application using ant and junit. I want to deploy tested builds along with matching tables with test data in them. What is the best way to deploy the tables...
4
by: dgleeson3 | last post by:
Hello all I am creating a VB.Net distributed SQL server 2005 application. Each computer in the system has a database with a table of users and their telephone numbers. Each computer has a...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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?
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...

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.