I agrees to deploy 2 beans,
And client side needs 2 DI (which means injection of two
EJB objects at client side)
But if I use lookup (initCtx.lookup) based on condition; then only one EJB would be injected (client would be bound / have only one EJB) and can avoid second EJB, which is not needed.
Am I correct?
Thanks.