I suggest you monitor the time spent in various parts of the program with something like
JAmon (free) or one of the
Java profiler products. There is no sense in speculating when you can measure.
It is not clear from your post exactly what kind of processing is going on.
Is your program talking to a database or what?
Bill