Hi, all
First, the system setteing:
Windows XP, Eclipse 3.0, JBoss3.2.3 (I don't know how Eclipse how my JBoss version, I set JBOSS_HOME = C:\jboss3.2.3)
I am follwoing the tutorial. Till the very end of chapter 5. The build output:
Buildfile: C:\eclipse\workspace\Tutorial\xdoclet-build.xml N65540: [ejbdoclet] (XDocletMain.start 47 ) Running <deploymentdescriptor/> [ejbdoclet] (XDocletMain.start 47 ) Running <jboss/> [ejbdoclet] (XDocletMain.start 47 ) Running <remoteinterface/> [ejbdoclet] (XDocletMain.start 47 ) Running <homeinterface/> _xdoclet_generation_: BUILD SUCCESSFUL Total time: 2 seconds
/*
* Generated by XDoclet - Do not edit!
*/
package tutorial.interface;
/**
* Remote interface for Fibo.
*/
public interface Fibo
extends javax.ejb.EJBObject
{
/**
* Business method
*/
public double[] compute( int number )
throws java.rmi.RemoteException;
}/*
* Generated by XDoclet - Do not edit!
*/
package tutorial.interface;
/**
* Home interface for Fibo.
*/
public interface FiboHome
extends javax.ejb.EJBHome
{
public static final String COMP_NAME="java:comp/env/ejb/Fibo";
public static final String JNDI_NAME="ejb/Fibo";
public tutorial.interface.Fibo create()
throws javax.ejb.CreateException,java.rmi.RemoteException;
}Ignore this please. I guess I typed 'interface' instead of 'interfaces' as in the tutorial.
But I do not know why I cound NOT use interface but have to use 'interfaces' ?????