Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Has anyone passed without using entity beans?

 
dieman nambawan
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've used architecture based on Session Beans directly using DAO's. (I am in the "wait" phase at the moment). I used this aproach before in a real-life application, and it's performance/scalability were satisfactory and coding relatively simple.

I honestly find mixing lifecycle management with object-relational mapping in one component a bad idea. Implementing entity beans is not trivial; one needs to follow some rather complex design rules (Composite entity etc.). They do not add any lucidity into the design, but take away some performance (many CMP implementations are outright SLOW). Hopefully it's changed in the J2EE v. 3...

I would be very interested to know whether someone else skipped the entity beans for the SCEA assignment and got away with it?

Thnx,

D.
[ August 26, 2005: Message edited by: dieman nambawan ]
 
dieman nambawan
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hmmm... noone? That's nice (NOT)!
 
I Roberts
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In theory, there is no reason why you shouldn't be able to submit an assignment without using Entity EJBs. However, the documentation that came with the assignment specifically stated using J2EE technology.

I didn't use Entity EJBs in all the scenarios of the assignment, only the ones that are applicable to Entity EJBs. However, in both cases I justified my reasons for and for not using them. If you have done the same and made your case secure, you should be fine.

I agree, in the real world you really do have to have special scenarios for using Entity EJBs. However, most of the issues surrounding Entity EJBs have been around a lack of understanding on how to use them rather than the technology itself. Unfortunately, J2EE is very unforgiving if done incorrectly. Composite Entity's are not exactly a complex pattern - this is quite basic for any J2EE developer.

Hope this helps and good luck! It will be interesting to know whether or not you have made your case successful.

 
dieman nambawan
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your response Ian!

I thought that a sub-set of J2EE technology is also j2EE technology? If you do use J2EE technology for your project, you don't necessarily have to use ALL that there is?

In any case, I'll post my exam results.

regards,

Dmitry
 
Jeremy Hsu
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yah, DAO that is implemented using JDBC is considered a J2EE technology.
 
I Roberts
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your right. You don't need to use the full J2EE toolset just the tools required to complete the assignment.

Good luck,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic