Administrator Administrator [
http://community.jboss.org/people/admin] modified the blog
post:
"Getting started with JBoss Tools, JBoss Maven Integration and Weld"
To view the blog post, visit:
http://community.jboss.org/community/tools/blog/2011/02/02/getting-starte...
--------------------------------------------------------------
JBoss Tools includes the JBoss Maven Integration and Weld feature that enable you to
quickly and easily start developing Weld applications.
h4. Installing JBoss Tools 3.2.0
The best way to install JBoss Tools including the JBoss Maven integration is to start with
http://eclipse.org/downloads/ Eclipse Java EE IDE for Web Developers.
What you then need to do is download appropriate archive for your OS, unpack it and start
Eclipse.
Call *Help>Install New Software...*, click the *Add* button and enter the following
update site:
http://download.jboss.org/jbosstools/updates/development/
http://download.jboss.org/jbosstools/updates/development/
Choose *All JBoss Tools 3.2.0* and *Maven Support*
http://community.jboss.org/servlet/JiveServlet/showImage/38-3567-11285/JB...
http://community.jboss.org/servlet/JiveServlet/downloadImage/38-3567-1128...
Click the *Next* button, accept the license terms and click the *Finish* button.
Click the *OK* button on the *Security Warning* dialog.
http://community.jboss.org/servlet/JiveServlet/showImage/38-3567-11286/JB...
http://community.jboss.org/servlet/JiveServlet/downloadImage/38-3567-1128...
and the *Restart Now* button on the *Software Updates* dialog.
http://community.jboss.org/servlet/JiveServlet/showImage/38-3567-11287/JB...
http://community.jboss.org/servlet/JiveServlet/downloadImage/38-3567-1128...
You have installed JBoss Tools, the JBoss Maven Integration and all required
dependencies.
h4. Installing JBoss AS 6.0 Server
You can perform the following steps to install the JBoss AS 6.0 Server:
Download
http://www.jboss.org/jbossas/downloads JBoss AS 6.0.0.Final and unpack the
archive to some directory.
Call *Window>Preferences>JBoss Tools>JBoss Tools Runtime Detection*
http://community.jboss.org/servlet/JiveServlet/showImage/38-3567-11288/JB...
http://community.jboss.org/servlet/JiveServlet/downloadImage/38-3567-1128...
Click the *Add* button and point to the directory where you unpacked the JBoss AS
6.0.0.Final.
http://community.jboss.org/servlet/JiveServlet/showImage/38-3567-11289/JB...
http://community.jboss.org/servlet/JiveServlet/downloadImage/38-3567-1128...
Click the *OK* button.
The JBoss AS 6.0 Server is created.
h4. Creating weld-jsf-login example
In order to install this example you need to call *Help>Project Examples*
http://community.jboss.org/servlet/JiveServlet/showImage/38-3567-11290/JB...
http://community.jboss.org/servlet/JiveServlet/downloadImage/38-3567-1129...
Select *Weld JSF login example* and click the *Finish* button.
You will then get the weld-jsf-login application in your workspace.
If you are interested in more info on this example, see
http://docs.jboss.org/weld/reference/1.1.0.Final/en-US/html/example.html Weld 1.1.0
Reference - Chapter 3. JSF web application example
h4. Deploying and starting weld-jsf-login application
The following procedure demonstrates how to deploy and start this application:
* Open the Servers view (*Window>Show View>Other...>Server>Servers*)
* Right click the *jboss-6.0.0.Final* server and select *Add and Remove...*
* Select the *weld-jsf-login* application and click the *Add* button
* Click the *Finish* button
* Right click the *weld-jsf-login* project in the *Package Explorer* view and select *Run
As>Run On Server*
* Select the *jboss-6.0.0.Final* server and click the *Finish* button
As a result, the *weld-jsf-login* application will be deployed and executed on the JBoss
AS 6.0 server.
http://community.jboss.org/servlet/JiveServlet/showImage/38-3567-11291/we...
http://community.jboss.org/servlet/JiveServlet/downloadImage/38-3567-1129...
The application includes the JBoss CDI and WTP JSF feature.
http://community.jboss.org/servlet/JiveServlet/showImage/38-3567-11292/fa...
http://community.jboss.org/servlet/JiveServlet/downloadImage/38-3567-1129...
The following examples can be created in a similar way:
* numberguess
* permalink
* pastecode
* translator
h5. References
http://docs.jboss.org/weld/reference/1.1.0.Final/en-US/html/ Weld - JSR-299 Reference
Implementation
http://download.jboss.org/jbosstools/nightly-docs/ JBoss Tools Guides - Latest Version
http://m2eclipse.sonatype.org/ m2eclipse - Maven integration for Eclipse
--------------------------------------------------------------
Comment by going to Community
[
http://community.jboss.org/community/tools/blog/2011/02/02/getting-starte...]