I have very serious problems of performance
in the following scenario:
Client -> Business Delegate -> Stateless Session Bean -> DAO -> DB
Session Beans are insides a JBoss Application Server.
JBoss is running on a i386/Linux machine with only
256 Mb of Ram.
When the client ask a large amount of data JBoss
isn't able to answer and I get, server side, an
I tried to run JBoss with -Xms and -Xmx options
but situation changes only a little.
The same problem happens client-side because
my client has got only 64 or 128 Mb of Ram.
In this moment I retrieve all data in a big Vector
of serialized objects.
The question is:
Do I need to split my select in N selects, retrieving
data in blocks ? (I'm afraid about increasing the number of remote call from client to server (now I have only
one remote call)
Isn't there any other (not hardware) solution ?
Many thanks in advance,