• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

ejb-ref doubt......

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
https://coderanch.com/t/159617/java-EJB-SCBCD/certification/ejb-ref-works-when-we
 
I have always wanted to have a neighbor just like you - Fred Rogers. Tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic