aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB" Watch "EJB" New topic
Author

EJB

Bram Maes
Ranch Hand

Joined: Sep 27, 2006
Posts: 32
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 ?


SCJP 5.0, SCEA part I
Sami Kosonen
Greenhorn

Joined: Sep 14, 2006
Posts: 13
Hmm... Personally I like this EJB3 very much because it is about programming POJOs.
Bram Maes
Ranch Hand

Joined: Sep 27, 2006
Posts: 32
So - if I understand well- this means your EJB has a behavior ? (business-methods?)
Sami Kosonen
Greenhorn

Joined: Sep 14, 2006
Posts: 13
Yes, there can be business methods in EJBs.

Here is quite nice and short summary about EJB3 (Reinventing EJBs)
Raghu Kodali
author
Greenhorn

Joined: Oct 05, 2006
Posts: 18
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: EJB