业务用例实例 business use-case instance
用例实例 use case instance
或叫实例域、实例字段 instance field
例子、实例 instance
实例、例子 example
因此,除非仔细计划,否则应该避免使用JAX - RS资源的单例实例。
Therefore, use of a singleton instance for JAX-RS resources should be avoided unless carefully planned.
虽然所有Spring管理对象都被默认地当作单例实例来处理,但有些时候还是有必要为某个对象指明一个备用的范围(scope)。
While all Spring-managed objects are treated as singleton instances by default, it is sometimes necessary to specify an alternate "scope" for an object.
在购物车用例实例中,您必须假设对于每个对象您都有一张表,这些对象是指:Cart、CartItem、Article和ArticleDescription。
In the shopping cart use case example you must assume that you have a table for each of the objects cart, CartItem, Article, and ArticleDescription.
应用推荐