I'm using a AndroMDA EJB3
Cartridge<http://web.aanet.com.au/persabi/andromda/>to generate an ear
plus some custom merge point
mappings.The generated classes hierarchy is like

  - 
RentalServiceBean.java<http://web.aanet.com.au/persabi/andromda/howto/org/andromda/test/howto3/a/RentalServiceBean.java>
  - 
RentalServiceRemote.java<http://web.aanet.com.au/persabi/andromda/howto/org/andromda/test/howto3/a/RentalServiceRemote.java>
  - 
ServiceDelegateBase.java<http://web.aanet.com.au/persabi/andromda/howto/org/andromda/test/ServiceDelegateBase.java>
  - 
RentalServiceDelegate.java<http://web.aanet.com.au/persabi/andromda/howto/org/andromda/test/howto3/a/RentalServiceDelegate.java>
  - 
RentalServiceBase.java<http://web.aanet.com.au/persabi/andromda/howto/org/andromda/test/howto3/a/RentalServiceBase.java>
  - 
RentalServiceException.java<http://web.aanet.com.au/persabi/andromda/howto/org/andromda/test/howto3/a/RentalServiceException.java>

I just override templates/ejb3/SessionRemote.vsl and add @Remote

import javax.ejb.Remote;
@Remote
public interface UserServiceRemote
{
   public com.urmet.vo.UserVO[] getAllUsers();
}


   Error: Unable to distribute usermanagement-1.0-SNAPSHOT.ear: Remote
   interface does not extend javax.ejb.EJBObject:
   com.urmet.service.UserServiceRemote

server.log

   Geronimo startup complete
   18:35:37,875 WARN  [OpenEJB] Auto-deploying ejb UserServiceBean:
EjbDeployment(deployment-id=geronim
   o-deploymentUtil18632.tmpdir/UserServiceBean, container-id=Default
Stateless Container)
   18:35:37,875 WARN  [OpenEJB] Auto-deploying ejb UserDao:
EjbDeployment(deployment-id=geronimo-deploy
   mentUtil18632.tmpdir/UserDao, container-id=Default Stateless Container)

I successfully deploy
calculator-stateless-pojo<https://svn.apache.org/repos/asf/geronimo/samples/trunk/samples/calculator-stateless-pojo/>and
I cannot understand why I cannot deploy my application in the same
way.

Any idea or suggestions?

Reply via email to