Home arrow Programmazione arrow Java arrow Convertire un progetto Andromda da Ejb a Pojo
Convertire un progetto Andromda da Ejb a Pojo PDF Stampa E-mail

Scritto da Administrator, 26-11-2007 14:05

Pagina vista : 1548    

Favoriti : 230

Pubblicato in : Programmazione, Java

In questo post descrivo una serie di passi che ho seguito per convertire un progetto AndroMda da progetto basato su Ejb ad un progetto Spring Pojo
Passi:
  1. Editare il file AndroMda.xml: cercare le righe:
      <!-- to remove any dependency on EJB, comment the following property -->
      <property name="session-ejbs">${core.generated.dir}</property>

    ed trasformare in
      <!-- to remove any dependency on EJB, comment the following property
      <property name="session-ejbs">${core.generated.dir}</property>

     -->
  2. Editare il file core/pom.xml: alle prime righe sostituir
    <packaging>ejb</packaging>con
    <packaging>jar</packaging>
  3. Editare il file app/pom.xml: sostituire le righe
     <dependency>
      <groupId>${pom.groupId}</groupId>
      <artifactId>lastampa-core</artifactId>
      <version>${pom.version}</version>
      <type>ejb</type>
     </dependency>
    con
     <dependency>
      <groupId>${pom.groupId}</groupId>
      <artifactId>lastampa-core</artifactId>
      <version>${pom.version}</version>
     
    <type>jar</type>
     </dependency>
    e
     <ejbModule>
      <groupId>${pom.groupId}</groupId>
      <artifactId>lastampa-common</artifactId>
      <includeInApplicationXml>true</includeInApplicationXml>
     </ejbModule>
    con
     <javaModule>
       <groupId>${pom.groupId}</groupId>
       <artifactId>lastampa-common</artifactId>
       <includeInApplicationXml>true</includeInApplicationXml>
     </javaModule>

Ultimo aggiornamento : 26-11-2007 14:05

   
Quote this article in website
Favoured
Print
Send to friend
Related articles
Save this to del.icio.us

Commenti utenti  File RSS dei commenti
 

Valuazione utenti

   (0 voto)

 


Aggiungi il tuo commento
Solo gli utenti possono commentare un'articolo.

Nessun commento postato



mXcomment 1.0.5 © 2007-2012 - visualclinic.fr
License Creative Commons - Some rights reserved
 
Pros. >

 

© 2012 NicoProvenzano.it
Joomla! un software libero rilasciato sotto licenza GNU/GPL.
Thanks to diploD