• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB or not EJB

 
Ryk Lee
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all ranchers,

I'm a beginner in EJB and I have a query in mind. What are the pros and cons of using EJB against the traditional javabeans? It seems that it's quite complicated to adopt EJB as we have many things to implement as what told in the spec.

Grateful if someone can help. Thanks in advance!

Cheers,
RL
 
karthikeyan Chockalingam
Ranch Hand
Posts: 259
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IMO,
Why to use EJBs
Remote access for a component, project needs to be scalable and hence distributed on more than one server, support multiple client types (for example CORBA and Java clients), CMT which makes life easier

why not to use ?
If you dont need above features.
[ September 21, 2006: Message edited by: karthi keyan ]
 
Mark Spritzler
ranger
Sheriff
Posts: 17290
9
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, if you want to have security and transactions handled for you.

EJB 3.0 makes it just like JavaBeans and is much easier to use than EJB 2.x

Mark
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!