Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • 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:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

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!