Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


List down the steps for the demonstration of ejp persistence mechanism.



List down the steps for the demonstration of ejp persistence mechanism...

Answer / Nitin Dutta

1. Create an Entity class that represents a database table.n2. Write the Persistence.xml file to configure the JPA provider and database connection.n3. Run the 'ejpc' command to create the persistent unit.n4. Implement the EntityManager in your EJB, such as Stateless Session Bean or Stateful Session Bean.n5. Use EntityManager methods like find(), persist(), merge(), remove() for CRUD operations.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More EJB Interview Questions

ejbCreate in Entity bean and create method in EJB home, have the same parameters?

2 Answers  


What is remote interface in ejb?

1 Answers  


What do you mean by bean managed transaction?

1 Answers  


What is difference between ejb 1.1 and ejb 2.0?

1 Answers  


What are the key features of the ejb technology?

1 Answers  


What is ejb client?

1 Answers  


What is entity bean?

1 Answers  


Where a bean can be used ?

1 Answers  


What is ejb framework?

1 Answers  


What is EJB server provider?

1 Answers  


What is ptp model?

1 Answers  


What is mdb?

1 Answers  


Categories