Better ask in the XDoclet forums. I haven't used XDoclet since the past 6 years, so don't remember if there's any equivalent for those tags. By the way, here's the documentation for JBoss tags http://xdoclet.sourceforge.net/xdoclet/tags/jboss-tags.html
@weblogic.pool => I suppose it is the pool of SLSB instances, it is configured only within the installation
@weblogic.dispatch => do you mean dispatch-policy? there is no attribute for JBoss
I think here it depends on the attributes do you use, I guess you have to use @jboss.resource.......
hope it helps, because migration of EJB2 application is not really easy
If the application is not so big I would prefere to migration to EJB3, but this is often not possible