File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes I/O and Streams and the fly likes Transfer POJO from JVM to .net Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Transfer POJO from JVM to .net" Watch "Transfer POJO from JVM to .net" New topic
Author

Transfer POJO from JVM to .net

K Aditi
Ranch Hand

Joined: Mar 17, 2008
Posts: 89
How do I send a POJO to a .net program? Will serialization work in such cases?

Thanks,


Aditi
Freddy Wong
Ranch Hand

Joined: Sep 11, 2006
Posts: 959

I don't know if it can work. But I know there's an implementation of Java in .NET.
http://www.ikvm.net/

I don't know how reliable it is, though.


SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
My Blog
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19692
    
  20

Perhaps you can use an intermediate format (e.g. XML) to send your objects. XStream can do the converting on the Java side for you.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
J. Noah
Greenhorn

Joined: Nov 15, 2008
Posts: 9
Another choice aside from XML would be to use JSON.


<a href="http://blog.expensivedna.com" target="_blank" rel="nofollow">http://blog.expensivedna.com</a>
K Aditi
Ranch Hand

Joined: Mar 17, 2008
Posts: 89
XStream looks promising! Will look into JSON too.
Thanks,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Transfer POJO from JVM to .net