aspose file tools*
The moose likes Distributed Java and the fly likes Marshalling Overhead Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Marshalling Overhead" Watch "Marshalling Overhead" New topic
Author

Marshalling Overhead

Tom Johnson
Ranch Hand

Joined: May 11, 2005
Posts: 142
Hi all,
I'm currently studying for a CORBA certification and am wondering if you can help me with the following sample question :

Which one of these has the least marshaling overhead?
1) char
2) octet
3) long
4) struct
5) string

I would go for octet as it maps to a java byte, which needs the smallest number of bits to represent it. Would that be the correct logic to follow?

Cheers
/Tom


<a href="http://faq.javaranch.com/java/UseCodeTags" target="_blank" rel="nofollow">Use Code Tags!!</a>
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Marshalling Overhead