About Question enthuware.ocejws.v6.2.58 :
Posted: Sat Oct 31, 2015 9:42 am
Under option
@Resource(name="WebServiceContext", type=java.lang.Object.class)
@WebService
public class MathTableImpl { . . . }
you note that
"This is not injecting in the class: it is only creating an entry in the bean's environment."
in the explanation:
"If the type is java.lang.Object, then the resource MUST be injected into a field or a method."
If it is correct to set @Resource on class level with type=java.lang.Object.class the explanation
states what and what Object will be created in the bean's environment?
@Resource(name="WebServiceContext", type=java.lang.Object.class)
@WebService
public class MathTableImpl { . . . }
you note that
"This is not injecting in the class: it is only creating an entry in the bean's environment."
in the explanation:
"If the type is java.lang.Object, then the resource MUST be injected into a field or a method."
If it is correct to set @Resource on class level with type=java.lang.Object.class the explanation
states what and what Object will be created in the bean's environment?