1

What are those situations in which is better to inject an instance of a generic object through CDI than to instantiate through SomeObject newObject = new SomeObject() ? With look at performance, architecture, modularity, instance reusability, caching, transactions, etc etc...

Thank you!

Aleksandr M
  • 24,264
  • 12
  • 69
  • 143
Andrea T
  • 3,035
  • 4
  • 23
  • 39

0 Answers0