• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Ejb NotSerializableException ???

 
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a session bean and some other entity beans. the entity beans have only local interface because only the session bean will use them. but when I invoke the session bean from the web layer, the weblogic tell me java.io.NotSerializableException error. Is that mean I cannot set the entity beans to local?
any help is appliciate!
 
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Remote Session Bean to colocated Local Entity Bean is fine.
Are the parameters passed to your Session Bean and the value returned Serializable? If not, then you have a problem.
[ September 26, 2002: Message edited by: Chris Mathews ]
 
Sean Li
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
u mean only the value transfered between the web layer and the session should be seriable. but how about the values between the session bean and the entity bean?
in face, the weblogic told me that the implementation of the entity bean's local home interface has NotSerializableException.
I've check my code times, but found no error. could somebody help me??
 
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
maybe it is deployment matter, too.
how you deploy your EJB(application), is it in the same jar file(ear file)? or development in exploded directory?
 
reply
    Bookmark Topic Watch Topic
  • New Topic