Discussions

EJB programming & troubleshooting: when to use BMP

  1. when to use BMP (3 messages)

    Hi,
       Can any one explain, when to use BMP and its advantage.

    Regards
    SamyMohan

    Threaded Messages (3)

  2. when to use BMP[ Go to top ]

    I suppose the advantage of BMP is you get a bit more control over the SQL that is used to access your database, disadvantages are that you have to write more code and take care of releasing connections etc.

    Hope this helps

    Ian Purton
    Website Uptime and Availability | Permission Email List Management | Website Traffic Analysis | All Time Top 100 Albums
  3. when to use BMP[ Go to top ]

    For the basic control over SQL we can use Session beans i think.what is the specific reason for prefering BMP rather than Session bean.
  4. when to use BMP[ Go to top ]

    Please read http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html chapter 30.