This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Marshalling Overhead" Watch "Marshalling Overhead" New topic

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?


<a href="" target="_blank" rel="nofollow">Use Code Tags!!</a>
Don't get me started about those stupid light bulbs.
subject: Marshalling Overhead
It's not a secret anymore!