• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Guidance required in creating a CORBA application in JVM 1.3

 
Ranch Hand
Posts: 595
6
jQuery Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 312
MS IE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try searching in the Internet for Java CORBA library compliant to your C++ CORBA version or vice-versa and use the appropriate one.
 
s ravi chandran
Ranch Hand
Posts: 595
6
jQuery Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 312
MS IE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 595
6
jQuery Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Every time you till, you lose 30% of your organic matter. But this tiny ad is durable:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic