Permalink
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (16 sloc) 1.22 KB
<h1>helloworld: Helloworld Example</h1>
<p>Author: Pete Muir</p>
<h2>What is it?</h2>
<p>This example demonstrates the use of <em>CDI 1.0</em> and <em>Servlet 3</em> in JBoss AS 7 or JBoss Enterprise Application Platform 6.</p>
<h2>System requirements</h2>
<p>The example can be deployed using Maven from the command line or from Eclipse using
JBoss Tools.</p>
<p>To set up Maven or JBoss Tools in Eclipse, refer to the
<a href="https://docs.jboss.org/author/display/AS71/Getting+Started+Developing+Applications+Guide" title="Getting Started Developing Applications Guide">Getting Started Developing Applications Guide</a>.</p>
<h2>Deploying the application</h2>
<p>To deploy the application to JBoss AS 7 (or JBoss Enterprise Application Platform 6) using Maven, start the JBoss application server and type</p>
<pre><code>mvn package jboss-as:deploy
</code></pre>
<p>The application is deployed to <a href="http://localhost:8080/jboss-as-helloworld">http://localhost:8080/jboss-as-helloworld</a>. </p>
<p>You can read more details in the
<a href="https://docs.jboss.org/author/display/AS71/Getting+Started+Developing+Applications+Guide" title="Getting Started Developing Applications Guide">Getting Started Developing Applications Guide</a>.</p>