Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

Tutorials
  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences


Referenced by
Main




JSPWiki v2.2.33

[RSS]


Hide Menu

XDocletStruts


Difference between version 7 and version 2:

At line 1 changed 1 line.
XDoclet (currently) only supports generating ActionForms using the the EjbDocletTask. This means that the <strutsform> task must be nexted in an ejbdoclet task. This is easy enough to configure, but when you do not use any EJBs in your project (or j2ee.jar), it can be a pain to include j2ee.jar in your classpath. ''Why?'' Because j2ee.jar (for 1.3.1) is over 6 MB!! That's a big .jar file that's required only at build time - especially when you're storing your jars in CVS.
XDoclet (currently) only supports generating ActionForms using the the EjbDocletTask. This means that the <strutsform> task must be nested in an <ejbdoclet> task. This is easy enough to configure, but when you do not use any EJBs in your project (or j2ee.jar), it can be a pain to include j2ee.jar in your classpath. ''Why?'' Because j2ee.jar (for 1.3.1) is over 6 MB!! That's a big .jar file that's required only at build time - especially when you're storing your jars in CVS.
At line 3 changed 3 lines.
__My Solution__
Trim down the j2ee.jar to only contain those classes in javax.ejb package, then put it in your xdoclet classpath - at 41 KB, it's much more rational to check it into CVS.
__My Solution__\\
Trim down the j2ee.jar to only contain those classes in javax.ejb package, then put it in your xdoclet classpath - at 41 KB, it's much more rational to check it into CVS.

Back to XDocletStruts, or to the Page History.