Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • 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:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Help on EJB Deployment - Eclipse Kepler

 
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So we are currently analysing if it is feasible to move out from MyEclipse->Eclipse and one of the areas where we are currently stuck is EJB Deploy.

In "MyEclipse" there is an option - 'Run EJB Deploy' which generates ".ejbDeploy" folder with the stubs, tie's and skeletons for the EJB project while in Eclipse Kepler there is "Prepare For Deployment" option(Right Click on Project->Java EE Tools->Prepare for Deployment) which I am presuming does the same thing.

However, when I select 'Prepare for Deployment', it conveniently ignores it and does not do anything, no errors in the ".log" file or elsewhere.

I am not sure what needs to be done to ensure this works the same way as MyEclipse IDE so that it generates ".ejbDeploy" folder like it does in MyEclipse.

Any insights will be helpful.

P.S: We are currently using EJB 2.1 and dont have any plans to move to EJB 3.0 soon so steps related to EJB 2.1 will help. Also, for the purpose of this evaluation, we are using Websphere 7.0 which is the server that we want to use
 
Ranch Hand
Posts: 426
Eclipse IDE Fedora Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The step-by-step configuration instructions can be found here :

http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.stardust.docs.deployment%2Fhtml%2Fapplicationserversetup%2Fwebsphere.html

Follow these, and you will enable the EJB deployment functionality.

In particular, be sure you have the right jars in the Eclipse classpath :

List for jar files for WebSphere 7:

com.ibm.ws.admin.client_7.0.0.jar
com.ibm.ws.ejb.thinclient_7.0.0.jar
com.ibm.ws.orb_7.0.0.jar
List of jar files for WebSphere 8:

com.ibm.ws.admin.client_8.0.0.jar
com.ibm.ws.ejb.thinclient_8.0.0.jar
com.ibm.ws.orb_8.0.0.jar
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you please share the information where did you set the class-path? and where did you place the JARs?
I am getting a similar issue in Eclipse Kepler (3.7.2) - the prepare for deployment option is not doing anything fort me. The stub and tie classes are not generated in the source folder for me.
 
There were millions of the little blood suckers. But thanks to this tiny ad, I wasn't bitten once.
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic