ejb serialization

i was reading

 we cannot send java object over network.

 why we need to serialize java objects to stream to send across different JVM.

what are advantages, uses, disadvantages of serializing.  when, how, why we use it.

I was not clear on this concept. thanks in advance
Who is Participating?
Amitkumar PConnect With a Mentor Sr. ConsultantCommented:
EJB framework depends on RMI which makes method call on remote object. The call on remote object can't be possible without serialization as we may need to pass the parameters/receive the values from the methods.

Refer : http://www.jguru.com/faq/view.jsp?EID=301817
Amitkumar PConnect With a Mentor Sr. ConsultantCommented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.