i have a school project for biology where we need to make something to help us classify animals. We will be given a description with key traits that will define which domain, kingdom etc. wi开发者_如何学JAVAll be in. My question is, how could i apply a database to this problem, and can i use java to search through it?
Yes, you can do that. Plan and implement table structure (one or more tables) and use Java with SQL to retrieve data from the database.
Below there are links to tutorials:
Java JDBC Tutorial
SQL Tutorial
And here are samples on this point:
Real Gagnon Java Database examples
You should also use some Object Relational Mapping techniques . This is a good tutorial Mapping Objects to Relational Databases: O/R Mapping In Detail
精彩评论