Question:What are the differences between service and factory methods? 

Answer factory method is used to define a factory which can later be used to create services as and when required whereas service method is used to create a service whose purpose is to do some defined task. 

+ Report
Total Preview: 978
What are the differences between service and factory methods?
Copyright © 2024. Powered by Intellect Software Ltd