File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Passing large messages between EJB's Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Passing large messages between EJB Watch "Passing large messages between EJB New topic

Passing large messages between EJB's

Mike Burnham

Joined: Jun 06, 2001
Posts: 24
I am passing messages (message objects) between ejbs on websphere. Occasionally, this message contains a query result. Serializing between the bean is very slow with a large message. Is there a general recomendation on how to handle this situation? Do I need to create a static class to hold the query results and then pass around the pointer to the results? I would like to think there is a better solution.

SCJP 1.2
It is sorta covered in the JavaRanch Style Guide.
subject: Passing large messages between EJB's
Similar Threads
JBoss 1.4 Messaging - database persistence tables
Search queries...
message passing programming related problems
DB issue (prepared statement)
Proper mix of Servlets and JSP