Tuesday, June 26, 2012

EJB (Enterprise Java Beans) Introduction

Mr . Goni on EJB (Enterprise Java Beans)

  • Enterprise beans an JEE components that implements EJB
  • EJB run in EJB container
    • JEE server
    • EJB Container
    • Web container
    • Application client container
    • Applet container
  • EJB is a server side component
  • Written in the pure java programming language
  • Encapsulates the business logic of an application
  • Types of EJB(Enterprise Java Beans)
    • Session Bean
    • Message Driven
    • Note : Entity beans have been replaced by Java Persistence API entities.
  • When we need EJB
    • If we need to scale our application and handle growing number of user
    • To distribute application in different machines
    • If we need to be sure about data integrity
    • flexible access of shared objects
    • In case of thin client implementation we can use EJB
    • When portability issue arise we will choose EJB as our implementation technology without re thinking

1 comment:

  1. Thanks a lot! You made a new blog entry to answer my question; I really appreciate your time and effort.
    java training in chennai |
    java training in velachery