• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

No entity beans in EJB 3

 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I would not go for entity beans for my design because:
From EJB 3, there is no concept of Entity beans. I would not want to redesign the application to replace entity beans after 2 years.

Guys - let me know your thoughts on this.
 
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi deiveehan,
i think the Sun guys won't happy on your thoughts, and such a thing is outside the exam. also, your doubt is outside it too.
 
Ranch Hand
Posts: 187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't think it's true. Entity beans is very mych part of EJB 3.
 
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is not much change in Entity Beans between EJB 2.1 and 3.0, however you can still use Entity beans in EJB3.0 Please read EJB3.0 specification or Mastering EJB 3.0 (free book).
 
Deiveehan Nallazhagappan
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Srinivasan - There are lot of changes in terms of persistence approach in ejb 2x and ejb 3.
Entity beans has been removed (i mean no CMP or BMP) and Pojo based entities are introduced. Sun has standardized the persistence approach through Java Persistence API.

if you are really thinking of a solution on a maintainability perspective, you would really have a second thought on the choosing CMPs for this assignment.

However as Newman has said, since this exam is not on JEE 5 you are free to choose CMP or BMP for this assignment.
 
Sreenivasa Majji
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't think Entity Beans disappered from EJB3.0
Please have a look at http://www.javaworld.com/javaworld/jw-08-2004/jw-0809-ejb.html
 
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI,

For what it is worth. I completed part II and part III a couple of weeks back and have not used entity beans as after many years of playing with entity beans and other persistence mechanisms such as JDO and Hibernate, I do not believe that Entity beans are anywhere near as scalable. Put Simply I do not believe that is the Sun engineers did not agree then the EJB 3.0 spec would not have included a JDO type of persistence mechanism.

I am waiting to get my results back, so Sun may take a look and say I failed cos I never used Entity Beans, however I never saw anything in the requirements that said they had to be used and I saw plenty that said the app needs to be scalable. I did see in the requirements that the architecture needs to be a j2ee architecture, but I think too many people forget that simple Servlets and Jsp's are J2EE components, and there is nothing (as I previously said) in the requirements that says there is a need to use all of the J2EE components.

This is however just my thinking and I have not got my final marks back yet, so I could be wrong.

Mat
 
If you have a bad day in October, have a slice of banana cream pie. And this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic