wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes EJB Application with two data sources Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB Application with two data sources" Watch "EJB Application with two data sources" New topic
Author

EJB Application with two data sources

vartika vaish
Greenhorn

Joined: Apr 15, 2008
Posts: 15
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

Joined: Apr 16, 2008
Posts: 2187
Which Java Application Server are you using?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB Application with two data sources
 
Similar Threads
Spring 2.5 / AbstractTransactionalJUnit4SpringContextTests/ datasource
Looking for JSF Ajax component (or advice how to implement it).
1 or 2 homes
Application Architecture Suggestion
Websphere connecting with Oracle9i-Problem in setting transaction attributes of MDB