This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
Web Service client with SOAP attachment
Content Type For File Upload
Frameworks/Options to create a good frontend
Integer converts to 2 octet integer?
Can static methods cause any kind of overhead?