JBoss Community

Re: Thoughts on ws integration

created by David Lloyd in JBoss AS7 Development - View the full discussion

Alessio Soldano wrote:

 

[...]

The domain model additions due to the ws subsystem should be quite trivial; first questions/doubts come when dealing with the deployment instead. As far as I can see, other subsystems define activators that create deployment chains; each of them come with its chain selector and given set of processors that actually deal with the deployment. Selectors seems to trigger the chain processing depending on the kind of the deployment (a war, jar, sar, etc.), or more generally speaking on basic reasoning over the deployment package (name of the virtual file, manifest contents, etc.).

This needs to change in my opinion.  We need to convert to a single deployment unit processing chain, where each processor is responsible for detecting whether it applies to the processed deployment.

 

Alessio Soldano wrote:

 

In AS 5/6 the ws deployers (let's talk about the REAL ones only here) were basically running in between the ejb/web ones, properly modifying (or creating in the case of ejb3 ws deployments) the JBossWebMetaData that was later consumed by the TomcatDeployer.

With the current AS7 architecture, we'd probably need integration hooks for interleaving the ws processors with the web ones. Of course having the web subsystem directly depend on anything in the ws one is not acceptable.

The alternative -defining a new chain for the ws deployment and calling the required web processors in there- is most probably not going to work.

What options do you see here?

Once we flatten it out to one chain, it should just be a question of inserting the processor at the right point to process or create WAR deployment information for the web service endpoints etc.

Reply to this message by going to Community

Start a new discussion in JBoss AS7 Development at Community