Discussions

EJB programming & troubleshooting: Entity Beans.( CMP and BMP)

  1. Entity Beans.( CMP and BMP) (3 messages)

    I know about CMP and BMP.

    In CMP.. if the container manages the database calls...why do everyone go for BMP....Why we go for adding complexity in the code using BMP ?

    Threaded Messages (3)

  2. Entity Beans.( CMP and BMP)[ Go to top ]

    hi,
      In some occasion,such as :one need to operate two more tables at once.CMP is not as convinient as BMP.
    I think that's the reason.

    zhousr
  3. Entity Beans.( CMP and BMP)[ Go to top ]

    And one more reason is that if your are changing the application server, the deployment descriptor has to be changed for each application server for the container managed fields. But deployment needs less work for BMP for different servers.
  4. Entity Beans.( CMP and BMP)[ Go to top ]

    I cannot find the documentation of CMP beans. Can someone point me out to the ins and outs of CMP EJB's.
    I would think CMP is a very important feature of EJB's and find it very disturbing there is little information about CMP.