Xdoclet is from some 3rd party API just for helping like genearting xml files or some code , which will done by
IDE's these days .
So better suggest don't use Xdoclet whose learning curve is big and waste your time on this .
SO for standard coding , which will be much easier , so for your question
I am trying to use the EJB3.0 stateless SB in 2.0
For accessing
ejb 3 beans the look up coding is not standardized yet and depends on server .