Early in the analysis and design stage of a solution, it is common for it architects to search for reference architectures that can be used as input to design the solution architecture.
早在解决方案的分析和设计阶段,IT架构师就可以寻找适当的参考体系结构,然后以参考体系结构作为设计解决方案体系结构的基础。
Application Server 6.1 provides an elegant solution for implementing this design pattern by allowing the association of custom parameters with a consumer reference.
Application Server 6.1允许将自定义参数与使用者引用关联,从而提供了实现此设计模式的一流解决方案。
Another solution is to design code that avoids side effects in reference types wherever possible unless those changes are part of the contract that the called code is fulfilling for the caller.
另一个解决方案是设计代码,尽可能避免副作用在引用类型,除非这些变化是合同的一部分,被调用的代码是调用者实现。
应用推荐