If I understand right, you want to convert some of your CMPs to POJOs. We do the same thing using DAO/DTO patterns. The DAOs have JDBC code written into them for the findByPrimary and other finders as well as insert, update, and delete methods. The methods all use DTOs as parameters or return values. We use a product called Firestorm to generate all this code from the DB schema. Many other comparable products exist.