Solved

Calling EJB's from a C program

Posted on 2001-08-13
3
242 Views
Last Modified: 2010-04-15
Is it possible to call APIs developed as EJB's from C programs?  If not, then what would be an alternative to call these within having to rewrite the C code?

Thanks!
0
Comment
Question by:heismann
3 Comments
 
LVL 1

Expert Comment

by:Aggarwal
Comment Utility
One possibility can be writting a Java program that calls Ejb's and call  this Java stuff from C !!!!!

What i feel ..if we can call Java program ( function from C) ..why not cal EJB ?????

Try to post this question in Java Section as well ????
0
 
LVL 1

Accepted Solution

by:
MatthewL earned 200 total points
Comment Utility
Hi Hiessmann,

I believe Aggarwal is pointing you toward JNI (Java Native Interface) and specifically to the invocation api (invoking the JVM from within C/C++)

The following link I have found to be useful.

http://www.symbolstone.org/technology/java/nmbook/index.html

Matt
0
 

Author Comment

by:heismann
Comment Utility
Many Thanks!
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now