The Artima Developer Community
Sponsored Link

Java Answers Forum
Serious stuff ........ Java/C++

4 replies on 1 page. Most recent reply: Jul 31, 2002 8:15 PM by Dan Chisholm

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 4 replies on 1 page
Jonathan Paul

Posts: 5
Nickname: jona
Registered: Jul, 2002

Serious stuff ........ Java/C++ Posted: Jul 29, 2002 8:46 PM
Reply to this message Reply
Advertisement
hi
I want to have my server running in Java and client in VC. Can anyone help me find some method so that information exchange in form of binary data i.e. structures etc. can be done. I am desparately in need of help.
Thanks a lot in advance.
Jona


Matt Gerrans

Posts: 1153
Nickname: matt
Registered: Feb, 2002

Re: Serious stuff ........ Java/C++ Posted: Jul 29, 2002 9:17 PM
Reply to this message Reply
Why do you want to do this? Just simple masochism? Why don't you want to use Swing on the client? I think Swing UIs often look better than VC UIs and that would also allow you to easily support other client platforms. Even if you want to support a few of the Windows-specific features, like using the task tray, you handle those with JNI calls (after a platform check).

In any case, you can use XML to pass data from the Java server to the VC client; you might want to look into SOAP or CORBA for something like this, also; I'm not sure what facilities VC++ has these days as far as CORBA goes, but you might need some COM-to-CORBA library. If you are using C#/.Net on the client, that might make it easier.

Jonathan Paul

Posts: 5
Nickname: jona
Registered: Jul, 2002

Re: Serious stuff ........ Java/C++ Posted: Jul 29, 2002 11:51 PM
Reply to this message Reply
thanks a lot.......... well,i guess i will have to look into complex stuff like soap, corba etc. but i would like to ask for a favour........ can u show me a simple way of communication through XML.......... that would be of lot help.
Thanks again

Dan Chisholm

Posts: 11
Nickname: dchisholm
Registered: Jul, 2002

Re: Serious stuff ........ Java/C++ Posted: Jul 31, 2002 7:56 PM
Reply to this message Reply
XML is just a mark up language. If you want to use it for communication, then you first have to agree on a protocol. That's what SOAP is for.

Check out Apache Axis at the following URL.

http://xml.apache.org/axis/index.html

Just install Axis as a Web Application on any server such as Apache Tomcat and run the examples. Axis will allow you to write your services in Java while your clients run on any platform they like. If you sign up for the Axis mail list you will find that a very large percentage of the Axis clients are build on the dot net framework.

Dan Chisholm

Posts: 11
Nickname: dchisholm
Registered: Jul, 2002

Re: Serious stuff ........ Java/C++ Posted: Jul 31, 2002 8:15 PM
Reply to this message Reply
Jonathan,

Are you located in the San Francisco Bay Area? On a contract basis, I would be willing to set up your application as a web service using SOAP.

danchisholm@attbi.com

Flat View: This topic has 4 replies on 1 page
Topic: how to create, store and use a graphic object... Previous Topic   Next Topic Topic: changing the color of row of table

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use