• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Values in VO getting lost in Stub

 
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 4335
39
jQuery Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What are types/classes of the values?
 
Arulanand Dayalan
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Scott for looking into my problem. My VO consists of String, int and Arraylist of someother VO objects.
 
reply
    Bookmark Topic Watch Topic
  • New Topic