Generating EJBs with Xdoclet
Based on xdoclet 1.3
In this example I will create a simple HelloWorld stateless entitybean and create jboss and websphere deployment descriptors.
I used the following file structure:
.
|-- build-dist.properties
|-- build.xml
|-- etc
| |-- application.xml
| |-- jboss
| | `-- jndi.properties
| |-- merge
| | |-- jboss-service.ent
| | |-- jboss-webservices.ent
| | `-- weblogic-security-role-assignment.xml
| `-- websphere
| |-- deploy_helloworld.jacl
| |-- jndi.properties
| |-- was.properties
|-- lib
| |-- xdoclet-1.2.3.jar
| `-- all other xdoclet jars
|-- lib-samples
| |-- ejb.jar
| |-- jboss-j2ee.jar
| |-- jmxri.jar
| |-- jsf-api.jar
| |-- readme.txt
| |-- servlet.jar
| |-- struts-1.1-beta-2.jar
| |-- velocity-1.4-dev.jar
| `-- webwork.jar
|-- src
| `-- com
| `-- jankester
| `-- tryout
| |-- client
| | `-- HelloWorldEjb.java
| `-- ejb
| `-- session
| `-- HelloWorldBean.java
The lib directory contains the xdoclet libs, the lib-samples directory I used for some additional libraries. Further I made use of libs that are part of the websphere 6 installat
ion.
The most important files in this listing are build.xml, and HelloWorldBean.java. The HelloWorldEjb.java file is just a client file that will call the EJB.
The HelloWorldBean.java and build.xml are just adaptions of samples that come with the xdoclet 1.2.3.
Generating EJBs with Xdoclet
Based on xdoclet 1.3
In this example I will create a simple HelloWorld stateless entitybean and create jboss and websphere deployment descriptors.
I used the following file structure:
.
|-- build-dist.properties
|-- build.xml
|-- etc
| |-- application.xml
| |-- jboss
| | `-- jndi.properties
| |-- merge
| | |-- jboss-service.ent
| | |-- jboss-webservices.ent
| | `-- weblogic-security-role-assignment.xml
| `-- websphere
| |-- deploy_helloworld.jacl
| |-- jndi.properties
| |-- was.properties
|-- lib
| |-- xdoclet-1.2.3.jar
| `-- all other xdoclet jars
|-- lib-samples
| |-- ejb.jar
| |-- jboss-j2ee.jar
| |-- jmxri.jar
| |-- jsf-api.jar
| |-- readme.txt
| |-- servlet.jar
| |-- struts-1.1-beta-2.jar
| |-- velocity-1.4-dev.jar
| `-- webwork.jar
|-- src
| `-- com
| `-- jankester
| `-- tryout
| |-- client
| | `-- HelloWorldEjb.java
| `-- ejb
| `-- session
| `-- HelloWorldBean.java
The lib directory contains the xdoclet libs, the lib-samples directory I used for some additional libraries. Further I made use of libs that are part of the websphere 6 installat
ion.
The most important files in this listing are build.xml, and HelloWorldBean.java. The HelloWorldEjb.java file is just a client file that will call the EJB.
The HelloWorldBean.java and build.xml are just adaptions of samples that come with the xdoclet 1.2.3.
Based on xdoclet 1.3
In this example I will create a simple HelloWorld stateless entitybean and create jboss and websphere deployment descriptors.
I used the following file structure:
.
|-- build-dist.properties
|-- build.xml
|-- etc
| |-- application.xml
| |-- jboss
| | `-- jndi.properties
| |-- merge
| | |-- jboss-service.ent
| | |-- jboss-webservices.ent
| | `-- weblogic-security-role-assignment.xml
| `-- websphere
| |-- deploy_helloworld.jacl
| |-- jndi.properties
| |-- was.properties
|-- lib
| |-- xdoclet-1.2.3.jar
| `-- all other xdoclet jars
|-- lib-samples
| |-- ejb.jar
| |-- jboss-j2ee.jar
| |-- jmxri.jar
| |-- jsf-api.jar
| |-- readme.txt
| |-- servlet.jar
| |-- struts-1.1-beta-2.jar
| |-- velocity-1.4-dev.jar
| `-- webwork.jar
|-- src
| `-- com
| `-- jankester
| `-- tryout
| |-- client
| | `-- HelloWorldEjb.java
| `-- ejb
| `-- session
| `-- HelloWorldBean.java
The lib directory contains the xdoclet libs, the lib-samples directory I used for some additional libraries. Further I made use of libs that are part of the websphere 6 installat
ion.
The most important files in this listing are build.xml, and HelloWorldBean.java. The HelloWorldEjb.java file is just a client file that will call the EJB.
The HelloWorldBean.java and build.xml are just adaptions of samples that come with the xdoclet 1.2.3.
Generating EJBs with Xdoclet
Based on xdoclet 1.3
In this example I will create a simple HelloWorld stateless entitybean and create jboss and websphere deployment descriptors.
I used the following file structure:
.
|-- build-dist.properties
|-- build.xml
|-- etc
| |-- application.xml
| |-- jboss
| | `-- jndi.properties
| |-- merge
| | |-- jboss-service.ent
| | |-- jboss-webservices.ent
| | `-- weblogic-security-role-assignment.xml
| `-- websphere
| |-- deploy_helloworld.jacl
| |-- jndi.properties
| |-- was.properties
|-- lib
| |-- xdoclet-1.2.3.jar
| `-- all other xdoclet jars
|-- lib-samples
| |-- ejb.jar
| |-- jboss-j2ee.jar
| |-- jmxri.jar
| |-- jsf-api.jar
| |-- readme.txt
| |-- servlet.jar
| |-- struts-1.1-beta-2.jar
| |-- velocity-1.4-dev.jar
| `-- webwork.jar
|-- src
| `-- com
| `-- jankester
| `-- tryout
| |-- client
| | `-- HelloWorldEjb.java
| `-- ejb
| `-- session
| `-- HelloWorldBean.java
The lib directory contains the xdoclet libs, the lib-samples directory I used for some additional libraries. Further I made use of libs that are part of the websphere 6 installat
ion.
The most important files in this listing are build.xml, and HelloWorldBean.java. The HelloWorldEjb.java file is just a client file that will call the EJB.
The HelloWorldBean.java and build.xml are just adaptions of samples that come with the xdoclet 1.2.3.
Comments