我有一个大型的单块into应用程序,我希望把它分解成更小的模块。作为第一步,我想更改包层次结构,它现在看起来如下: - dao - booking // possibly containing more sub packages ... etc etc (there are a bunch of others as well) - booking // possibly containing
假设我想定义一个接口,它表示对远程服务的调用。public interface ExecutesService<T,S> { public T executeSecondService(S obj); public T executeFourthService(S obj);现在,让我们看看实现
public class ServiceA implements Exe