use of business interfaces
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Aaron_Cantrell
Posted On:   Friday, June 21, 2002 01:42 PM

I'm trying to use the remote-business-interface/local-business-interface attributes of the @ejb:bean tag. For example: /** * @ejb:bean type="Stateless" * name="pharm/Scientist" * jndi-name="ejb/pharm/Scientist" * local-jndi-name="ejb/pharm/ScientistLocal" * view-type="both" * transaction-type="Container" * local-business-interface="rac.ejb.ScientistBusinessLocal" * remote-business-interface="rac.ejb.ScientistBusiness"   More>>


I'm trying to use the remote-business-interface/local-business-interface attributes of the @ejb:bean tag. For example:


			
/**
* @ejb:bean type="Stateless"
* name="pharm/Scientist"
* jndi-name="ejb/pharm/Scientist"
* local-jndi-name="ejb/pharm/ScientistLocal"
* view-type="both"
* transaction-type="Container"
* local-business-interface="rac.ejb.ScientistBusinessLocal"
* remote-business-interface="rac.ejb.ScientistBusiness"

...





When I do this, the generated remote and local interfaces do not extend the specified business interfaces. Am I misinterpreting the intention of these attributes? What is the correct way to use them? (or should I just go back to using @ejb:interface... ?)

   <<Less

Re: use of business interfaces

Posted By:   Ara_Abrahamian  
Posted On:   Saturday, June 22, 2002 11:51 AM

Use @ejb:interface instead. local/remote-business-interface wasn't a good idea.


Ara.

About | Sitemap | Contact