![]() |
|
![]() |
| LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Senior Member Join Date: Aug 2006 Age: 29
Posts: 279
Thanks: 0
Thanked 5 Times in 5 Posts
Rep Power: 6 | ENTITY BEAN QUESTION? Q.) When do we use entity beans in a project and when do we use the different types of entity beans? |
| | |
| | #2 (permalink) |
| Senior Member Join Date: Dec 2006
Posts: 695
Thanks: 3
Thanked 17 Times in 13 Posts
Rep Power: 11 | Re: ENTITY BEAN QUESTION? when ever your application need to maintain persistance in database side, u can use enitity beans, Entity beans are two types CMP's and BMP's.In CMP's container maintain the persistance where as in BMP's bean provider maintain the persistance. To add, in CMP container handles queries to database and so it is good when interacting/deploying in various database environments. While in BMP bean developer has to write SQL queries to load and store data to and from a given database table. This is the reason it is not recommended in enviroments where databases may change. Because SQL queries have to be rewritten for that database. |
| | |
![]() |
| Tags |
| bean , entity , question |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Java Contest-13 with answers | keerthi | JAVA Technologies | 8 | 31-12-06 09:44 AM |
| Interview questions you may be asked | yathish | HR Questions | 6 | 24-12-06 08:35 PM |
| Simple (??) question: List test cases for File/Open feature in Microsoft Word | slinkanand | Testing Tools & QA | 2 | 01-11-06 07:18 PM |
| very good Question | Unregistered | Success Stories | 1 | 11-09-06 04:53 PM |
| CA | vista | Other Queries | 2 | 14-04-06 01:49 AM |
| More Interview Questions Here... |