Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

duplicate classes generated while creating a ejb webservice in WSAD 5.1

 
Sunil Chowdry
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all, I am a new comer to Java Ranch.

I am trying to create a simple ejb service with IBM WSAD5.1 and I am running into issues.
I have a ejbProject. The ejb uses a class called Employee.java which actually resides in a seperate project call utilProject.
Now, while I create the ejb webservice, WSAD is generating another Employee.java in ejbProject.
I understand why WSAD is creating Employee_Helper Employee_Ser, Employee_Deser classes ,
but why generate Employee.java again?
I am running into class loading related issues because of this presence of dupulicated classes?

any insight please?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34410
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sunil,
Welcome to Javaranch!

I think it is generating the class because it is needed both by the web service and any clients. Try to draw an imaginary line between your projects to see which projects are used by the web service and which are used by the client. Is it possible you are refering to web service server code from client or vice versa?
[ June 18, 2004: Message edited by: Jeanne Boyarsky ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic