Re: [Xdoclet-user] using local references w/JBoss3

2002-01-03 Thread Jozsa Kristof
On Thu, Jan 03, 2002 at 06:06:52PM +0330, Ara Abrahamian wrote: > > I used view-type="both" in the @ejb:bean tag of ProductBean. If I have > > therefore both the remote and local interfaces generated, is that > possible > > that the remote one is choosed by default when calling, and that > causes

RE: [Xdoclet-user] using local references w/JBoss3

2002-01-03 Thread Ara Abrahamian
> I used view-type="both" in the @ejb:bean tag of ProductBean. If I have > therefore both the remote and local interfaces generated, is that possible > that the remote one is choosed by default when calling, and that causes > the > whole problem? Don't forget to specify both jndi-name and local-j

Re: [Xdoclet-user] using local references w/JBoss3

2002-01-03 Thread Jozsa Kristof
On Wed, Jan 02, 2002 at 09:56:35PM +0330, Ara Abrahamian wrote: > So no "local interface class name in the tag to describe > the local reference" but ejb-name. M'kay. Thanks much for pointing this out.. I believed the problem is with the xdoclet-generated descriptors; seems I was wrong, sorry.

RE: [Xdoclet-user] using local references w/JBoss3

2002-01-02 Thread Ara Abrahamian
> I have an entity bean called Product, it's local interface is called > ProductLocal. If I try to create a local ejb-reference from a facade bean > using this tag: > > @ejb:ejb-ref ejb-name="ProductLocal" view-type="local" > > XDoclet drops this error: > [ejbdoclet] Running XDoclet failed: > [e

Re: [Xdoclet-user] using local references w/JBoss3

2002-01-02 Thread Jozsa Kristof
Narrowing down my problem: I have an entity bean called Product, it's local interface is called ProductLocal. If I try to create a local ejb-reference from a facade bean using this tag: @ejb:ejb-ref ejb-name="ProductLocal" view-type="local" XDoclet drops this error: [ejbdoclet] Running XDocle

[Xdoclet-user] using local references w/JBoss3

2002-01-02 Thread Jozsa Kristof
Hi, Anyone can please either show an example using the @ejb:ejb-ref and the @jboss:ejb-ref-jndi *correctly* to set up a local ejb reference between CMP2 beans, or include such a local reference to the XDoclet-provided City/Country CMR example? I've been stuck for a long time trying to figure that