"epbernard" wrote : DTO are no longer useful except for specific cases where 
for eg you don't want only a small subset fo the object information (like a 
search screen showing only a summary of the object proeprties).
  | 
  | If you use JSF and EJB3, I strongly encourage you to check JBoss Seam, 
you'll have more time to spend with your familly :-)

Thanks a lot. The part about seam currently feels a little ironic: We already 
started integrating seams on Thursday. Today should have been a day off for me 
to spent with my family. Instead I spent it on trying to get seam up and 
running. The latest quirk was that I did not have an empty (!) seam.properties 
included in all my ejb modules.
Anyway - it's running now and I can see that it will be a time saver for the 
rest of my project.

The good thing is that you can indeed have your entities split into interfaces 
for the JSF side and implementation (at least while running both on the same 
server):
There are no annotations at all in the interfaces, they are contained in a 
plain old java se jar.
The implementations are (heavily) annotated and seam will instantiate them 
behind the scenes if they are used in jsf's el.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932838#3932838

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932838


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to