Friday, September 14, 2001 11:04 PM
I need to implement EJB connectors for multiple database types(DB2, Oracle) that will give me the possibility to access datas and retrive the information. But i can have DB2 databases( with the same tables ) on multiple servers and i need a dynamic connector that will have a parameter databaseURL. This is possible to implement with a Session EJB that will create the connection dynamic. If i want to use CMPEntityBean i need an entity for every DB2 database on every server. So i have a question: can i use a single BMP EntityBean that will connect to one of database server according to a parameter - databaseURL ?
Is like an EntityBean that map rows from a distributed database ? Thanks.