Este conteúdo não está disponível no idioma selecionado.
Chapter 3. JBoss Integration and SOA Development
3.1. JBoss Integration and SOA Development Copiar o linkLink copiado para a área de transferência!
- Creation of SwitchYard projects
- Adding SwitchYard capabilities to existing Maven based JBoss Developer Studio projects
- Configuration of SwitchYard capabilities
- A graphical editor for editing SwitchYard application configuration
- Java2WSDL
- XML catalog entries for SwitchYard configuration schema
- Integration supporting the SwitchYard Maven plug-in (org.switchyard:switchyard-plugin)
- Support for workspace deployment of SwitchYard projects
3.2. Installing JBoss Developer Studio Integration Stack Copiar o linkLink copiado para a área de transferência!
Procedure 3.1. Install JBoss Developer Studio Integration Stack
- Start JBoss Developer Studio.
- In JBoss Central, select the Software/Update tab. Scroll through the list to locate JBoss Developer Studio Integration Stack. Select the check box next to JBoss Integration and SOA Development and click .
Figure 3.1. Find JBoss Developer Studio Integration Stack in JBoss Central Software/Update Tab
- In the Install wizard, ensure the check boxes are selected for the software you want to install and click . It is recommended that you install all of the selected components.
- Review the details of the items listed for install and click . After reading and agreeing to the license(s), click I accept the terms of the license agreement(s) and click . The Installing Software window opens and reports the progress of the installation.
- During the installation process you may receive warnings about installing unsigned content. If this is the case, check the details of the content and if satisfied click to continue with the installation.
Figure 3.2. Warning Prompt for Installing Unsigned Content
- Once installing is complete, you are prompted to restart the IDE. Click to restart now and if you need to save any unsaved changes to open projects. Note that changes do not take effect until the IDE is restarted.
Important
3.3. Helpful Tips Copiar o linkLink copiado para a área de transferência!
- Honor all XML schema locations
- After installation, go to
and ensure Honor all XML schema locationscheck box is cleared. This prevents erroneous XML validation errors from appearing onswitchyard.xmlfiles. - DTD warning
- Importing SwitchYard quickstarts into JBoss Developer Studio results in non-fatal warnings regarding
log4j.dtd. These can be safely ignored. To stop receiving the warning, ensure the filelog4j.xmlis closed before starting a project. - JavaSE-1.6 error message
- When commencing a project, a warning may be displayed saying "Build path specifies execution environment JavaSE-1.6". To disable this warning, go to your Java preferences and ensure that JavaSE-1.7 JDK is checked to support JavaSE-1.6 environments.
3.4. Running Quickstarts from JBoss Developer Studio Copiar o linkLink copiado para a área de transferência!
This topic demonstrates how to import a quickstart application to JBoss Developer Studio and then deploy it to a running application server.
The JBoss Integration and SOA Development tools must be installed from the JBoss Developer Studio Integration Stack.
- Open JBoss Developer Studio.
- Click
. - Select and navigate to the quickstart directory, for example,
EAP_HOME/quickstarts/switchyard/bean-serviceand then select .The import tool scans the directory to locate the associatedpom.xmlfile. - Click .
- The quickstart is listed in the Project Explorer view. You can expand the project to explore its contents.
- In the Project Explorer view, right-click on the project's name and click
.
The quickstart application is deployed to the server and enabled by default.
3.5. Import Projects From a Git Repository in JBoss Developer Studio Copiar o linkLink copiado para a área de transferência!
- Start the Red Hat JBoss server (if not already running) by selecting the server from the server tab and click the start icon.
- Select
and navigate to the Git folder. Open the Git folder to select and click next. - Select the repository source as and click next.
- Enter the details of the Git repository in the next window and click next.
Figure 3.3. Git Repository Details
- Select which branch you want to import in the next window and click next.
- You are presented with the option to define the local storage for this project. Enter (or select) a non-empty directory, make any configuration changes and click next.
- Import the project as a general project in the next window and click next. Name this project and click Finish.
3.6. Setting a New Rules Runtime in JBoss Developer Studio Copiar o linkLink copiado para a área de transferência!
- Download and unzip the runtime jars files located in the
jboss-brms-engine.ziparchive of the JBoss BRMS Deployable zip archive (available from Red Hat Customer Portal). - From the Red Hat JBoss Developer Studio menu, select Window and click Preferences.
- Select
. - Click Add; provide a name for the new runtime, and click Browse to navigate to the directory where the runtime is located.
- Click OK, select the new runtime and click OK again. A dialog box indicates, if you have existing projects, that JBoss Developer Studio must be restarted to update the Runtime.