From jbosstools-commits at lists.jboss.org Thu May 7 12:00:22 2009 Content-Type: multipart/mixed; boundary="===============1700643609969746122==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r15112 - trunk/documentation/guides/GettingStartedGuide/en. Date: Thu, 07 May 2009 11:57:11 -0400 Message-ID: --===============1700643609969746122== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2009-05-07 11:57:10 -0400 (Thu, 07 May 2009) New Revision: 15112 Modified: trunk/documentation/guides/GettingStartedGuide/en/master_output.xml Log: https://jira.jboss.org/jira/browse/JBDS-717 - master_output.xml is generate= d; Modified: trunk/documentation/guides/GettingStartedGuide/en/master_output.x= ml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/documentation/guides/GettingStartedGuide/en/master_output.xml 200= 9-05-07 15:56:21 UTC (rev 15111) +++ trunk/documentation/guides/GettingStartedGuide/en/master_output.xml 200= 9-05-07 15:57:10 UTC (rev 15112) @@ -26,16 +26,21 @@ = = = + + + + + ]> Getting Started with JBoss Developer Studio April 2008 2007 - 2009 - JBoss, a division of = Red Hat + 2009 + JBoss, a division of Red Hat - Version: 2.0.0.GA= + Version: 2.0.1.GA= @@ -508,8 +513,8 @@ Get Eclipse and Web Tools - The current version of = JBoss Tools (3.0.0.GA) targets at Eclipse 3.4.2/Ganymede SR2 and WTP - 3.0.3+ + The current version of = JBoss Tools (3.0.1.GA) targets at Eclipse 3.4.2 and WTP + 3.0.4 = Tip: @@ -724,9 +729,9 @@ AS from JBoss Developer= Studio. JBoss Developer Studio sh= ips with JBoss EAP v.4.2 bundled. When you followed the default instal= lation of JBoss - Developer Studio, you should already have a JBoss EAP 4.3 Server installed and + Developer Studio, you should already have a JBoss E= AP 4.3 Server installed and defined. To run JBoss AS you need JDK 1.5, JDK 6 is not formally s= upported yet, although - you may be able to start the server with it. + you may be able to start the server with it. =
@@ -740,9 +745,9 @@ Starting JBoss Server Starting JBoss Server is quite simple. JBoss - Developer Studio allows you to control its behaviour with the help of + Developer Studio allows you to control its = behaviour with the help of a special toolbar, where you could start it in a regular o= r debug mode, stop it or - restart it. + restart it. = @@ -778,8 +783,8 @@ When the server is started you should see Started - in t= he square brackets right next its name in JBoss Server - View. + in the square brackets right next its name in = JBoss Server + View. =
Server is Started @@ -806,9 +811,9 @@ Stopping JBoss Server To stop the server, click the Stop - icon in JBoss Server View or right click the server + icon in JBoss Serv= er View or right click the server name and press - Stop. + Stop. =
Stopping Server @@ -820,7 +825,7 @@
When the server is stopped you will see Stopped - in t= he square brackets next to its name. + in the square brackets next to its name.
@@ -851,14 +856,14 @@ JBoss EAP 4.2 we do= not ultimately tie you to any particular server for deployment. There are some servers that Studio supp= orts directly (via the bundled Eclipse WTP plug-ins). In this section we discuss how = to manage self-installed - JBoss AS. Suppose you want to deploy the application to JBoss 4.2.3 - server. First of all you need = to install it. + JBoss AS. Suppose you want to deploy the application to JBoss 4.2.3 + server. First of all you need to install it.
JBoss AS Installation - Download the binary package of JBoss 4.2.3 and save + Downlo= ad the binary package of JBoss AS, e.g. JBoss 4.2.3 and save it on your computer: http://labs.jboss.com/jbossas/downloads @@ -876,24 +881,24 @@ range. - After = you have the binary archive you want to install, use the JDK jar + After you have the binary archive you want to in= stall, use the JDK jar tool (or any other ZIP extraction tool) to extract= the jboss-4.2.3.GA.zip archive contents into a location of your choice. T= he jboss-4.2.3.GA.tgz archive is a gzipped tar file that requires a gnut= ar compatible tar which can handle the long pathnames in the archive. The = extraction process will - create a jboss-4.2.3.GA directory. + create a jboss-4.2.3.GA directory.
=
- <diffmk:wrapper diffmk:change=3D"changed">Adding and Co= nfiguring JBoss Server</diffmk:wrapper> + Adding and Configuring JBoss Server Now we should add just installed server into server mana= ger in JBoss Developer Studio. - Open the= JBoss Server View by selecting + Open the JBoss Serve= r View by selecting Window > Show V= iew > Other > Server > JBoss Server View @@ -905,7 +910,7 @@ Select - JBoss Community > JBoss 4.2 Server + JBoss Community &g= t; JBoss 4.2 Server @@ -918,21 +923,21 @@ = - - <diffmk:wrapper diffmk:chan= ge=3D"added">Note:</diffmk:wrapper> + + Note: = - Now in the= New Server wizard there is a separation - between the .org servers (the - JBoss Community<= /property> - ca= tegory) and product server that comes bundled with JBoss EAP (the - - JBoss Enterprise Middleware c= ategory). + Now in the New Server wi= zard there is a separation + between the .org servers (the + JBoss Community + category) and product server that comes bu= ndled with JBoss EAP (the + + JBoss Enterprise Middl= eware category). = - To cre= ate a new runtime, which Jboss AS 4.2 matches to, click - Next + To create a new runtime, which Jboss AS 4.2 matc= hes to, click + Next @@ -960,8 +965,8 @@ = - In the n= ext dialog verify the specified information and if something is - unfair go back and correct it + In the next dialog verify the specified informat= ion and if something is + unfair go back and correct it
@@ -1277,17 +1282,13 @@ = The complete information on how to manage JBoss AS from JBoss = Developer Studio you can read in a corresponding chapter. - Now you just need to start the server by clicking on green cir= cle/triangle icon in the - JBoss Server View. - -
- Starting the Server - + Now you just need to s= tart the server by clicking on the Start the server icon ( = + - + - -
+ ) in = the + JBoss Server View.
= Then run the project by selecting the project and use Run As... > Run on Server. @@ -2024,15 +2025,15 @@ Developing a simple JSP web application - + = Note: We highly recommend developing in Seam= . This chapter is for users who for some reason cannot use Seam. - - In this chapter you'll find out how to create a simple JSP application using the - JBoss Developer Studio. The appl= ication will show a classic + = + In this chapter you'll find out how to create a simple JSP application using the + JBoss Developer Studio. The application will show a classic "Hello World!" on the page. We'll assume that you have already launched JBoss Developer Studio and also that the Web Deve= lopment perspective is the @@ -2042,7 +2043,7 @@ Window > Open Perspective > Other...<= /property> from the menu bar and then selecting Web Development from th= e Select Perspective dialog box. - + =
Setting Up the Project @@ -2052,18 +2053,18 @@ Go to the menu bar and select - File > New > Other... - + File > New > Other... + Select - Web > Dynamic Web Project - in the New Project dialog box + Web > Dynamic Web Project + in the New Project dialog box Click - Next - + Next + @@ -2071,10 +2072,10 @@ Then select - Minimal Configuration - from the list of possible configurations and click - Finish - + Minimal Configuration + from the list of possible configurations and click + Finish +
@@ -2085,10 +2086,10 @@
- + = The - jspHello - node should appear in the upper-left Package Explorer + jspHello + node should appear in the upper-left Package Explorer view.
New Web Project @@ -2099,32 +2100,32 @@
- + =
Creating JSP Page This section covers all the points how to create, edit and then pr= eview JSP page. - In our simple application we need to create only one JSP page whic= h displays a - "Hello World!" message. + In our simple applicatio= n we need to create only one JSP page which displays a + "Hello World!" message. - Right click WebContent >= ; New > - JSP. + Right click WebContent > New > + JSP. Type "hello.jsp" for a file name and click the - Next - button. + Next + button. In the next window you can choose a template for your jsp page and= see its preview. Select - New JSP File (xhtml) - template and click - Finish - button. + New JSP File (xhtml) + template and click + Finish + button.
@@ -2141,20 +2142,27 @@
Editing a JSP Page - Let's now make a little change so that a jsp page displays - "Hello World!" message. + Let's now make a little= change so that a jsp page displays + "Hello World!" message. - Insert this line inside the - <body> + + + = + Insert this line inside the = + <body> </body> + + tag: + ]]> - - + + = Notice that content assist functionality is always available when= you are typing:
Content Assist in JSP Page @@ -2165,8 +2173,8 @@
After changes made your - hello.jsp - page should look like this: + hello.jsp + page should look like this:
Hello.jsp Page @@ -2175,21 +2183,21 @@
- + = This line will actually output "Hello - World!" message in the Console<= /property>. To make the + World!" message in the Console<= /property>. To make the message displayed in the Browser, just replace this line with the simp= le - Hello World!. + Hello World!.
- + =
web.xml file When you are creating web project the wizard creates the - web.xml - for you automatically. The web= .xml file editor - provided by JBoss Developer Studio is available in two modes: - Tree and Source. + web.xml + for you automatically. The web.= xml file editor + provided by JBoss Developer Studio is available in two modes: + Tree and Source.
Web.xml in Design and Source Mode @@ -2199,18 +2207,18 @@
Both modes are fully synchronized. Let's add mapping to our - hello.jsp - page in - web.xml - file. + hello.jsp + page in + web.xml + file. Switch to Source tab. - Add the next code into - <welcome-file-list> - : + Add the next code into = + <welcome-file-list= > + : hello.jsp @@ -2219,13 +2227,13 @@ made are automatically reflected in that mode. Actually you don't really need to do any configurations right now= .
- + =
Deploying the project - While creating any web project you could experience a pain writin= g ant scripts and + While creating any web = project you could experience a pain writing ant scripts and managing the packaging even when writing the most trivial web applicat= ions. With - JBoss Developer Studio you are= saved from such a pain. All + JBoss Developer Studio you are saved from such a pain. All you need is to start JBoss Server and launch your application in your favorite browser. You can also create a war archive with JBDS's Archive Tools @@ -2237,9 +2245,9 @@ Select - Window > Show view > Other > = JBoss - Tools > Project archives - from menu bar + Window > Show view > Other > JBoss + Tools > Project archives + from menu bar Select a project in Package Explorer you want to be archived @@ -2258,8 +2266,8 @@ Click, for example, - WAR - option to create war archive + WAR + option to create war archive In the New WAR dialog you= can see automatically selected @@ -2275,22 +2283,22 @@ Click - Next - to see a stub archive configuration for your project: <= figure float=3D"0"> - Stub Archive Configuration - - - - - -
+ Next + to see a stub archive configuration for your project: + Stub Archive Configuration + + + + + +
Click - Finish. The - .war file will appear in Package - Explorer and also in Project= Archives + Finish. The + .war file will appear in Package + Explorer and also in Project Archives view as structure tree:
Archive is Created @@ -2321,19 +2329,19 @@
- + =
Auto redeploy - When you are creating a web application and register it on JBoss - Server it is automatically deployed into - /deploy directory of the server. JBDS comes with= the + When you are creating a web application and register it on JBoss + Server it is automatically deployed into + /deploy directory of the server. JBDS comes with the feature of auto-redeploy. It means that you don't need to restart - JBoss Server. Any changes mad= e in the application in + JBoss Server.= Any changes made in the application in exploded format will trigger a redeployment on the server.
- + =
JSP Page Preview @@ -2344,8 +2352,8 @@ Make a little change to - hello.jsp - page, e.g. put this code snippet: + hello.jsp + page, e.g. put this code snippet: @@ -2353,8 +2361,8 @@ Click - Save - button. + Save + button. Switch to Preview page by clicking = Preview tab at the @@ -2362,56 +2370,52 @@ + + + -->
Launch JSP Project - Let's now launch our project on server. We'll use - JBoss Server that is shipped w= ith JBoss Developer + Let's now launch our pr= oject on server. We'll use + JBoss Server t= hat is shipped with JBoss Developer Studio. You can do it by performing one of the following a= ctions: - Start JBoss Server from JBoss - Server view by clicking the Start icon. + Start JBoss Server from JBoss + Server view by clicking the Start the server icon ( + + + + + ) . -
- Starting Server - - - - - -
+ = Click the Run icon or right click your project folder and selec= t - Run As > Run on Server. <= /emphasis> If you + Run As > Run on Server. If you haven't made any changes in web.xml file or cleared it out you can launch the application by= right clicking the hello.jsp page and selecting - Run on the Server. + Run on the Server ( = + + + + + ).
-
- Run Project - - - - - -
+ = You should see the next page in a Browser :
Running Project @@ -2427,8 +2431,8 @@ shipped with JBDS.
- - + = + = = @@ -3001,25 +3005,24 @@ The Visual Page Editor will open in a screen split betwe= en source code along the top and a WYSIWIG view along the bottom. You can see that = some JSF code will be already generated as we choose a template when creating th= e page. - At the beginning it's necessary to create a - <h:form> - component where all others components are put.= + At the beginning= it's necessary to create a = + <h:f= orm> + component where all others components are put. - Place the mouse cursor inside - <f:view> - - </f:view> - + Place th= e mouse cursor inside = + <f:view> + </f:view> + Go to JBoss Tools Palette and expand JSF HTML fo= lder by selecting it - Click on - <h:form> - tag
+ Click on = + <h:form> + tag
Insert h:form @@ -3144,11 +3147,11 @@
- Switch to Source mode and insert - <br/> - tag after - <h:outputText&g= t; - component to make a new line. + Switch t= o Source mode and insert = + <br/> + tag after = + <h:outputText> + component to make a new line. Click @@ -3161,11 +3164,11 @@ editor, and drop it inside the editor after the te= xt. - Switch to a Source mode and insert - <br/> - tag after - <h:outputText&g= t; - component to make a new line + Switch t= o a Source mode and insert + <= ;br/> + tag after = + <= ;h:outputText> + component to make a new line Click @@ -3250,9 +3253,9 @@ Go to Source mode - Add the validation attribute to - <f:validateLong= Range> - for user input validation + Add the = validation attribute to = + <f:validateLongRange> + for user input validation @@ -3314,37 +3317,41 @@
- In Source mode add - <br/> - tags between - <outputText>= - , - <inputText><= /property> - and - <commandButton&= gt; - components to place them on different = lines + In Sourc= e mode add = + &l= t;br/> + tags between = + &= lt;outputText> + , &= lt;inputText> + and <commandButton> + components to place them on different lines inputnumber.jsp page should look like this: <%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> - - + - - - -
- -
- - - -

- = -
-
+ + + + + + + +
+ +
+ + + +
+
+ +
+
+ ]]>
@@ -3358,17 +3365,24 @@ = - - - - - -

- -
-
+ + + + + + + + + +
+
+ +
+
+ + ]]> Again you can use code assist provided by JBDS when edit= ing jsp page:
@@ -3379,14 +3393,12 @@
- This page, success.jsp, is shown if you correctly guesse= d the number. The - - <h:outputFormat> - tag will get the value of success_text from th= e properties file. The {0} + This page, succe= ss.jsp, is shown if you correctly guessed the number. The + <h:outpu= tFormat> + tag will get the value of success_text from the properties= file. The {0} in success_text will be substituted for by the value of th= e value attribute within - the - <f:param> - tag during runtime. + the <f:p= aram> + tag during runtime. At the end, you have a button which allows you to replay= the game. The action value references a backing bean method. In this case, the = method only terminates the current session so that when you are shown the first page,= the input text box is @@ -3549,7 +3561,7 @@
= - Now in the New Project Example dialog you can = select a project you would like to explore + Now = in the New Project Example dialog you can select a project you would like t= o explore and a site to download it from Project Examples Wizard provides a filter field to = more easily locate the project examples you want, so you can type in the pr= oject you would like to explore in the field. = @@ -3852,135 +3864,163 @@ = Further Reading - - - JSF Tools Reference Guide - (html)= - + + = + + + Se= am Dev Tools Reference Guide + (html) + + This guide helps you = to understand what Seam is and how to install Seam plug-in into + Eclipse. It tells you the necessary steps to start working with Seam= Framework and assists in a + simple Seam Project creation. Also you will learn how to create and = run the CRUD Database + Application with Seam as well as find out what Seam Editors Features= and Seam Components are. - From this guide you'll discover all peculiarities of work at a JS= F project. You'll - learn all shades that cover the process of project creation and take a= closer look at the JSF - configuration file. Also you'll get to know managed beans and how to w= ork with them and - find out, how to create and register a custom converter, custom valida= tor and referenced beans - in a JSF project. - - + = + + Vi= sual Web Tools Reference Guide + (html) provides general orientation and an overview o= f JBDS visual web tools functionality. This guide discusses the following t= opics: editors, palette, web properties view, openOn, content assist, RichF= aces support. = + + + = + + + JBoss Server Manager Reference Guide + (html) + + = This guide covers the basics of working with the JBoss server manager. You= will read how to + install runtimes and servers and quickly learn how to configure, sta= rt, stop the server and know + how deployment and archiving process. You will find out how to manag= e installed JBoss Servers + via JBoss AS Perspective. You will also read how to deploy modules o= nto the server. + + = + + + jB= PM Tools Reference Guide + (html) + + With jBPM Tools Refere= nce Guide we'll help you to facilitate a cross-product + learning and know how you can speed your development using special e= ditors and visual designers. + We'll also guide you through the steps on how to create a simple pro= cess and test it + within jBPM jPDL perspective. + + = + + + Hi= bernate Tools Reference Guide + (html) + + Throughout this guide = you will learn how to install and use Hibernate Tools bath via Ant and + through Eclipse. We'll supply you with the information on how to cre= ate mapping files, + configuration file as well as a file for controlling reverse enginee= ring by using specific + wizards that Hibernate tooling provides. Also you will know about Co= de Generation and + peculiarities of work within Hibernate Console Perspective. + + = + + + ES= B Editor Reference Guide + (html) + + This guide provides yo= u with the information on ESB Editor and all necessary wizards for ESB + files development. + + = + + + JB= oss Portal Tools Reference Guide + (html) + + = The guide gives a detail look at how you can easily build a Portlet Web App= lication with + JBoss Tools and deploy it onto JBoss Portal. + + = + + + JB= oss WS User Guide + (html) + + = This guide gives you practical help on JBossWS usage. You will learn how to= create a web service using JBossWS runtime, find out how to create a web s= ervice client from a WSDL document using JBoss WS and also see how to set y= our development environment. + + = + + + Smooks Tools Reference Guide + (html= ) + + = This guide is packed with useful and easy-to-understand information about g= raphical, configuration and source editor pages. + + = + + + Dr= ools Tools Reference Guide + (= html) + + = The guide help you to discover how to create a new Drools project, use debu= gging rules and work with different editors. + + = + + + JMX Tools Reference Guide + (html) + + = With the help of this guide you'll explore the best practices to follow whe= n working with MBean Explorer, MBean Editor, Connections and etc. + + = + - JSF Tools Tutorial + JSF = Tools Tutorial (html)<= /ulink> - This tutorial will describe how to deal with classic/old style of= JSF development and how - to create a simple JSF application using the JBoss Developer Studio. <= /para> + This tutorial will desc= ribe how to deal with classic/old style of JSF development and how + to create a simple JSF application using the JBoss Developer Studio. <= /diffmk:wrapper> = - Struts Tools Reference Guide + JSF = Tools Reference Guide + (html) + = + + From this guide you'l= l discover all peculiarities of work at a JSF project. You'll + learn all shades that cover the process of project creation and take= a closer look at the JSF + configuration file. Also you'll get to know managed beans and how to= work with them and + find out, how to create and register a custom converter, custom vali= dator and referenced beans + in a JSF project. + + = + + Stru= ts Tools Reference Guide (ht= ml) - In Struts Tools Reference Guide you will learn how to create and = work with a new struts + In Struts Tools Referen= ce Guide you will learn how to create and work with a new struts project. This guide also provides information about graphical editor f= or struts configuration - files, tiles files, and struts validation files. + files, tiles files, and struts validation files. = - Struts Tools Tutorial + Stru= ts Tools Tutorial (htm= l) - This tutorial will describe the classical style of Struts develop= ment, and will - step-by-step show you how to create a simple Struts application in JBoss= Developer Studio. + This tutorial will desc= ribe the classical style of Struts development, and will + step-by-step show you how to create a simple Struts application in JBoss= Developer Studio. = - - - Seam Dev Tools Reference Guide - (html) - - This guide helps you to understand what Seam is and how to instal= l Seam plug-in into - Eclipse. It tells you the necessary steps to start working with Seam F= ramework and assists in a - simple Seam Project creation. Also you will learn how to create and ru= n the CRUD Database - Application with Seam as well as find out what Seam Editors Features a= nd Seam Components are. - - = - - - Visual Web Tools Reference Guide - (html) - - - = - - - JBoss Server Manager Reference Guide - (html) - - This guide covers the basics of working with the JBoss server man= ager. You will read how to - install runtimes and servers and quickly learn how to configure, start= , stop the server and know - how deployment and archiving process. You will find out how to manage = installed JBoss Servers - via JBoss AS Perspective. You will also read how to deploy modules ont= o the server. - - = - - - jBPM Tools Reference Guide - (html) - - With jBPM Tools Reference Guide we'll help you to facilitate a cro= ss-product - learning and know how you can speed your development using special edi= tors and visual designers. - We'll also guide you through the steps on how to create a simple proce= ss and test it - within jBPM jPDL perspective. - - = - - - Hibernate Tools Reference Guide - (html) - - Throughout this guide you will learn how to install and use Hibern= ate Tools bath via Ant and - through Eclipse. We'll supply you with the information on how to creat= e mapping files, - configuration file as well as a file for controlling reverse engineeri= ng by using specific - wizards that Hibernate tooling provides. Also you will know about Code= Generation and - peculiarities of work within Hibernate Console Perspective. - = - - - ESB Editor Reference Guide - (html) - - This guide provides you with the information on ESB Editor which a= llows you to develop ESB - file. - - = - - - JBoss Portal Tools Reference Guide - (html) - - The guide gives a detail look at how you can easily build a Portle= t Web Application with - JBoss Tools and deploy it onto JBoss Portal. - - = - - - JBoss WS User Guide - (html) - - This guide gives you practical help on JBossWS usage. - - = = Exadel Studio Migration Guide (html) - This document is intended to help you to migrate an existing Exade= l JSF or Struts projects - from Exadel Studio into JBoss Developer Studio. + This document is intende= d to help you to migrate an existing Exadel JSF or Struts projects + from Exadel Studio into JBoss Developer Studio. - = - - + + +If t= here's anything we didn't cover in this guide, please feel free to visit ou= r JBoss Developer Studio Users Forum<= /ulink> or JBo= ss Tools Users Forum to ask questions. There we are also looking for + your suggestions and comments. +
= = -
+ --===============1700643609969746122==--