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