Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJBProxy or something similar  RSS feed

 
Jimmy B Deacon
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
I have a platform which consist of two different technologies.
One is J2EE platform and second is older platform build with C/C++ language.
In that older platform (C/C++) there is a simple way to make simple JavaBeans.

What I would like to do is to call EJBs running in J2EE platform side from
older C/C++ platform's JavaBeans.

Is EJBProxy a best pattern for that kind of issue? I see a possibility
to call EJBs from C/C++ platform using it's JavaBean. But I would not want
to load every J2EE library to that JavaBean. So, my question is that is it
possible to make JavaBean in C/C++ platform as an EJBProxy which would call
a sessionfacade EJB in J2EE side. After that I could call entity bean etc.

Has anyone implemented anything like that? A EJBProxyBean (JavaBean) called
from C/C++ side with parameters SessionFacadeBean in J2EE container which could then do what ever J2EE platform offers.

Like to here your experiences.

Cheers!
 
Jeroen T Wenting
Ranch Hand
Posts: 1847
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'll either need some sort of library on the client that translates the messages from your C++ application to EJB calls (which would in that case likely involve JNI) or something serverside that does the same (which would not involve JNI but would translate network messages over a standard socket connection into EJB calls).
 
Jimmy B Deacon
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are there any Open Source products available, anyone know?

Cheers,
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!