1. A system for supporting an object-based stateful protocol in a multitenant application server environment, comprising: one or more computers, each computer including one or more microprocessors; an application server environment executing on the one or more computers, wherein the application server environment 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.