• Post Reply Bookmark Topic Watch Topic
  • New Topic

Multiple datasources

 
Keith Sims
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was trying to figure out the best way to display items from several databases and then place orders which would be a write to multiple databases. Which design pattern is best suited for these two scenarios ? I must use the AppServer datasource connection pool. What can be the possible problems with using EJBs in this situation, if any ?
 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is not really a SCWCD question -- probably more something for the EJB and J2EE forum.
- Peter
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just make sure your JDBC datasources are enabled for JTA and everything should be peachy.
Kyle
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!