Results 1 to 2 of 2

Thread: use c++ and java

  1. #1
    fhm21cn is offline Registered User
    Join Date
    Apr 2005
    Posts
    3

    use c++ and java

    hi,
    if i want to use c++ as a server and java as a client,what can i do?
    i think it can do the work!

  2. #2
    benoit's Avatar
    benoit is online now ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi,

    You can easily try this with the Ice demos. For example, if you installed Ice from a binary distribution and compiled the C++ and Java demos, something like the following should work:

    Code:
       $ cd Ice-2.1.1/demo/Ice/hello
       $ ./server
    
       $ cd Ice-2.1.1/demoj/Ice/hello
       $ java Client
    Please check the top-level README or README.DEMOS file for information on how to setup your environment to run the demos.

    Benoit.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Is the ICE for Java based on Java NIO?
    By Jiangyubao in forum Comments
    Replies: 1
    Last Post: 03-30-2008, 06:04 PM
  2. 1 Java Server and 2 Java Clients
    By maalej in forum Help Center
    Replies: 1
    Last Post: 10-06-2007, 05:08 PM
  3. java:type:java.util.Vector
    By jesse in forum Help Center
    Replies: 1
    Last Post: 04-23-2007, 12:49 PM
  4. Replies: 2
    Last Post: 11-24-2006, 03:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •