CMP without entity beans ?

Discussion in 'Java' started by sc_wizard29@hotmail.com, Jul 15, 2007.

  1. Guest

    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 !
     
    , Jul 15, 2007
    #1
    1. Advertising

  2. wrote:
    > 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 ?


    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
     
    =?ISO-8859-1?Q?Arne_Vajh=F8j?=, Jul 21, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tim

    Entity beans and CMP

    Tim, Jan 30, 2004, in forum: Java
    Replies:
    0
    Views:
    346
  2. Andrea Sansottera

    no cmp field defined in cmp ejb

    Andrea Sansottera, Jul 16, 2004, in forum: Java
    Replies:
    0
    Views:
    417
    Andrea Sansottera
    Jul 16, 2004
  3. Torsten Schmeissel
    Replies:
    0
    Views:
    443
    Torsten Schmeissel
    Apr 29, 2005
  4. Lord0
    Replies:
    4
    Views:
    464
    Lord0
    Sep 8, 2008
  5. markla
    Replies:
    1
    Views:
    584
    Steven Cheng
    Oct 6, 2008
Loading...

Share This Page