Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB Application with two data sources

 
vartika vaish
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I have an application which needs to access two different database sources both in oracle.

I am developing this application in eclipse.

In this application i have one web component and one ejb component, How do i connect same ejb with two Data Source connections. When i right click on the project and update the properties then i can select only one jndi name. So i am confused.

Kindly Help
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which Java Application Server are you using?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic