--- Luiz-Otavio Zorzella <[EMAIL PROTECTED]>
wrote:
> Hi,
> 
> I'm creating both EJB Value Objects as well as
> Struts Form Beans from my
> Entity Beans. What I would like to do is have access
> to methods that
> could convert from one to the other, so I could
> avoid a long list of:
> 
> value.setXXX (form.getXXX ());

AFAIK, There are is something to achieve this in
jakarta sandbox - uses reflection etc. 

And not a big deal to wrire it yourself. 


> Another semi-related question. I tried the tag
> <entityfacade>, but the
> file generated wanted me to be using the old Data
> Objects, rather than
> the new Value Objects. Any way to auto-create
> facades using Value Objects?

There is issue on JIRA about improvement of entity
facades:
http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-44

Currently they are very beta ( nevertheless usefull in
some cases ) - so please state your ideas there. 

regards,

=====
Konstantin Priblouda ( ko5tik )    Freelance Software developer
< http://www.pribluda.de > < play java games -> http://www.yook.de >
< render charts online -> http://www.pribluda.de/povray/ >

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


-------------------------------------------------------
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