File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Marshalling Overhead
 
Similar Threads
Can static methods cause any kind of overhead?
Web Service client with SOAP attachment
Content Type For File Upload
Integer converts to 2 octet integer?
Frameworks/Options to create a good frontend