1. A system for supporting an object-based stateful protocol in a multitenant application server environment, comprising: one or more computers, including an application server environment executing thereon, that includes a plurality of partitions, wherein at least two or more of the plurality of partitions reside on a particular server instance; a client application that initiates a plurality of partition-level connections and one or more domain-level connections to the particular server instance using an object-based stateful protocol; a remote Java virtual machine (RJVM) on each of the client application and the particular server instance for use in managing the partition-level and domain-level connections.