尽管我们创建的简单组件视图不需要这些类,但它们可以跨组件重用,在开发更加复杂的组件时非常有用。
Although not required for the simple component view we are making, they can be reused across components and are of great value when developing more complicated components.
此外该模板知道线程绑定的会话,这个会话可以跨几个方法使用,这在使用事务型仓库时非常有用。
Moreover the template is aware of thread-bound sessions which can be used across several methods, functionality very useful when using a transactional repository.
跨应用创建可重用的软件组件和服务时,力争保持一致性要比符合标准更为重要。
When building software components and services for reuse across applications it is more important to strive for consistency rather than to comply with a standard.
应用推荐