Forums Register Login

Data transfer fro ejb to servlet

+Pie Number of slices to send: Send
dear all,

I have a problem retrieving the data from db using ejb. the scenario is
The servlet (struts) queries the ejb with a unique id, there are supposed to be 2000 records for this particular id.
The ejb calls a dao which in turn iterates the queried result from the db and updates the properties in POJO.
all pojos gets stored in an arraylist.
as i tried with the ejb server log (that i used to put statements) to debug the problem, if the data is below 750 the ejb does the work without any probs.
but in case it exceeds the limit, i can see the output statement before the return from ejb, but in servlet the next statement after the ejb call does not execute at all.
whats the problem? is it a problem with sending huge data from ejb server to webserver?
+Pie Number of slices to send: Send
Is your JVM maybe running out of memory?


is it a problem with sending huge data from ejb server to webserver?


Generally web applications are poor choices for bulk data manipulation. That being said, 2000 does not sounds that big.
Time is mother nature's way of keeping everything from happening at once. And this is a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 980 times.
Similar Threads
hashmap and jdbc
Struts serialisation bedween the action
HSQL problem
php calling EJB
EJB Injection
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 15, 2024 23:20:12.