java - get size of object sent over netwok -


i have jboss5 application server ejb deployed it. ejb bean return object graph, how can amount of bytes sent client?

i serialize object graph myself, correct amount of data?

i've not used tool myself looks promising:

http://www.javamex.com/classmexer/

it allow perform following:

long nobytes = memoryutil.deepmemoryusageof(myobjectgraph); 

Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

php - MySQLi multi_query results for later use -