Thanks Yogendra, your post really helped me.
This post definitely works at the time, if you are migrating your project from RAD to Eclipse and have EJB 1.x -2.x in your project.
Did it in RedHat LINUX machine as follows.
WAS 8 installation bin directory (/opt/IBM/Websphere/8.0/Appserver/bin most probably)
open terminal. go to till WAS bin path
WAS 8 installation bin directory > ./ejbDeploy - cp /home/ramesh/a.jar:/home/ramesh/b.jar:/home/ramesh/c.jar /home/ramesh/source.ear /home/ramesh /home/ramesh/target.ear
Here - cp specifies class path, a.jar,b.jar and c,jars are input JAR files for your source.jar (source.ear would generate via Eclipse IDE , File -> export -> enter EAR -> select EAR file from the list. This source EAR is without stub and tie classes.)
/home/ramesh is the working directory where temp files will get generate.
[machine name bin]$ ./ejbdeploy.sh -cp /home/ramesh/a.jar:/home/ramesh/b.jar:/home/ramesh/c.jar /home/ramesh/source.ear /home/ramesh /home/ramesh/target.ear
tap enter
Starting workbench.
EJB Deploy configuration directory: /opt/IBM/WebSphere/8.0/AppServer/profiles/AppSrv01/ejbdeploy/configuration/
framework search path: /opt/IBM/WebSphere/8.0/AppServer/deploytool/itp/plugins
build:RAD8041-I20120428_0424
Creating the project.
Deploying jar c.jar (in my case c.jar is EJB jar generated via IDE without stubs and tie classes)
Validating
Generating deployment code
Invoking RMIC. (RMIC will generate stubs and tie classes for your EJB classes)
Writing output file
Shutting down workbench.
EJBDeploy complete.
0 Errors, 0 Warnings, 0 Informational Messages
[machine name bin]$
target.EAR is your EAR file that needs to be deployed in the WAS server manually . for manual installation of EAR, right click on server -> go to Administration - > run administrative console -> Application - > Application types - > Web sphere enterprise application - > click on install button - > browse for EAR file location - > click on next buttons. -> select the text corresponding to your project and click start button. save the changes in master file
up your web site for validation.
Soon I'll update ANT build file for the above.
Happy coding!
Thanks & Regards
Naga Ramesh