Using Java's generics mechanism to improve type safety in the command pattern

  • Authors:
  • Karl Ridgeway;David Bernstein;John Magnotti

  • Affiliations:
  • Rosetta Stone, Ltd., Arlington, VA;James Madison University, Harrisonburg, VA;Auburn University, Auburn, AL

  • Venue:
  • Proceedings of the 46th Annual Southeast Regional Conference on XX
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper discusses ways in which Java's generics mechanism can be used to improve a Remote Procedure Call implementation using the Command and Proxy patterns. Specifically, it shows how generics can be used to specify return types and receiver types.