Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

reuse of EJB

 
Titu singh
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
the basic feature of EJB is u can reuse it. i would like to know that in real life projects is it normal practice? if yes then how it is different from reusing ur java class?
regards,
titu.
 
Rufus BugleWeed
Ranch Hand
Posts: 1551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An EJB lives in an abstraction known as a container. This container provides the EJB access to services in a standardized manner. A java class does not have access to these services.
These services are designed to reduce the complexity associated with developing enterprise quality applications that horizontally scale.
The standardization helps a project add people that know J2EE without growing them.
The standardization helps to move components from on vendor's container to another.
 
Titu singh
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for ur reply.
i'm sorry that i forget the role of container (services of container) while asking comparison b/w reuse of EJB and java class.
i would be thankful to u if u write few line regarding reuse of EJB.

regards,
titu.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic