-
1. Re: avoid rebuild on deploy
davidjencks Feb 10, 2002 5:14 PM (in response to a_leger)> Hi all,
>
> i'm new on JBoss3.0,
>
> i've got a couple of questions about deployment :
>
> - Does anyone know how JBoss3.0 deployer works (a
> schema will be welcome)?
yes, several people know how it works. If you want to see for yourself, start at MainDeployer. Basically there are 2 steps, first unpack everything in sight and add it to the classpath, then process whatever dd you find with the appropriate deployer (eg. SARDeployer for mbeans, EJBDeployer for ejbs, etc.) A schema won't do you much good, even if you want to spend the time making one for yourself.
>
> - I can't found any implementation classes after an
> application deployment (implementation of CMP2.0
> Entities bean etc...)!
> Where does Jboss hide them ??
> Does an option exist to keep them to avoid rebuilding
> on each server starts ???
Following the lead of the dynamic proxies, (i.e. "no code generation/compilation"), the deployer dynamically generates bytecode to implement the abstract methods and I believe loads it directly without saving it to a .class file