<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Re: Thoughts on ws integration
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/alessio.soldano%40jboss.com">Alessio Soldano</a> in <i>JBoss AS7 Development</i> - <a href="http://community.jboss.org/message/571376#571376">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><blockquote class="jive-quote"><p>Alessio Soldano wrote:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><blockquote class="jive-quote"><p>Thomas Diesler wrote:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Alessio,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>in future we are probably going to see less deployment chains, possibly just one. The web subsystem could be enabled to setup endpoints based metadata that you attach to the DeploymentUnitContext. A (better) alternative would be that the WS DUP registers a WSService that has a dependency on some JBossWebService. When the WSService activates it uses well defined/stable API from the JBossWebService to setup a web endpoint.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>IMHO, this is generally needed because other subsystems like the OSGi <a class="jive-link-external-small" href="http://http://www.osgi.org/javadoc/r4v42/org/osgi/service/http/HttpService.html">HttpService </a>may also need to setup Http endpoints through API. Perhaps you can use</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><a class="jive-link-external-small" href="http://https://jira.jboss.org/browse/JBOSGI-308">[<span>JBOSGI-308</span>] Implement the HttpService ontop of JBossWeb </a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>as the entry point to this discussion. In short, JBossWeb would need to expose a set of well defined services that allows others to setup endpoints.</p></blockquote><p> Yep, thanks for the reply, this alternative would be nice too...</p></blockquote><p>Just to track what Thomas and me had been discussing yesterday, this alternative approach would enable us to design the AS7 integration of ws in a way such that the webservice subsystem can really expose a service for starting/stopping endpoints independently from the deployment. This would basically make&#160; it possible to support the following usecases:</p><ul><li>other subsystems (osgi for instance) can rely on this ws subsystem service providing an endpoint they can depend on</li><li>the declaration of an endpoint can become part of the domain xml, basically allowing for addition of "default" endpoints declaration to the domain</li></ul><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span>Cross link: </span><a class="jive-link-external-small" href="http://community.jboss.org/thread/158869" target="_blank">http://community.jboss.org/thread/158869</a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Message was edited by: Alessio Soldano - added link to osgi dev forum thread on the httpservice requirement</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/571376#571376">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss AS7 Development at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>