Answer: Yes and no, depending on the type of component you want to upgrade.
Product components In general, product components cannot be upgraded by the installer. If the installer detects incompatible versions of product components on the host, you must remove or upgrade these components before installation can proceed.
If the installer finds upgradable versions of Application Server, HADB, Java DB, or Message Queue on the host, it marks them as upgradable in the Choose Software Components page and will upgrade them if you select them. Upgradable versions can mean earlier versions of Java ES or Solaris-bundled versions of Application Server and Message Queue.
Shared components Shared components are automatically upgraded whenever the Java ES installer installs or upgrades a product component. In addition, for certain upgrades or Solaris 10 zones scenarios, you can manually install or upgrade all shared components to Java ES 5 by selecting the All Shared Components item on the Choose Software Components page. These scenarios are described in the Sun Java Enterprise System 5 Upgrade Guide for UNIX. For a general understanding of zones in relation to Java ES, see Appendix A, Java ES and Solaris 10 Zones, in Sun Java Enterprise System 5 Installation Planning Guide.