[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.webtools] Re: unable to .wtpmodules file

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.

Cheers,
Larry

exquistinguisher wrote:
i am following http://www.eclipse.org/webtools/community/tutorials/ejbtutorial/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 dependencies.
this is my test.jsp
<html>
<body>
<%
com.zoo.Tiger tiger = null;
try{
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();
System.out.println(str);
%>
</body>
</html>


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.
Bye