Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

How to convert com to ejb  RSS feed

 
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
------------------
 
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
 
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
Boost this thread!