This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
I have never used databases with Java but I have to start now. They are very useful to use with my programs but I have noticed that since using them I haven't got much use for classes yet. A simple example: If I make a program dealing with employees and fill up the database with their entered information, I dont even need a class for the employees. I can add them straight into the database using sql statements, therefore what is the point in making classes for them? Could someone give me info or reasons why to use classes for entities I add to a database? I hope that came across as understandable.