dcsimg
<p>!_NEWLINE_!<font size=4 color="blue">!_NEWLINE_!Is it possible to pass an object from one EJB to another without using serializable interface.!_NEWLINE_!</font>!_NEWLINE_!</p>
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Remya_Paramban
Posted On:   Monday, September 24, 2001 04:07 AM


			
I wanted to pass an object from one EJB to another without using java.io.serializable interface. Is there any other way i can do this?


Re: Is it possible to pass an object from one EJB to another without using serializable interface.

Posted By:   Koen_Debruyckere  
Posted On:   Tuesday, September 25, 2001 08:48 AM

I would go as far as saying: I hope not. Last time I looked at the EJB spec there's nothing that allows you to specify that 2 EJBs are living in the same EJB container: that's why transparent horizontal scaling can be done. Therefor an EJB call is considered to be a distributed call requiring some kind of marshalling mechanism: java serialization in this case.

Note: If you're trying to avoid this because of performance reasons, you may want to redesign what your doing: introducing a stateless session EJB, and passing the EJB handle around, using JDO ...
About | Sitemap | Contact