This week's book giveaway is in the Spring forum.
We're giving away four copies of Spring in Action (5th edition) and have Craig Walls on-line!
See this thread for details.
Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Is there anyone who uses entity bean in his/her real enterprise project?  RSS feed

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am wondering if entity bean useful or not. In my project, I use DAO/VO/Ibatis SQL map with session bean.
 
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by benjik wang:
I am wondering if entity bean useful or not. In my project, I use DAO/VO/Ibatis SQL map with session bean.



The decision of which persistence mechanism to use, depends of the non functional requirements of you project. Some of the most important non functional requirements are: scalability, availability and performance.

The container CMP model is very good to respond large scale application, since it can control the application increasing over the access. As an good application designer, you should be able to design an architecture that could respond with scalability. this means that:

Ok, you did use SLSB + DAO + VO + Ibatis, but,

are your application scalable ?

The number of users are restricted to the resources machine available or can be increased by adding more machines (horizontal scalability) ?

Your developer�s team are experienced in SQL to use manually hard coding in the DAO components, or, they are not able to write good sql queries ?

Talking about performance, EJB CMP 2.0 now responds with an good response as if you use BMP ( or the Session - DAO approach ). Using local interfaces, you can provide a more complex and scalable solution for your application, because the beans will reside in the same JVM, and you can use CMR�s.

The short answer is: Yes, Entity Beans are commonly used ! But, it depends of several factors as you can see.

Best Regards,
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!