*
The moose likes EJB and other Java EE Technologies and the fly likes How to connect to client Database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How to connect to client Database" Watch "How to connect to client Database" New topic
Author

How to connect to client Database

Yingie Lee
Greenhorn

Joined: Jul 16, 2003
Posts: 7
WHen we are developing a J2EE application, we have entitybeans that built based on our database tables. After the EAR file is assembled and sent to the client company, do we need to clone a same database for client in order to make our entitybeans work?
Any input will be hight appreciated. Thanks.
Kishore Dandu
Ranch Hand

Joined: Jul 10, 2001
Posts: 1934
It depends on how you designed your entity beans. some times the entity beans that are created are a composite entity bean that is not a one to one representation of a table.
In many cases, the entity beans that are involved in the overall system are designed based on different criteria like legacy connectivity, database schema at hand etc.
So, you sure need to look at your client's database schema and decide if you need to tweak your entity bean.
Dan.


Kishore
SCJP, blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to connect to client Database