GeeCON Prague 2014*
The moose likes EJB and other Java EE Technologies and the fly likes Values in VO getting lost in Stub Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Values in VO getting lost in Stub" Watch "Values in VO getting lost in Stub" New topic
Author

Values in VO getting lost in Stub

Arulanand Dayalan
Ranch Hand

Joined: Aug 10, 2005
Posts: 124
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

Joined: Oct 23, 2005
Posts: 3710
    
    5

What are types/classes of the values?


My Blog: Down Home Country Coding with Scott Selikoff
Arulanand Dayalan
Ranch Hand

Joined: Aug 10, 2005
Posts: 124
Thanks Scott for looking into my problem. My VO consists of String, int and Arraylist of someother VO objects.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Values in VO getting lost in Stub