• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB Client as Jsp

 
RamandeepS Singh
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am new o EJB
I have created a new EJB app . In EJB module i created a package having one interface and one stateless bean


and exported the jar using the eclispe IDE

Then i deployed the jar in Deploy folder of JBoss

I created one folder named client.war in jBoss deploy directory and created 2 Jsp's there

index.jsp


WebClient.jsp


Its not able to find the Bean

Please let me know if i am going wrong

Thanks In Advance

Ramandeep S.
 
Prajakta Acharya
Ranch Hand
Posts: 138
Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

When you deploy the EJB JAR in JBoss, did you see the deployed EJB name on the JBOSS console?
I think there is some issue with the JNDI name with which the EJB is registered on the server.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!