Discussion Forum : Remoting
Question - DAO methods require access to the session factory, which can be injected:-
Options:
A .  a setter method
B .  constructor argument
C .  none of the mentioned
D .  all of the mentioned
Answer: Option D


To use the contextual session approach, your DAO methods require access to the session factory, which can be injected via a setter method or a constructor argument.



Was this answer helpful ?
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *