Apache JDO Project - RE: Persistent Interfaces in JDO 2.0

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > July 2006 > RE: Persistent Interfaces in JDO 2.0





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author RE: Persistent Interfaces in JDO 2.0
Matthew T. Adams

2006-07-20, 7:11 pm

>-----Original Message-----[vbcol=seagreen]
>From: Craig.Russell@Sun.COM [mailto:Craig.Russell@Sun.COM]
>Sent: Thursday, July 20, 2006 8:59 AM
>To: Robin M. Roos
>Cc: JDO Expert Group; Apache JDO project
>Subject: Re: Persistent Interfaces in JDO 2.0
>
>
>Java has this same restriction. A class that implements multiple
>interfaces must have identical implementations for methods from the
>multiple interfaces that have the same signature. There's no way to
>disambiguate the methods of one interface from the others. Do other
>languages allow different behavior?
C# (and potentially other .NET-compliant languages), actually. It's a
concept called "explicit interface implementation", I believe. Yes:
http://msdn2.microsoft.com/en-us/library/ms173157.aspx

--matthew



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com