File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes one question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "one question" Watch "one question" New topic
Author

one question

Jack Nicholson
Ranch Hand

Joined: Sep 07, 2002
Posts: 41
Hi,
Recently, I was faced with some questions
which i fail to answer.
can anybody tell me the right answer?
1) In EJB, we are using Custom Objects, which implements Serializable interface, for persisting the data.
As it is marker interface, no method is defined in it.
But still how the Custom object class uses readObject() & writeObject() method for saving state? & it is possible just by implementing marker interface only?
What exactly it does internally?
can any body tell me?
Thanx in advance.


Jack Nicholson
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
All you need to do is read the Javadocs for Serializable.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: one question
 
Similar Threads
Custom Marker Interface
Marker Interface
marker interface
Marker Interface
Marker InterFace...