aspose file tools*
The moose likes Distributed Java and the fly likes Guidance required in creating a CORBA application in JVM 1.3 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 "Guidance required in creating a CORBA application in JVM 1.3" Watch "Guidance required in creating a CORBA application in JVM 1.3" New topic
Author

Guidance required in creating a CORBA application in JVM 1.3

s ravi chandran
Ranch Hand

Joined: Dec 20, 2010
Posts: 154
hi,
I need some help in creating one java app. The requirement is to create this App using corba which should work in Jdk 1.3. I have tried out quite many things. At last I had to use Java IDL for that.. But it has too many issues. I cant interact with a c++ app using TAO... using only JVM 1.3 , I had to use naming service on jvm 1.6 for that..

Can anyone suggest a better solution? I tried Jacorb also, but the jdk requirement is not suitable for the current requirement..

Thanks
Madhan Sundararajan Devaki
Ranch Hand

Joined: Mar 18, 2011
Posts: 312

Try searching in the Internet for Java CORBA library compliant to your C++ CORBA version or vice-versa and use the appropriate one.


S.D. MADHAN
Not many get the right opportunity !
s ravi chandran
Ranch Hand

Joined: Dec 20, 2010
Posts: 154
Madhan Sundararajan Devaki wrote:Try searching in the Internet for Java CORBA library compliant to your C++ CORBA version or vice-versa and use the appropriate one.


Actually, in general case the latest version of C++ Corba will be used.. The only restriction is at the Java Corba end is compliance to JVM 1.2 or JVM 1.3. I have tried searching for it... I was working on it for past 3-4 months... But as I test more and more, Java IDL is looking more unsuitable for my task.. But I have no other solution till now, so I am using the same solution for the time being.

The use of JVM 1.3 is the main issue, as its support is usually outdated. Mostly Corba compliant libraries take JVM 1.4 or 1.5 to be the interoperability benchmark.
Madhan Sundararajan Devaki
Ranch Hand

Joined: Mar 18, 2011
Posts: 312

From your posts I understand that you still need to use Java3 and that at the moment you are facing issues is using IDL/CORBA provided by Java3 against other CORBA applications.

The only option I can see is that, you need to start addressing the issues yourself (with assistance from the JavaRanch members) one-by-one using Java3 (quiet time consuming!).
s ravi chandran
Ranch Hand

Joined: Dec 20, 2010
Posts: 154
Madhan Sundararajan Devaki wrote:From your posts I understand that you still need to use Java3 and that at the moment you are facing issues is using IDL/CORBA provided by Java3 against other CORBA applications.

The only option I can see is that, you need to start addressing the issues yourself (with assistance from the JavaRanch members) one-by-one using Java3 (quiet time consuming!).


Thanks, I guess I will have to post many queries here to reach the final phase..

k, then i will start the queries here itself... I have one question for start, please let me know if it voilates any forum rules.

I have a requirement to pass files from one system to another using corba. Now, here I am using Java IDL, as I had specified before. So, this is what I have tried out so far..

I used serialization to convert the File object to byte array and passed this byte array as parameter in a corba method. at the other end, I am de-serializing it and creating File Object.
This logic worked on a local system, but when I try it on LAN, it failed. I get the file name correctly, but the file size is coming as 0 KB. Dont know whats wrong.

I also know that this solution might be a useless one, because if I consider c++ corba interface, which will be the client end and will be sending file to Java corba server. I dont have any idea how it will come through corba and be read at java server end correctly...

Hope I am able to clarify the issue here
Thanks
 
Consider Paul's rocket mass heater.
 
subject: Guidance required in creating a CORBA application in JVM 1.3