• 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

serializing commons-email SimpleEmail

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

we've been trying to use the commons-email package in order to create email transfer objects that we can send to our ejb classes, populate with a session and send. However, the SimpleEmail class doesn't implement serializable so we can't use it directly as an object in the method signature. I've created a new class called SerializedSimpleEmail which extends SimpleEmail and implements Serializable. However, when we get the object on the other end its empty. There is an object, but none of the fields are populated. We can debug and see that the object that we're sending is populated.

Does anyone have any experience doing what we're trying to do? Any suggestions on how to fix our problem?
reply
    Bookmark Topic Watch Topic
  • New Topic