How to improve my software project's speed?
Posted
by Blitzkr1eg
on Stack Overflow
See other posts from Stack Overflow
or by Blitzkr1eg
Published on 2010-05-18T19:02:44Z
Indexed on
2010/05/18
19:10 UTC
Read the original article
Hit count: 130
I'm doing a school software project with my class mates in Java. We store the info on a remote db.
When we start the application we pull all the information from the database and transform it into objects to use in our application (using java sql statemens). In the application we edit some of these objects and then when we exit the application we save or update information in the database using Hibernate.
As you see we dont use Hibernate for pulling in information, we use it just for saving and updating.
We have 2, but very similar problems. The loading of object(when we start the app) and the saving of objects(with Hibernate) in the db(when closing the app) is taking too much time. And our project its not a huge enterprise application, its a quite small app, we just manage some students, teachers, homeworks and tests. So our db is also very very small. How could we increase performance ?
later edit: if we use a local database it runs very quick, it just runs slow on remote databases
© Stack Overflow or respective owner