Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

Sponsored Links

Optimize with a SATA RAID Storage Solution
Range of capacities as low as $1250 per TB. Ideal if you currently rely on servers/disks/JBODs

Smarter Java development

Use interfaces to effectively enforce development contracts while maintaining loose coupling of code

  • Print
  • Feedback

Page 4 of 4

The only drawbacks to this scheme are the fact that there is some overhead associated with the creation and casting of objects, and the fact that more code is required to first specify the interface and then code the class that implements the interface. These two drawbacks seem insignificant, though, compared to the vast number of benefits. Coding to interfaces can help developers and managers alike. This scheme is a valuable tool that can be used in the development of Java-based systems.

About the author

Michael Cymerman is a senior consultant at Divya Incorporated (www.divya.com), a consulting firm specializing in Java/Internet software solutions. Michael provides Java/Internet based architecture, design, and development solutions to Fortune 500 companies.
  • Print
  • Feedback

Resources