Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to connect to client Database

 
Yingie Lee
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1934
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic