• Post Reply Bookmark Topic Watch Topic
  • New Topic

Using Entity Beans in application

 
PhaniKiran Patruni
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
we are developing an appplication where in we have
some where around 98 Enity beans....
i want to know whether is this really correct or not since
we are using for almost all tables
the no of tables present are
115
did anybody face a situiation like this
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you wondering whether the number of tables should be exactly the same as the number of entity beans, or whether using entity beans is acceptable in the first place?
 
PhaniKiran Patruni
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No no ....???
I do not mean that number no of tables should be equal to no of Entity Beans but in general is it ok having so many entiy beans in an application
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Too many entities may cause some problem but If I am not wrong Lasses has worked on a project where there were lot of entities. :roll:
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've worked on projects where there are upwards of 100-200 entities without major problems. You are probably fine. However, make sure that you really NEED all of those Entity beans. In particular, look for opportunities to apply the fast-lane reader pattern for very-high volume queries, which is where entity beans often fall down.
Kyle
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!