File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question regarding serialization ?

 
Amandeep Singh
Ranch Hand
Posts: 850
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when a method call is made across network. Method name and its parameters are serialized and send it as a Smart Link request across network. Then does it creates a new instance of class and then call its method.
Because in my case, the method is not static. So i assume, to make call for this method, we need a instance of class.

As calling this method happens behind the scenes. I am unable to make out whether the instance is made or not.

 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33696
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about adding a System.out.println() to the constructor to test it?
 
Amandeep Singh
Ranch Hand
Posts: 850
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As currently there is no constructor available. But i can make a constructor to test it. Excellent reply.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic