A system for determination of partition identifiers in an application server environment wherein a plurality of deployable resources can be used within the application server environment, the system comprising: one or more computers, including the application server environment executing thereon, wherein the application server environment enables the deployment and execution of software applications and is associated with a domain configuration that is used at runtime to define a domain for execution of the software applications; a plurality of partitions, wherein each partition of the plurality of partitions provides a subdivision of the domain, is associated with a partition configuration, and includes one or more resource groups, wherein a said resource group is defined by a resource group template; a partition-aware container configured to set one or more component invocation contexts; and a component invocation context manager, the component invocation context manager including a stack, wherein the partition-aware container performs one of registering or looking up a current component invocation context at the component invocation context manager, wherein registering the current component invocation context comprises receiving, at a front end component, a request including target information, the target information indicating the current partition, determining, by the partition-aware container, the current component invocation context, and registering, by the partition-aware container via an application program interface, the current component invocation context at the component invocation context manager, and wherein looking up the current component invocation context comprises requesting, by the partition-aware container, the current component invocation context from the component invocation context manager, and setting, within the partition-aware container, the current component invocation context; and wherein the current component invocation context is associated with a current partition of the plurality of partitions. one or more computers, including the application server environment executing thereon, wherein the application server environment enables the deployment and execution of software applications and is associated with a domain configuration that is used at runtime to define a domain for execution of the software applications; a plurality of partitions, wherein each partition of the plurality of partitions provides a subdivision of the domain, is associated with a partition configuration, and includes one or more resource groups, wherein a said resource group is defined by a resource group template; a partition-aware container configured to set one or more component invocation contexts; and a component invocation context manager, the component invocation context manager including a stack, wherein the partition-aware container performs one of registering or looking up a current component invocation context at the component invocation context manager, wherein registering the current component invocation context comprises receiving, at a front end component, a request including target information, the target information indicating the current partition, determining, by the partition-aware container, the current component invocation context, and registering, by the partition-aware container via an application program interface, the current component invocation context at the component invocation context manager, and wherein looking up the current component invocation context comprises requesting, by the partition-aware container, the current component invocation context from the component invocation context manager, and setting, within the partition-aware container, the current component invocation context; and wherein the current component invocation context is associated with a current partition of the plurality of partitions.