cancel
Showing results for 
Search instead for 
Did you mean: 

Building EJB archive

Former Member
0 Kudos

How do I build EJB archive from class files in my EJB project (no source codes available) ?

Thanks in advance,

Sudarshan Chakravarty

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sudarshan,

Welcome to SDN forums.

R u using NWDS for developing your EJB project?

If yes then, open J2ee development perspective from menu option windows in NWDS.

Now, in left side, choose J2ee explorer tab. Here, it shows your EJB project. Right click on it and choose Build EJB archive.

Regards,

Bhavik

Former Member
0 Kudos

Hi Bhavik,

thanks. The solution you gave is working fine when I have the source codes in the project. My issue is like this. I have downloaded a EAR file. I extracted the class files from the EAR file and put it in my EJB project. Now, when I try to build my EJB archive, it is disabled on the context menu. It works when we have the source codes with us, but "Build EJB archive" is disabled when we have .class files only. Please suggest a solution for this.

Thanks in advance,

sudarshan Chakravarty.

Former Member
0 Kudos

Maybe you could try to decompile the .class files to get the .java

Regards.

Former Member
0 Kudos

Hi Antonio,

decompiling the .class files will work, but it is against the law probably. Isn't there any other way out for such a situation where I have only class files? Please suggest a solution.

Thanks in advance,

Sudarshan.