Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Dealing with inheritance anomalies in Java
Dear all,

In Java there are a few ways to cope with what is called the inheritance
anomaly problem (in the context of Matsuoka, S. and Yonezawa, A.,
"Analysis of inheritance anomaly in object-oriented concurrent programming
languages" in "Research Directions in Concurrent OO Programming" MIT
Press, 1993), such as:

* use an object-based design instead of an object-orientated design (in
which case, why not use Ada 83 instead of Java?);

* use an object-orientated design without multithreading (in which case,
why not use C++ instead of Java?);

* use Java variants (e.g. Jeeg; JR; RAVENSCAR (Reliable Ada Verifiable
Executive Needed for Scheduling Critical Applications in
Real-time) Java);

* aspect orientated programming is the main defense mentioned in Giuseppe
Milicia and Vladimiro Sassone, "The inheritance anomaly: ten years
after", "Proceedings of the 2004 ACM symposium on Applied computing";

* be sensible in your class design / be prepared to refactor (so much for
reuse without copying and pasting!);

* don't give it much thought and hope for the best.

Are there any other approaches which are applicable to Java?

Which approach(es) should be used?, and why? Which approaches are actually
idiomatic?

Regards,
Colin Paul Gloster

--

Report this thread to moderator Post Follow-up to this message
Old Post
Colin Paul Gloster
09-23-04 08:59 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Java Help archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:22 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.