This paper proposes the adoption of the Belief-Desire-Intention (BDI) agent model for the construction of component & service-based software systems with self-configuring, self-healing, self-optimizing, and self protecting (self-*) properties. It examines component & service, and agent technologies, and shows how to build a component & service-based framework with agent-like autonomous features. This paper illustrates the design of one such framework, Self-OSGi, built over Java technology from the Open Service Gateway Initiative (OSGi). The use of the new framework is illustrated and tested with a simulated robotic application and with a dynamic service-selection example.