I am going through some blogs on SpringSource and in one of the blogs, author is using
@Inject and I suppose he can also use
Here is the piece of code:
@Inject private CustomerOrderService customerOrderService;
I am not sure about the difference between
@Autowired and would appreciate it if someone explained their difference and which one to use under what situation?