File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB Application with two data sources

 
vartika vaish
Greenhorn
Posts: 15
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which Java Application Server are you using?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic