Can any one explain, when to use BMP and its advantage.
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
Website Uptime and Availability | Permission Email List Management | Website Traffic Analysis | All Time Top 100 Albums
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.
Please read http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html chapter 30.