aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes duplicate classes generated while creating a ejb webservice in WSAD 5.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "duplicate classes generated while creating a ejb webservice in WSAD 5.1" Watch "duplicate classes generated while creating a ejb webservice in WSAD 5.1" New topic
Author

duplicate classes generated while creating a ejb webservice in WSAD 5.1

Sunil Chowdry
Greenhorn

Joined: Jun 18, 2004
Posts: 1
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

Joined: May 26, 2003
Posts: 30762
    
156

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 ]

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: duplicate classes generated while creating a ejb webservice in WSAD 5.1