Petstore使用了Local Entity Bean来实现Customer Module。相关接口和类分别是:CustomerLocal, CustomerLocalHome and CustomerEJB。
在Petstore中,User Signon module和Customer module是两个没有多大联系的不同的模块,这样就降低了模块间的耦合度,以便于其他的程序可以重用signon module。
类图:
在Petstore中,User Signon module和Customer module是两个没有多大联系的不同的模块,这样就降低了模块间的耦合度,以便于其他的程序可以重用signon module。
类图: