• Post Reply Bookmark Topic Watch Topic
  • New Topic

reference to an ejb3 (no home interface)  RSS feed

 
Alessandro Ilardo
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,
on a web application we used to declare EJB 2 resources in the web.xml

with the new EJB3 with don't need anymore the Home interface.

Is it now sufficient create a resource locator class which includes something like this?

What's the best approach now to invoke the EJB3 instance in our web application?

Thanks in advance
 
Edvins Reisons
Ranch Hand
Posts: 364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are quite a number of samples that one can consult, like Duke's bank
 
Alessandro Ilardo
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you.
What I did till now, but I haven't test it yet is this:


Does it make sense?
[ May 01, 2007: Message edited by: Alessandro Ilardo ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!