Skip to Main Content
Component- Oriented Development and Assembly
book

Component- Oriented Development and Assembly

by Piram Manickam, S. Sangeetha, S. V. Subrahmanya
December 2013
Intermediate to advanced content levelIntermediate to advanced
298 pages
7h 27m
English
Auerbach Publications
Content preview from Component- Oriented Development and Assembly
31
ComPonent thinking in Java
e AgeCalculator class has been modified to implement ComponentInterface
in addition to the AgeCalculatorIfce business interface that it implements.
ComponentInterface is just a marker interface (an interface that does not dictate
any operation to be implemented but is used for marking a class to be of a certain
type). e source code for ComponentInterface is defined in the Component
M o d e l.j a r library and is presented below:
package codabook.componentmodel;
public interface ComponentInterface {
}
e ComponentModel.jar library also hosts the ComponentRegistry, whose
source code is presented below:
package codabook.componentmodel;
import java.util.HashMap;
import java.util.Map;
public class ComponentRegistry {
static ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Large-Scale, Component-Based Development

Large-Scale, Component-Based Development

Alan W. Brown

Publisher Resources

ISBN: 9781466580992