Improve company productivity with a Business Account.Sign Up

x
?
Solved

Calling EJB's from a C program

Posted on 2001-08-13
3
Medium Priority
?
257 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
ID: 6382401
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 600 total points
ID: 6442083
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
ID: 6444165
Many Thanks!
0

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.

580 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