XDoclet is an open-source code generation library that enables Attribute-oriented programming for Java via insertion of special Javadoc tags. It comes with a library of predefined tags, which simplify coding for various technologies: Java EE, Web services, Portlet etc.
Questions tagged [xdoclet]
41 questions
1
vote
0 answers
Hibernate annotation equivalent of ?
I'm migrating an old application using xdoclet to Hibernate 4 with annotations. I'm having a problem translating the "hibernate.properties" xdoclet tag (which generates as ; in .hbm.xml) to equivalent annotations.…

nclark
- 1,022
- 1
- 11
- 16
1
vote
2 answers
Model a reference documentation and render-engine for a runtime spring-context
I am about to generate a reference documentation for a big bunch of spring-beans that are configured and assembled at runtime. The basis for the documentation is javadoc.
In the first step I collect a map of classname <-> raw-class-documentation…

Bastl
- 2,926
- 5
- 27
- 48
1
vote
1 answer
Automated conversion from XDoclet to annoations
Does anybody know of a way to convert xdoclet to annotations in an automated fashion? It seems to me that it should be possible to have equivalent annotations/annotation preprocessors for anything that xdoclet does but manually converting things is…

benstpierre
- 32,833
- 51
- 177
- 288
1
vote
1 answer
Specify table name for ejb 2.1 many to many relationship
I have an ejb 2.1 m:n relationship.
The table is being created automatically.
The thing is I want to specify the table name that is going to be created by this relationship.
The question:
Does a many to many relationship have an attribute to specify…

Fagner Brack
- 2,365
- 4
- 33
- 69
1
vote
0 answers
Passing a defined pom.xml property to @jboss.entity-command in java class
I have a project with several entity beans and at some point I have
@jboss.entity-command name="informix-serial"
In DEV, my database is MySql but in PRD I have Informix. What I want is to pass some property defined in my pom.xml, associated with a…

MLeiria
- 633
- 1
- 9
- 22
1
vote
0 answers
org.hibernate.TransientObjectException comes when deleting/saving many-to-one relationship in hibernate
I have two tables which has the following structure
@hibernate.class table = "Person"
class Person{
private String name
private Car car
@hibernate.id column = "NAME" generator-class = "native"
@hibernate.generator-param name =…

KPJ
- 79
- 5
0
votes
1 answer
XDoclet Ant Tasks Not Respecting force="true" Attribute
I've been running into some issues with the ejbdoclet Ant task, specifically, it is giving me output such as the following:
[ejbdoclet] XJavaDoc Ignoring class myClass in
/path/myClass.java. It was generated (Wed Mar 28 16:59:12 EDT 2012) after…

rjzii
- 14,236
- 12
- 79
- 119
0
votes
1 answer
XDoclet and JBoss in MyEclipse
I have installed MyEclipse 9.1 (installed from pulse using Eclipse Helios) and I need to integrate with JBoss.
I can see in Servers that JBoss is present till version 6, but when I do properties of the project to add XDoclet from MyEclipse ->…

mzereba
- 2,467
- 5
- 26
- 40
0
votes
1 answer
EJB 2.1-EJB 3.1 Migration process - Tools, Plugins, and docs
in my company we decided to migrate an EJB 2.1 project to EJB 3.1
Currently we use XDoclet to generate some Interfaces of EJB 2.1 classes.
What I am looking for:
Any Tip that can help me during this process
Any Tool or plugin that can assist…

Kayser
- 6,544
- 19
- 53
- 86
0
votes
1 answer
Issue with maven ant plugin for generating hbm files in hibernate using Xdoclet
I am trying to generate hbm files using ant task with maven, however it's running into issues related to classpath. (I am doing this to migrate the project from ant to maven and do not want to change the way hibernate works in the first step). If…

lalit
- 1,485
- 2
- 17
- 32
0
votes
0 answers
EJB 2 STUBS & TIES generation through Maven
Recently I started working for migrating the EJB project to Maven Project. We use EJB 2.0 in our project, I don't know were to start about migration process, currently the existing EJB project includes STUBS & TIES(Through RAD tool we generate the…

Rajshekar
- 1
- 2
0
votes
2 answers
How to increase the number of MDB instances listening to a JMS Queue in Jboss 4
For example, as we configure the number of MDB instances listening to a JMS Queue in ejb 3 as given below,
@ActivationConfigProperty( propertyName = "maxSession", propertyValue = "someNumber")
I want to know how it can be done in EJB 2.1 Jboss…

Chiran K.
- 406
- 3
- 16
0
votes
1 answer
Newest Eclipse's xdoclet builder has StackOverflowError
I update my Eclipse from Neon to newest 2019-12 and I have a legacy project which uses xdoclet to generate EJB interfaces and classes. Neon's xdoclet builder works well but 2019-12's builder encounter StackOverflowError when it is triggered by code…

Magic
- 149
- 1
- 1
- 12
0
votes
1 answer
Xdoclet @spring.bean not generating configuration file properly
I'm stuck using Spring 2.0.8 at the moment (still awaiting sign-off on the upgrade) as I cannot use annotations I though I would use xdoclet to generate the beans config file for a large number of beans I will be writing in the future.
However,…

Elwood
- 4,451
- 4
- 18
- 20
0
votes
1 answer
XDoclet - check annotation from other class
I'm using XDoclet to generate code:
/**
* @diff.special
*/
public String myString;
Now I'd like to generate code depending on this annotation AND an annotation in an other class, i.e.
if annotation in class 1 = diff.special
===> decide what to do…

swalkner
- 16,679
- 31
- 123
- 210