It really depends on the features that you have used. Some features will be harder to convert than others, but if best practices and standard design patterns were used it should not be too hard.
There is no silver bullet, but we included a chapter on migration that discusses a number of different techniques you can use to convert legacy EJB entity beans into JPA-style entities.