473,698 Members | 1,888 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1594
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.l earn.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_Keit h) 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
1995
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 definition to the prototype for Object. Is there any way to do that in php 5? I could make every one of my classes inherit from like an Object class that I define, but that kind of sucks.
0
2531
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: Python Web-SIG <web-sig at python.org> Status: Draft Type: Informational Content-Type: text/x-rst Created: 07-Dec-2003
6
677
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
3003
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
8804
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 changed". This is very much against my instincts. Can anyone offer some solid design guidelines for me? Thanks in advance....
0
1007
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 interface, and the actions (mostly buttons), have to take place in the xml-file. My purpose is doing it all with pure XML (DOM) and Java... So, no description of the actions etc. in Java, but all of that in XML. The only thing the Java code does, is...
5
3609
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
1296
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 developed application? Could anybody suggest or if any body has implemenetd this let me know the steps. -PSB
2
3389
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 different from each other?. Thanks in advance PSB
0
8600
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9155
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9018
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8890
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8858
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7711
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6517
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4614
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
1997
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.