在默认情况下,服务可以是单实例的,也可以为每个请求创建服务实例。
By default, services can be singletons or are created on a per-request basis.
下面是一些标准属性,可以在创建服务实例后在请求上下文上设置它们。
Following are the standard properties that you can set on the request context after the service instance is created.
J2SE客户端可以通过BankingService的两个构造函数创建服务实例。
A J2SE client can use BankingService to create a Service instance via its two constructors.
应用推荐