Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question regarding returning large record sets from session bean

Chris Johnston
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have a very quick question. Sorry for cross posting, but I think I placed my question in the wrong topic the first time around and I really need an answer to this one. How many replies must I post in penance?

I have a session bean that exists inside of JBoss that performs a database lookup and returns the result set, in the form of a Vector of data value objects, to a client outside of the JBoss. Serialized, each of the data value objects is about 20K in size.

My question is this: how many of these objects can I safely return, over RMI, before JBoss is going to start complaining? I know from past experience that there is a limit to the number of objects that can be returned from an EJB container, I am just wondering if anyone knows what it is for JBoss - i.e., can I return 5, 50, or 5000 of these objects in a Vector before I start to have timeout and other problems in the part of JBoss?

Thanks in advanced,
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic