Is it possible to write two EJB's that share the same Remote and Home interfaces, and have different bean classes? if so, what are the dvantages/disadvantages?

Dan Christopherson

It's certainly possible. In fact, there's an example that ships with the Inprise Application Server of an Account interface with separate implementations for CheckingAccount and SavingsAccount, one of which was CMP and one of which was BMP.

Note that if you just want to map the same EJB to two data sources, you can just deploy it twice under different names.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact