If you are expecting WTP to create this file, you would have to be using
a pre-1.0 version of WTP. I believe in WTP 1.0.x, it became
".settings/.component" and in WTP 1.5.x and later it is
> i am new to EJB. i am creating a simple EJB. unable to find .wtpmodules
> file eventhough i am in resource perspective.
> plz help me
There isn't enough detail to tell what isn't working. Normally you
don't manually modify the org.eclipse.wst.common.component file to add
dependencies. Instead, you would go to the J2EE Module Dependencies
page of the project's properties dialog and check sampleEJBClient to add
it as a dependency. Is there some reason the J2EE Module Dependencies
page isn't working for you?
> Thanks Larry & Ed Merks for ur reply.....
> i am using WTP 1.5.x...so i added the following code in the
> <dependent-module deploy-path="/WEB-INF/lib"
> sampleEJBClient is my ejb client. i have added sampleEJBClient in my
> but when i am calling a method i am getting the error "Tiger not bound".
> Tiger is the interface in the sampleEJBClient.
> Plz help me
if i am not adding dependency code in org.eclipse.wst.common.componet then
its giving error at line com.zoo.Tiger tiger=null;
nable to parse jsp page error.
if i add the dependency code then its saying "Tiger not bound".
That tutorial appears to have been written for WTP 0.7x. For reference,
in WTP 1.0.x and later, steps 1 & 2 of the "Using Flexible projects
to link the web module with the an EJB Client module" section can be
accomplished by checking the sampleEJBClient on the web project's J2EE
Module Dependencies page.
I have notions about EJBs and Enterprise Applications, but very little
practical experience. My not terribly educated guess about the "Tiger
not bound" error is that it suggests that the Tiger EJB has not been
successfully deployed to the app server.
> i am following
> http://www.eclipse.org/webtools/community/tutorials/ejbtutor ial/buildingejbs.html
> link for creating the EJB.
> once i add the sampleEJBClient in the javaBuildPath of my test
> application, then sampleEJBClient is also added in J2EE Module
> this is my test.jsp
> com.zoo.Tiger tiger = null;
> com.zoo.TigerHome home = com.zoo.TigerUtil.getHome();
> tiger = home.create();
> }catch(Exception exception)
> System.out.println("exception e==="+exception.getMessage());
> String str=tiger.roar();
> if i am not adding dependency code in org.eclipse.wst.common.componet
> then its giving error at line com.zoo.Tiger tiger=null;
> nable to parse jsp page error.
> if i add the dependency code then its saying "Tiger not bound".
> Thanks a lott.