• Post Reply Bookmark Topic Watch Topic
  • New Topic

Data transfer fro ejb to servlet  RSS feed

 
az ziz
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!