aspose file tools
The moose likes Java in General and the fly likes Marker interface Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Marker interface " Watch "Marker interface " New topic
Author

Marker interface

eswar kumar
Ranch Hand

Joined: Oct 20, 2002
Posts: 98
what are the marker interfaces available in Java( except Single Thread Model,serializable)?what is the use marker interface?
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
It's just a sign that you'd like an object to be treated some special way later. For example "Serializable" says if the JVM is serializing a bunch of objects this one would like to be included. Any objects that do not implement Serializable will be left out. Almost too simple to be true, no?


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
norman richards
Author
Ranch Hand

Joined: Jul 21, 2003
Posts: 364
I think you'll see marker interfaces fall out of favor when Java 1.5 comes out. Annotations (JSR 175 "metadata") captures this information in a much cleaner way. There isn't really much intro material on annotations yet, but keep your eyes open for it...


[<a href="http://members.capmac.org/~orb/blog.cgi" target="_blank" rel="nofollow">blog</a>] [<a href="http://www.amazon.com/exec/obidos/ASIN/0596100078/orb-20" target="_blank" rel="nofollow">JBoss: A Developer's Notebook</a>] [<a href="http://www.amazon.com/exec/obidos/ASIN/1932394052/orb-20" target="_blank" rel="nofollow">XDoclet in Action</a>]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Marker interface
 
Similar Threads
Marker Interface
How can i write marker inerface
disadvantages of marker interface
what is mean by Marker interface?
Marker Interface