Let A be a Banach algebra and letMbe a unital Banach algebra. For a homomorphism from A into M, we consider M as a Banach right A-module and investigate when M is a retract of A with respect to . We also give characterizations of admitting vector-valued invariant -means in terms of projectivity and injectivity. Finally, we apply these results to abstract Segal algebras.