• 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 ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Mike London

Problem with Jaxb marshalling inside EJB

Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I am having some problem (class cast exception) when I try to marshall an object into its xml representation (all the object classes are generated by jaxb that comes with jwsdp1.3) inside an EJB under WSAD 5.1.
I think it's complaining that the object is not a jaxbobject but the object
is implementing that class though.
However, when I try the same code in a web container (Web app) under WSAD 5.1, the problem does not existed.
Any idea?
    Bookmark Topic Watch Topic
  • New Topic