View RSS Feed

Tutorial

EJB Tutorials

  1. Business Methods

    by
    EJB
    , 01-02-2012 at 07:06 PM
    Business method or business process is the collection of structured and related tasks which create a certain product for specified customers. Let us now code the business methods for addition/deletion and also for the retrieval of the Book Entity Beans objects.

    Java Code: This is an example of business methods
    import java.util.Collection; 
    import javax.ejb.Stateless; 
    import javax.persistence.EntityManager; 
    import javax.persistence.PersistenceContext; 
    import com.visualbuilder.entity.Book;
    ...

    Updated 01-14-2012 at 07:17 PM by EJB

    Categories
    Tutorial
  2. When to use / When not EJB

    by
    EJB
    , 01-02-2012 at 06:45 PM
    When to Use EJB
    • Distributed transactions are needed.
    • Component security needed.
    • Persistence needed.
    • Integration along with the legacy applications are needed.
    • Scalability is needed.


    When not use EJB
    • When one doesn’t require application integration, transactions or other infrastructure like facilities in their application.
    Categories
    Tutorial
  3. Advantages/Disadvantages of EJB

    by
    EJB
    , 01-02-2012 at 06:43 PM
    EJB Advantages
    • To access EJB free security is provided.
    • Declarative transactions are provided.
    • EJBs are cached & pooled. Containers manage the EJB life cycles.
    • Remote access capabilities are present & are clustered for sake of scalability.
    • OO concepts are supported for example inheritance.
    • Usage of attributes or annotation based programming is possible.
    • Free usage & access of complex resources


    EJB Disadvantages
    • Complicated and large specification
    • Increased
    ...
  4. EJB Architecture

    by
    EJB
    , 01-01-2012 at 09:57 PM
    Architecture of EJB is given below. 3 kinds of interfaces are exposed by the help of EJB which are as following:
    1. Home interface
    2. Remote interface
    3. JMS Message Listener Interface

    Name:  25.JPG
Views: 2722
Size:  36.1 KB

    EJB Architecture
    Categories
    Tutorial
  5. What is EJB?

    by
    EJB
    , 01-01-2012 at 09:54 PM
    EJB is multi tier system that is distributed & remote. It supports the protocols for example, HTTP, IIOP and JRMP etc. Rapid development of the versatile, reusable and portable business components takes place across the scalable, middle ware and transactional applications. For J2EE servers, EJB is considered as a specification. System level programming and business logic are present in EJB components for example security, threading, transactions, instance pooling, persistence etc which are managed ...

    Updated 01-15-2012 at 08:50 AM by EJB

    Categories
    Tutorial
  6. EJB Architecture

    by
    EJB
    , 01-01-2012 at 09:53 PM
    EJB is multi tier system that is distributed & remote. It supports the protocols for example, HTTP, IIOP and JRMP etc. Rapid development of the versatile, reusable and portable business components takes place across the scalable, middle ware and transactional applications. For J2EE servers, EJB is considered as a specification. System level programming and business logic are present in EJB components for example security, threading, transactions, instance pooling, persistence etc which are managed ...