Win a copy of The Career Toolkit this week in the Jobs Discussion forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

ejb-ref doubt......

 
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.
 
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
 
There are 10 kinds of people in this world. Those that understand binary get this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic