Menu

#60 ejbGenerate.xml

v1.0_(example)
open
nobody
None
5
2004-02-20
2004-02-20
Anonymous
No

Hi,

I installed Lomboz 2.1.2 and have a problem when I
generate an ejb-Module. I
followed a tutorial:

http://www.tusc.com.au/tutorial/html/

in which is said, that after generating an ejb-module
with the wizard, a
file named ejbGenerate.xml will be created, but this file
is missing. Can
somebody tell me the reason for that, cause I need this
file for further
developement.

Thank you in advance

Matthias Pieroth

P.S. : I use JBOSS 3.2.1 as in the tutorial

Discussion

  • Nobody/Anonymous

    Logged In: NO

    The file ejbGenerate.xml was replaced by xdoclet.xml

     
  • Nobody/Anonymous

    Logged In: NO

    When working through this tutorial I had trouble generating a
    DAO The destdir listed in the tutorial is incorrect for 3m7. Try
    using this in your xdoclet.xml

    <!-- BEANS START -->

    &lt;fileset dir="$\{project.dir\}/src/"
    

    defaultexcludes="yes">
    <include
    name="au/com/tusc/session/StoreAccessBean.java" />
    </fileset>
    <dao pattern="{0}" destdir="${project.dir}/${ejbsrc.dir}"/>
    <jboss
    version="3.0"
    unauthenticatedPrincipal="nobody"
    xmlencoding="UTF-8"
    destdir="${ejb.dd.dir}"
    validatexml="false"
    datasource="java:/DefaultDS"
    datasourcemapping="Hypersonic SQL"
    preferredrelationmapping="foreign-key"
    />

    <!-- BEANS END -->

     

Log in to post a comment.

MongoDB Logo MongoDB