473,406 Members | 2,467 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

How to define a common interface between C and JAVA modules

Maneesh Jun 2, 6:27 pm show options

Newsgroups: comp.lang.java.programmer
From: "Maneesh" <mmano...@gmail.com> - Find messages by this author
Date: 2 Jun 2005 05:57:46 -0700
Local: Thurs,Jun 2 2005 6:27 pm
Subject: How to define common interface between C and Java modules.
Reply | Reply to Author | Forward | Print | Individual Message | Show
original | Remove | Report Abuse

Hi,
How can I define the interface between two subsystems where one is C
based and the other Java based. And once we define that interface, we
need to control it / baseline it.
Thereafter both subsystems should pick up the controlled interface file

and do their release builds with it.
So, if I define the interface using IDL(Interface Definition Language)
- I'd need a utility to generate Java classes and C header files from
the IDL.
And, if I define the interface using XML - I'd need a utility to
generate Java classes and C header files from the XML.
Can someone please help in identifying any other way to meet the
scenario.
-Maneesh

Nov 14 '05 #1
4 1583
On 2 Jun 2005 06:07:20 -0700, "Maneesh" <mm******@gmail.com> wrote in
comp.lang.c:
Maneesh Jun 2, 6:27 pm show options

Newsgroups: comp.lang.java.programmer
From: "Maneesh" <mmano...@gmail.com> - Find messages by this author
Date: 2 Jun 2005 05:57:46 -0700
Local: Thurs,Jun 2 2005 6:27 pm
Subject: How to define common interface between C and Java modules.
Reply | Reply to Author | Forward | Print | Individual Message | Show
original | Remove | Report Abuse
What's this garbage? Google groups is for searching archives, not for
posting. Get a real newsreader and an nntp account.
Hi,
How can I define the interface between two subsystems where one is C
based and the other Java based. And once we define that interface, we
need to control it / baseline it.


[snip]

Not by asking here, it is off-topic. The C language does not define
or support an interface to ANY other language.

You don't specify your platform, but try asking in a group that
supports it. Your particular compiler/OS might offer some extensions
to allow this.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html
Nov 14 '05 #2


Jack Klein wrote:
On 2 Jun 2005 06:07:20 -0700, "Maneesh" <mm******@gmail.com> wrote in
comp.lang.c:
Maneesh Jun 2, 6:27 pm show options

Newsgroups: comp.lang.java.programmer
From: "Maneesh" <mmano...@gmail.com> - Find messages by this author
Date: 2 Jun 2005 05:57:46 -0700
Local: Thurs,Jun 2 2005 6:27 pm
Subject: How to define common interface between C and Java modules.
Reply | Reply to Author | Forward | Print | Individual Message | Show
original | Remove | Report Abuse
What's this garbage?


It's very odd. That's not the normal Google behavior for posting
messages. I'm not sure if that's some option that can be set up or not.
I didn't see anything like that in the setup stuff.
Google groups is for searching archives, not for
posting. Get a real newsreader and an nntp account.


This is untrue. Google is a newsreader and posting agent. It just has
some well-known flaws. What you are complaining about is not (normally)
one of those flaws.

There are some of us who are forced by circumstances to use Google (at
least for the time being) to post messages. Telling people to get other
solutions is not going to make Google go away. You'd be better off
pointing out violations of netiquette to make Google users become
polite members of the newsgroup.


Brian

Nov 14 '05 #3
"Default User" <de***********@yahoo.com> writes:
Jack Klein wrote:
On 2 Jun 2005 06:07:20 -0700, "Maneesh" <mm******@gmail.com> wrote in
comp.lang.c:
> Maneesh Jun 2, 6:27 pm show options
>
> Newsgroups: comp.lang.java.programmer
> From: "Maneesh" <mmano...@gmail.com> - Find messages by this author
> Date: 2 Jun 2005 05:57:46 -0700
> Local: Thurs,Jun 2 2005 6:27 pm
> Subject: How to define common interface between C and Java modules.
> Reply | Reply to Author | Forward | Print | Individual Message | Show
> original | Remove | Report Abuse


What's this garbage?


It's very odd. That's not the normal Google behavior for posting
messages. I'm not sure if that's some option that can be set up or not.
I didn't see anything like that in the setup stuff.


It looks like a cut-and-paste error. I think the poster copied some
of the surrounding text from the web page into the message. It's a
simple user error, not particularly Google's fault.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Nov 14 '05 #4
"Default User" <de***********@yahoo.com> wrote:
Jack Klein wrote:
Google groups is for searching archives, not for
posting. Get a real newsreader and an nntp account.


This is untrue. Google is a newsreader and posting agent.


No, it isn't. Google is a website. If it were a news agent it would be
possible to use it to connect to any Usenet server, using NNTP. It isn't
capable of this, so it is a mere web front for one particular server,
not a news agent.

Richard
Nov 14 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: MrKrinkle | last post by:
I want to universally define the __call() method, so that every class in my application does the same thing if a non-existant function is called. In actionscript I could do this by adding the...
0
by: Phillip J. Eby | last post by:
PEP: 333 Title: Python Web Server Gateway Interface v1.0 Version: $Revision: 1.1 $ Last-Modified: $Date: 2004/08/27 17:30:09 $ Author: Phillip J. Eby <pje at telecommunity.com> Discussions-To:...
6
by: David T. Ashley | last post by:
Hi, In my project, I typically declare and define variables in the .H file, i.e. DECMOD_MAIN UINT8 can_message_201_status_global #ifdef MODULE_MAIN = HAS_NEVER_BEEN_RECEIVED #endif ;
9
by: drhowarddrfinedrhoward | last post by:
I see a number of pages with functions like MM_somefunction(). Where does the MM_ come from? I don't see it in any books I'm studying.
175
by: Ken Brady | last post by:
I'm on a team building some class libraries to be used by many other projects. Some members of our team insist that "All public methods should be virtual" just in case "anything needs to be...
0
by: snuffie_456 | last post by:
Hello, I'm trying to describe a User Interface in XML. Purpose is to parse this file with Xerces and then show it as an Java-user interface (reason: portability). The description of the...
5
by: eiji | last post by:
Hi folks, I hope this is not "off topic"! :-) Consider the next code: /* Declarations of types that could become platform-dependent */ #define MyChar char #define MyInt int
2
by: psbasha | last post by:
Hi, Currently I have created the User Interface using Tkinter module and calling the Python modules. Is it possible to create a Java web based interface and call the Python modules for the...
2
by: psbasha | last post by:
Hi, Is anybody tried using JAVA interface as front end and Python modules in the back end?. If so ,how to integrate the JAVA code with Python modules? How JAVA and Jython are...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.