• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to convert com to ejb

 
Tasneem Mirza
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to convert the com components into java beans.Is there any way through which i can call the com components directly to beans instead of redevelopiing the whole thing again
------------------
 
Mark Herschberg
Sheriff
Posts: 6037
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should probably post this on the EJB forum (but then, so should be other topics this week). You can always wrap the com objects with an EJB using JNI. HOWEVER, if the true application resides outside the EJBs, the EJB server will not be able to manage it as easily. For example, if the EJB server creates multiple instances of an EJB, but each instance refers to the same com object, you can end up with concurrency issues. So if you do this, be careful; understand both the com and EJB models, and how you're having them interact.
--Mark
hershey@vaultus.com
 
John Wetherbie
Rancher
Posts: 1449
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am moving this to the J2EE & EJB forum.
John
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic