Hi all,

I'm having some trouble using the value objects generated by XDoclet in
my small J2EE app. When I create a value object for my bean (NewsBean),
it correctly builds a NewsValue.java file. However, my methods to get
and set the value object are as follows:

/**
 * @ejb.interface-method
 */
public abstract NewsValue getNewsValue();

/**
 * @ejb.interface-method
 */
public abstract void setNewsValue(NewsValue value);

I've made sure to put @ejb.value-object match="*" in my class comment,
and as I said before, it makes the value objects and they look about
right. However upon application deployment, it doesnt seem to work.

The error I get (from Orion) is:
Error compiling /var/tmp/www.acquiesce.net/www.acquiesce.net-ejb.jar:
Method public abstract net.acquiesce.www.ejb.news.NewsValue
net.acquiesce.www.ejb.news.NewsBean.getNewsValue() can not be declared
abstract for entity 'News'


I'd appreciate any help, I'm sure I've probably just done something
stupid along the way!

-- 
Alex Ahern


-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to