This content has been marked as final.
Show 11 replies
-
1. Re: Guvnor project layout
jervisliu Jan 12, 2009 1:28 AM (in response to michaelneale)
So there are 5 top level "modules" - folders in SVN. As jervis pointed
out, he is structuring guvnor-repository to actually be 2 or more
modules (the atom module for instance) - but that is ok, just
subfolders is fine.
Actually I would prefer separating the atom module from the repository module. This is because the atom module will depend on a lot of third-party libraries such as JAX-RS implementation (Apache CXF for example), Abdera, HttpClient etc, which are totally irrelevant to the repository core. With the nice separation, we will be able to release the distribution of our repository core (and its dependencies) in a very small package. -
2. Re: Guvnor project layout
marklittle Jan 12, 2009 6:12 AM (in response to michaelneale)Does it make sense to release the repository without any way of access it remotely?
-
3. Re: Guvnor project layout
jeffdelong Jan 12, 2009 10:28 AM (in response to michaelneale)You listed:
4: guvnor-drools: The Drools Guvnor rule management tools (web
interface and related compiler tools)
Is there similar functionality for services? I.e. a services specific web interface and possible tools to create deployment archives, etc.? -
4. Re: Guvnor project layout
jervisliu Jan 12, 2009 11:29 AM (in response to michaelneale)"mark.little@jboss.com" wrote:
Does it make sense to release the repository without any way of access it remotely?
So for example, we may release a special bundle which is repository + webDAV. In this case, it wont make sense if we have to include atomPub or JAX-RS related jars in this bundle because the repository module has dependencies on atomPub and JAX-RS. -
5. Re: Guvnor project layout
marklittle Jan 12, 2009 11:52 AM (in response to michaelneale)So webDAV is more fundamental to the core than REST? I'm just wondering why the differentiation.
-
6. Re: Guvnor project layout
jervisliu Jan 12, 2009 9:21 PM (in response to michaelneale)"mark.little@jboss.com" wrote:
So webDAV is more fundamental to the core than REST? I'm just wondering why the differentiation.
No, I view the repository module as the back end core, the GWT/Ajax based GUI, AtomPub/REST or webDAV are just different interfaces that allow you to access the back end repository. Potentially we can releases these components in different combinations, such as GWT+Repository, AtomPub + Repository, webDAV + Repository or GWT+AtomPub +webDAV+Repository. Of course over time, we may find AtomPub needs to be integrated with the repository module much more closely than any other access layer modules, i.e., the atomPub is more like a built-in capability of back end repository core. But even in this case, the separation of the atomPub module from the repository module still makes it easier to manage dependencies in maven. -
7. Re: Guvnor project layout
michaelneale Jan 12, 2009 9:47 PM (in response to michaelneale)"jervisliu" wrote:
So there are 5 top level "modules" - folders in SVN. As jervis pointed
out, he is structuring guvnor-repository to actually be 2 or more
modules (the atom module for instance) - but that is ok, just
subfolders is fine.
Actually I would prefer separating the atom module from the repository module. This is because the atom module will depend on a lot of third-party libraries such as JAX-RS implementation (Apache CXF for example), Abdera, HttpClient etc, which are totally irrelevant to the repository core. With the nice separation, we will be able to release the distribution of our repository core (and its dependencies) in a very small package. -
8. Re: Guvnor project layout
michaelneale Jan 12, 2009 9:49 PM (in response to michaelneale)"jervisliu" wrote:
Actually I would prefer separating the atom module from the repository module. This is because the atom module will depend on a lot of third-party libraries such as JAX-RS implementation (Apache CXF for example), Abdera, HttpClient etc, which are totally irrelevant to the repository core. With the nice separation, we will be able to release the distribution of our repository core (and its dependencies) in a very small package.
You can make a submodule - that is fine. Just only one top level folder is my idea. -
9. Re: Guvnor project layout
michaelneale Jan 12, 2009 9:57 PM (in response to michaelneale)"jeffdelong" wrote:
You listed:
4: guvnor-drools: The Drools Guvnor rule management tools (web
interface and related compiler tools)
Is there similar functionality for services? I.e. a services specific web interface and possible tools to create deployment archives, etc.?
Not sure what you mean - this is really just drools-guvnor from the drools SVN, moved across and using drools deps rather then a module of the drools project (so it can have separate releases). -
10. Re: Guvnor project layout
marklittle Jan 13, 2009 8:03 AM (in response to michaelneale)"jervisliu" wrote:
"mark.little@jboss.com" wrote:
So webDAV is more fundamental to the core than REST? I'm just wondering why the differentiation.
No, I view the repository module as the back end core, the GWT/Ajax based GUI, AtomPub/REST or webDAV are just different interfaces that allow you to access the back end repository. Potentially we can releases these components in different combinations, such as GWT+Repository, AtomPub + Repository, webDAV + Repository or GWT+AtomPub +webDAV+Repository. Of course over time, we may find AtomPub needs to be integrated with the repository module much more closely than any other access layer modules, i.e., the atomPub is more like a built-in capability of back end repository core. But even in this case, the separation of the atomPub module from the repository module still makes it easier to manage dependencies in maven.
Sure, so why treat Atom differently to webDAV? I understand why you'd want to factor the transports from the core, but in which case factor all of the transports. -
11. Re: Guvnor project layout
michaelneale Jan 13, 2009 7:20 PM (in response to michaelneale)ok so we could have repository-atom, repository-webdav and repository-core?
Personally I would put it all in one ball until there is a good reason not to (I guess the advantage to the above is that repository-core doesn't have any servlet dependency needed - its just a plain old library).