• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Running two Containers on one ServletEngine

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Friends,
I am currently running WAS 3.5.3 and I have two EJB Containers which are running on one Webspehere Instance so the question is --
How can I access these two containers from this servletEngine
When both of the containers are running
I tried with EJBContext but nothing worked out.
Any help in this regard will be really appreciated.
Thanks in advance
Deepak
 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Deepak ,
You can directly access the beans from both the containers.Can u be please more specific about ur problem.
Ram
 
dy191201
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think u didn't understand my question clearly.....
Let me be more clear...
In WAS I created One instance of Application Server and that instance has one ServletEngine and one webapp ok
Now I created Container_1 and Container_2 on that ServletEngine.....Now the question is both the Containers are running fine and from a Servlet in one program I want to access Container_1 and in another program I want to access Container_2
so that how the servletEngine is going to access the Containers..
I know there is some EJBContext from where u can get Container Ref...but I am not able to figure out ....
Thanks for you help
Deepak
 
them good ole boys were drinking whiskey and rye singin' this'll be the day that I die. Drink tiny ad.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic