This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
Marker Interface
Marker InterFace...
marker interface
Custom Marker Interface
Marker Interface