The migration to src/hot and src/main is now complete in the trunk.
(Sorry for the brief period of time there where the IDE build scripts
were broken). I have created a few apps using the new structure and so
far it just feels much more natural to me.
Btw, this requires absolutely no change in JBossTools. The concept of
action and model are still the same from the perspective of the code
generation tools. It's just that action maps to src/hot and model maps
to src/main, which is the natural place to start. Then, it is up to
the developer to decide when to push action-oriented components (or
any other type of component) into src/main based on the fact that they
no longer need to be hot deployable. Other reasons are when the
developer wants Groovy scripts be compiled or to be able to refer to a
class in components.xml (recall that components.xml cannot reference
by class name the components in src/hot).
-Dan
On Tue, Sep 30, 2008 at 5:05 PM, Dan Allen <dan.j.allen(a)gmail.com> wrote:
> IMO the distinction between model and action is orthogonal to
whether to hot
> deploy or not. For example, where do you put a class that must be loaded by
> the wacl? Model is semantically wrong and action won't work as it is hot
> deployed. Better to educate people about what can be hot deployed vs what
> can't.
Pete and I are in complete sync on this issue.
-Dan
--
Dan Allen
Software consultant | Author of Seam in Action
http://mojavelinux.com
http://mojavelinux.com/seaminaction
NOTE: While I make a strong effort to keep up with my email on a daily
basis, personal or other work matters can sometimes keep me away
from my email. If you contact me, but don't hear back for more than a week,
it is very likely that I am excessively backlogged or the message was
caught in the spam filters. Please don't hesitate to resend a message if
you feel that it did not reach my attention.
--
Dan Allen
Software consultant | Author of Seam in Action
http://mojavelinux.com
http://mojavelinux.com/seaminaction
NOTE: While I make a strong effort to keep up with my email on a daily
basis, personal or other work matters can sometimes keep me away
from my email. If you contact me, but don't hear back for more than a week,
it is very likely that I am excessively backlogged or the message was
caught in the spam filters. Please don't hesitate to resend a message if
you feel that it did not reach my attention.