Questions tagged [xdoclet]

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.

41 questions
5
votes
0 answers

What are some cool Javadoc doclet/templates?

I really don't like the way the default Javadocs look. I like the look of this one better. What are some other templates/doclets I can use for generating better JavaDoc pages?
pathikrit
  • 32,469
  • 37
  • 142
  • 221
4
votes
2 answers

XDoclet, a dead tool?

I am using the latest Eclipse for Java EE & the latest JBoss Tools plugin. Now, I am working on some EJB 2.x code. I cannot find a way to generate the xdoclet-build.xml file like before. After some investigations, I begin to ask myself (and you)…
Alban Soupper
  • 671
  • 1
  • 5
  • 20
3
votes
2 answers

Now that we have annotations in java, is xdoclet legacy?

I came accross the xdoclet project and see it enjoys/ed high popularity. So the question is, now that we have annotations in java: is xdoclet legacy? Or is there something to xdoclet I didn't see/understand.
flybywire
  • 261,858
  • 191
  • 397
  • 503
3
votes
1 answer

entry point for apache torque project

I've a project that contains webroot folder name war and contains a structure like but it doesn't contains a web.xml like other common entry point for web projects.How i start this torque project?What is the entry point for torques web project? my…
Devendra
  • 1,864
  • 6
  • 29
  • 49
2
votes
0 answers

How to run XDoclet strutsconfigxml task in Eclipse Indigo

I have a Dynamic Web Project that uses struts 1 with xdoclet. The jars, including xdoclet-apache-modules-1.2.3.jar, are located in the XDoclet home configured in eclipse. If I right click on the Project -> Properties -> XDoclet -> webdoclet, there…
insipid
  • 3,238
  • 3
  • 26
  • 38
2
votes
1 answer

What is xdoclet? (from a C-programmer point of view)

Question from a C-guy who has to work with some java code that is connected to my C-code via JNI. I have to work on the build-system, and I'm trying to change that from a shell-script to a proper makefile. For the C-part that's easy, but the java…
Nils Pipenbrinck
  • 83,631
  • 31
  • 151
  • 221
2
votes
2 answers

How can I reduce the index size of a hibernate collection (set with composite-element)?

I need to reduce index-sizes because of mssql limit of 900 bytes. I have a class which has a collection declared as a set. Because of this, the primary key consists of all notnull columns including the foreign key. An index is created out of this…
emi-le
  • 756
  • 9
  • 26
2
votes
5 answers

Failed to marshal EJB parameters --- IllegalArgumentException: Can not set org.apache.commons.collections.FastHashMap field

I'm getting the below error while trying to save a search results using the Remote interface for SearchFacade.java "Failed to marshal EJB parameters" Can not set org.apache.commons.collections.FastHashMap field …
lee b
  • 61
  • 1
  • 2
  • 6
2
votes
2 answers

xdoclet vs xdoclet2?

I'm updating an old project & my version of xdoclet complains about my Java 1.5 annontations (ArrayList data = ....) when parsing for Hibernate (hibernate3) tags. So my question is this... Is there a fix for Xdoclet 1.2.3, or should I look to move…
jeff porter
  • 6,560
  • 13
  • 65
  • 123
2
votes
2 answers

Is there a substitute for xdoclet that supports generics?

I have an old EJB (2.1) project that uses xdoclet (1.2.3) to generate the EJB interfaces. Unfortunately xdoclet makes it impossible to use generics in the method signatures. Is there a substitute or other way to to allow generics in the…
Yishai
  • 90,445
  • 31
  • 189
  • 263
1
vote
2 answers

Maven-based Code Generator

I have a need to have a config.xml file in my Eclipse project, and to use that file as the input to a Maven goal. That goal will use config.xml to auto-generate code (both XML and Java) under a generated/ directory (also in my…
IAmYourFaja
  • 55,468
  • 181
  • 466
  • 756
1
vote
0 answers

Using XDoclet to generate openejb-jar.xml,result is empty

Here is my annotations in my managerBean: /** * @ejb:bean name="TestManagerBean" type="Stateless" * transaction-type="Container" view-type="remote" * @ejb:interface generate="none" * …
Herman.gu
  • 13
  • 2
1
vote
0 answers

migrating weblogic ejb 2.0 to jboss ejb 3.0

We are using ejb 2.0, want to upgrade the code to ejb 3.1. In my current code, lot of .java files are being automatically generated using xdoclet and ejbdoclet; I see reference to these xdoclet and ejbdoclets in my build.xml file. When I remove…
Aklim Shaik
  • 161
  • 1
  • 2
  • 8
1
vote
1 answer

Java files generated from xDoclet marked as Critical category by Sonar

Team , We are using xDoclet to generate classes runtime. Sonar reports all classes in Critical category because of rules violation / some Java standards are not adhered in classes generated by xDoclet. This classes are generated automatically hence…
Ashish Patel
  • 507
  • 1
  • 7
  • 14
1
vote
1 answer

Why Eclipse is not allowing me to select EJB Client JAR for a 2.1 EJB Project?

My environment is Java 1.7, Eclipse Luna, WildFly 8.x, XDoclet 1.2.3, Windows 7. I want to create a new EJB 2.1 project using XDoclet. I went to Java EE Perspective. Select File --> New --> EJB Project to open "New EJB Project" window. For the…
ChumboChappati
  • 1,442
  • 4
  • 18
  • 38
1
2 3