Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Values in VO getting lost in Stub

 
Arulanand Dayalan
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am passing a VO from action to DAO and in DAO i am setting values in DAO.
This goes through the EJB Layer. I am facing an problem that some valus in VO gets lost while going through EJB Layer(Stub exactly).

This is the place where it gets lost
Object[] copies = Util.copyObjects(new Object[]{arg0,arg1},_orb());
CallingContext arg0Copy = (CallingContext) copies[0];
wrk_qtr_rptVO arg1Copy = (wrk_qtr_rptVO) copies[1];
wrk_qtr_rptVO result = ((com.wqreports.business.ejb.WQrptMaster)so.servant).genWQRpt(arg0Copy, arg1Copy);
return (wrk_qtr_rptVO)Util.copyObject(result,_orb());

My VO implements serializable interface.
 
Scott Selikoff
author
Saloon Keeper
Posts: 4008
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are types/classes of the values?
 
Arulanand Dayalan
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Scott for looking into my problem. My VO consists of String, int and Arraylist of someother VO objects.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic