dev@glassfish.java.net

Re: Existence of sub-dir like web, ejb in module dir.

From: Sahoo <Sahoo_at_sun.com>
Date: Mon, 28 Jul 2008 12:52:35 +0530

Jerome Dochez wrote:
>
> On Jul 25, 2008, at 6:23 PM, Sahoo wrote:
>
>> Jerome,
>>
>> Can you please explain use of sub-directories like web, ejb under
>> modules directory. Who decides which modules go under what sub-dir?
> modules private to a container go into the subdir, anything shared go
> in modules.
Statically determining what modules are needed for a particular
container may not always lead to correct result, as the system can wire
stuff differently.
>> How is it decided? How does it affect packaging spec?
> I don't think it does but I can check.
>> Finally, does the overhead in implementation have enough return of
>> investment?
> well, it's a user feature, I think it would be nice to be able to
> replace or delete containers by just removing a sub-dir and have v3
> continue working fine without any reconfiguration (assuming no
> applications were deployed to that container of course).
I don't get the basic use case. What happens to IPS metadata when user
uses something like "rm" to remove files installed via UC?

Thanks,
Sahoo