• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ejb-ref doubt......

 
sanjivcts singh
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Weather it is possible to invoke a ejb on a different server(on different machine), from a EJB on a deifferent server(on different machine)?

If not than what kind of flexibility does the <ejb-ref> element provide?

Is it only provides a solution where in the Bean Provider need not hard-code the JNDI name of the ejb in the code.

He/She(the bean provider) only provides a logical name which the deployer maps to the actual JNDI name. And both the EJB's have to be in the same operational environment(same server, same machine)?

Also is it possible to have the Two EJB's in two different applications servers, but on the same machine(app sever)?

Thanks in anticipation.
 
Severin Stoeckli
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by sanjivcts singh:
Weather it is possible to invoke a ejb on a different server(on different machine), from a EJB on a deifferent server(on different machine)?

Yes, it is definitely possible. But I'm not sure if the lookup has some vendor-specific behaviour or if it is specified. I will have a look to our weblogic env today



Also is it possible to have the Two EJB's in two different applications servers, but on the same machine(app sever)?

Thanks in anticipation.


Same as above...

Severin
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic