Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Calling EJB's from a C program

Posted on 2001-08-13
Medium Priority
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?

Question by:heismann
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

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 ????

Accepted Solution

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.


Author Comment

ID: 6444165
Many Thanks!

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
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…
The goal of this video is to provide viewers with basic examples to understand recursion 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.

715 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