• 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
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Why they made EJB so complicated?

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I almost finished first reading Head first EJB. As I was reading the book, a question was raised .Why did they make EJB so complicated? How is the productivity of developing EJB application? How can company afford hiring experienced J2EE developer or train them?
[ December 13, 2004: Message edited by: lao zhang ]
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The SCBCD exam does not address this issue.

Moving this to the EJB forum. Please continue this discussion there. Thank you
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The much awaited EJB3.0 addresses these issues. It alleviates some of these complexities such as deployment descriptor is now optional. You can specify the bean type, transaction etc as annotations in the file itself. Another improvement is that there is no need to call the unused container callback methods, no home interface at all, and much improved entity design.
 
Ranch Hand
Posts: 8946
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You could use Spring AOP framework before EJB 3.0 becomes a standard. It will take couple of years for EJB 3.0 to be used widely.
 
lao zhang
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes. They should make thing as simple as possible, but not simpler. Coding EJB should be a pleasant job for developer, not torture.
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
One goal was to shift work away from the developer and onto the container. Such frameworks have the highest vale if they are so simple as to be nearly invisible. A question like yours is a good way to judge how well they did. Still, quite a few of us find EJB pays off in real life projects with robust solutions to some pretty tricky problems.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic