Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Does JMS force serialization?

843830Jan 30 2008 — edited Jan 31 2008
Am planning to use JMS/MDB as a mechanism for legal multithreading within EE 5 container. Some of the objects carry a huge dataload however, and marshal/unmarshal may become an issue. The question is: Do appservers have the smarts NOT to serialize/deserialize objects, simply pass by reference, IF there are enough mdb's in the pool available? (Only serialize if jobs get "backed up".)
Is there a better way of doing multithreading using the EE 5 spec? (I understand that ejb automatically multithreads requests, but I have requests that do a lot of statistical work, and that one request benefits tremendoulsy by using multiple threads.)
Thanks;
nat
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 28 2008
Added on Jan 30 2008
6 comments
230 views