Make sure you have <remoteinterface/> and <homeinterface/> in your build.xml file, and change viev-type="remote" to view-type="remote" .

David

--

[EMAIL PROTECTED] escribi�::
oops, make that xdoclet1.2b2

and incidently, if i only use view-type="local" i don't get any remote interfaces.

sincerely
morten wilken

-- Original Message --
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [Xdoclet-user] xdoclet generates both local and remote classes
Date: Tue, 7 Jan 2003 15:54:01 +0100


hi all, i am just trying out xdoclet 2.0b2, adn given the following file:

import javax.ejb.SessionBean;

/**
* @ejb:bean name="Test"
*	jndi-name="jndi/TestBean"
*	type="Stateless"
*  viev-type="remote"
**/
public abstract class TestBean implements SessionBean {

	/**
	 * @ejb:interface-method
	 *	view-type="remote"
	 **/
	public String getHello() {
		return ("hello world");
	}
}

how can make xdoclet create only the remote interfaces and not the local
ones (given that i could have other beans tht needed local interfaces,
so

i cannot remove the <localinterface/> and <localhomeinterface/> from the
ant file)

hope somebody can help
sincerely
morten wilken




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to