• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB and JSP  RSS feed

 
Mahesh Kulkarni
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm new to Javaranch
Can I use EJB objects in JSP. If yes please let me know how.
I tried with the same code of servlet for getting the initial context in jsp but it is not working.
Please help me.
Mahesh
 
Julia Reynolds
Ranch Hand
Posts: 123
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the weblogic web site has an example of this.
Also you can check the JBOSS site. I think it is much better to
put the ejb access code in a bean, though, and include the bean in a jsp.
Julia
 
Mahesh Kulkarni
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanx Julia
Mahesh
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!