Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB

 
Bram Maes
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Raghu Kodali and Jonathan Wetherbee,

I was wondering if there is a real future for EJB. Isn't it like that, that there's a movement going on, where a lot of application developers prefer POJOs ?? Maybe the success of frameworks like Spring also shows this ?

Personally I also think that EJB are overused...

What do you think ?
 
Sami Kosonen
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmm... Personally I like this EJB3 very much because it is about programming POJOs.
 
Bram Maes
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So - if I understand well- this means your EJB has a behavior ? (business-methods?)
 
Sami Kosonen
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, there can be business methods in EJBs.

Here is quite nice and short summary about EJB3 (Reinventing EJBs)
 
Raghu Kodali
author
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bram,
You are correct in saying that POJO's have been widely used and proven to work also. EJB 3 specification has taken these proven practices like POJO model, that have been used in many frameworks like (TopLink, Hibernate, Spring,...), and made them part of the specification.

The neat thing about the EJB 3 specification, is that you are now using the proven model and top of that it you will also benefit of the specification being a standard as well.

-raghu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic