Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to refer a Javabean in a jsp which accesses anEJB  RSS feed

 
Sree kanth
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do i do the follwoing

I have an EJB a JSP and a Bean. The jsp page(Account.jsp) is invoking itself on form submit. The page is having a usebeantag which uses the JavaBean(AccountBean.class).The javabean inturn is invoking the methods of the EJB(acEJB.class).I am using J2EE deploytool utility to deploy the appln. In 'New Web component' submenu i am adding the jsp and in EJB Component i am adding the Ejb. Where do i specify the Javabean

please help me
 
s penumudi
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess your javabeans should be packaged with your web component. They would go into classes directory of your WEB-INF directory.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!