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

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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic