Question regarding returning large record sets from session bean
posted 11 years ago
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?