<!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;">
    How do I deploy the JBoss Remoting examples in JBoss AS 5.1?
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/zoo9000">Ken Williams</a> in <i>JBoss Remoting</i> - <a href="http://community.jboss.org/message/559453#559453">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>&#160; Hi,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160; I've downloaded the JBoss Remoting 2_5_3_SP1 zip file and am able to build and run the SimpleServer and</p><p>&#160; SimpleClient examples from the command line, using ant, as described in the documentation.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160; I now want to run the SimpleServer and SimpleClient examples in my JBoss AS 5.1 server but I'm a bit confused</p><p><span>&#160; about how to do it. The docs (</span><a class="jive-link-external-small" href="http://docs.jboss.org/jbossremoting/2.5.3.SP1/html/ch12.html" target="_blank">http://docs.jboss.org/jbossremoting/2.5.3.SP1/html/ch12.html</a><span>) only show </span></p><p><span>&#160; me how to run them from the command-line. I read the article here (</span><a class="jive-link-external-small" href="http://onjava.com/pub/a/onjava/2005/02/23/remoting.html" target="_blank">http://onjava.com/pub/a/onjava/2005/02/23/remoting.html</a><span>)</span></p><p><span>&#160; but I'm not sure what config file(s) I should edit. This (</span><a class="jive-link-external-small" href="http://community.jboss.org/wiki/Remotingexampleservicexml" target="_blank">http://community.jboss.org/wiki/Remotingexampleservicexml</a><span>)</span></p><p>&#160; example config file looks interesting, but there are no service.xml files in my JBoss installation - there's plenty</p><p>&#160; of jboss-service.xml files but they look different. I also watched the flash-demo</p><p><span>&#160;&#160; (</span><a class="jive-link-external-small" href="http://docs.jboss.org/jbossas/remoting/demo/JBossRemoting_demo.htm" target="_blank">http://docs.jboss.org/jbossas/remoting/demo/JBossRemoting_demo.htm</a><span>) but this doesn't tell me what config</span></p><p>&#160;&#160; files to change and how, either. So basically, I'm note sure what config files to edit (create ?) or how.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160; I'm also not sure how I would actually deploy the SimpleServer.class and SimpleClient.class files. I assume I</p><p>&#160; don't copy the .class files anywhere and they don't seem to belong in a .war file which can be deployed either.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160; I should perhaps point out that I'm more of a web-component developer (Servlets, JSPs, etc) and not worked </p><p>&#160; much with 'mbean's (message beans ??) and services before.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160; If anyone can help me I'll happily write up a step-by-step tutorial for people.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160; Regards</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160; Ken Williams</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/559453#559453">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Remoting at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2050">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


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

</div>

</body>
</html>