On Mon, 2003-10-06 at 05:12, Johnathan Conley wrote: > Am having some performance concerns with XDoclet. Am > currently testing on appx 120 ejb's and each pass > takes a considerable amount of time (1.5 minutes) - > even if I remove all tasks except > <deploymentdescriptor>, it takes about 1min 9sec - so > it seems there is substantial overhead in just > spinning up the engine inspecting our source. > This is just 1 of our projects, combined they are > approaching 600ejb's - definitely would like some > performance tips here...
Are all 120 in a single jar, or are they split over multiple jars (and therefore, presumably, multiple ejbdoclet tasks)? If so, you could use an uptodate task in your build script to check each set of source files have changed before you start running xdoclet over them. If not, have you considered partitioning them into more than one jar? (which could still be deployed together in a single ear) > I also note in the WARNING that states it is guessing > class names for a lack of a fully-qualified import or > actual generated classes, that it is talking about 1 > class that is not an EJB - and a 3rd party interface > it implements. > com\company\enterprise\timing\RecurringScheduledEvent.java > --> ActionListener qualified to > com.company.enterprise.timing.ActionListener > ActionListener is a 3rd party interface. > RecurringScheduledEvent is not an EJB. > I have the <ejbdoclet> fileset set to: > <include name="**/*Bean.java"/> > Don't know why it's digging deeper into the > RecurringScheduledEvent Is RecurringScheduledEvent referenced (as a member variable, or in a method signature) in any of your EJBs? In that case, XDoclet needs to know about it and its ancestry (plus anything *it* references, and so on...) It looks like the task isn't able to find ActionListener. You say it's a 3rd party interface; do you have the source, or just a precompiled jar? If the latter, try adding it to the task's classpath. Andrew. > > Thanks > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
