Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2007

Tip: Looking for answers? Try searching our database.

CMP without entity beans ?

Thread view: 
sc_wizard29@hotmail.com - 15 Jul 2007 23:00 GMT
Hi everyone,

I will soon be working on a EJB 2.1 legacy application (running on
JBoss), so i've started studying "JBoss at work, a practial guide".

In this book, the CMP chapter uses Hibernate ((using .HAR archives)
instead of Entity Beans. As far as I understand, this feature is
specific to JBoss, maybe because Entity Beans are implemented with
Hibernate.

I have the 2 following questions :

- Is the same behavior possible on other application servers ? (ie :
CMP with Hibernate instead of Entity Beans ?)
- Let's say I want to use another persistence strategy (ex : Ibatis or
straight JDBC), can I still use CMP ?

Thanks for helping !
Arne Vajhøj - 21 Jul 2007 21:35 GMT
> I will soon be working on a EJB 2.1 legacy application (running on
> JBoss), so i've started studying "JBoss at work, a practial guide".
[quoted text clipped - 10 lines]
> - Let's say I want to use another persistence strategy (ex : Ibatis or
> straight JDBC), can I still use CMP ?

CMP is a term used for one way of using Entity Beans.

Hibernate and JBoss har files are not CMP.

You can use Hibernate in all application servers.

The specific har file packaging is JBoss specific.

Arne


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.