i modified my source code as below:1. all service component implement a @Remote interface2. modified jndiPattern to ${project.name}/#{ejbName}/remote in build.xml3. modified jndiPattern to \#{ejbName}/remote in components.properties4.added a file "jndi.properties" into war with