You can specify a pattern for both the remote interface and the home interface. In the pattern attribute the keyword {0} will be expanded out the same as the @ejb.bean name=”” property. So you can make the following changes to your EJB configuration.
1) Open the project properties and select MyEclipse-XDoclet page.
2) Select your EJB configuration
3) Select the remoteinterface subtask and set the pattern attribute to: {0}Remote
4) Select the homeinterface subtask and set the pattern attribute to: {0}RemoteHome
5) Rerun XDoclet
This should generate the files name : HostRemote.java and HostRemoteHome.java.