Download - SOA Tooling Using NetBeans
![Page 1: SOA Tooling Using NetBeans](https://reader038.vdocuments.net/reader038/viewer/2022110115/54b71c684a7959af718b4722/html5/thumbnails/1.jpg)
Topic 5
SOA Tooling Using NetBeans
Dr.Thanachart NumnondaSun Microsystems (Thailand)
Asst.Prof.Thanisa KruawaisayawanKMITL
![Page 2: SOA Tooling Using NetBeans](https://reader038.vdocuments.net/reader038/viewer/2022110115/54b71c684a7959af718b4722/html5/thumbnails/2.jpg)
2
SOA Task
![Page 3: SOA Tooling Using NetBeans](https://reader038.vdocuments.net/reader038/viewer/2022110115/54b71c684a7959af718b4722/html5/thumbnails/3.jpg)
3
NetBeans Capability• Testing Web Services via soupUI• Create Web Services Client• Create Web Services Provider • Create a BPEL Module Project• Create XML Schema • Create WSDL Document• Create BPEL Process• Create a Composite Application Project• Deploy/Test Composite Application Project• Create Web Application as Access Layer•
![Page 4: SOA Tooling Using NetBeans](https://reader038.vdocuments.net/reader038/viewer/2022110115/54b71c684a7959af718b4722/html5/thumbnails/4.jpg)
4
Testing Web Services via soapUI
• Install a soapUI plugin • Offers a Web Service testing tool• Create a Web Service Testing Project• Define a location of WSDL• Ability to send SOAP Request & get SOAP response• Offers commands to generate artifacts for JAX-WS,
JBoss, Axis, Orcale
![Page 5: SOA Tooling Using NetBeans](https://reader038.vdocuments.net/reader038/viewer/2022110115/54b71c684a7959af718b4722/html5/thumbnails/5.jpg)
5
![Page 6: SOA Tooling Using NetBeans](https://reader038.vdocuments.net/reader038/viewer/2022110115/54b71c684a7959af718b4722/html5/thumbnails/6.jpg)
6
Example : SOAP Request/Response
![Page 7: SOA Tooling Using NetBeans](https://reader038.vdocuments.net/reader038/viewer/2022110115/54b71c684a7959af718b4722/html5/thumbnails/7.jpg)
7
Create a Web Service Client
• Create a Web / JavaEE /Java Application project• Create a New Web Services Client • Use either JAX-WS or JAX-RPC style
![Page 8: SOA Tooling Using NetBeans](https://reader038.vdocuments.net/reader038/viewer/2022110115/54b71c684a7959af718b4722/html5/thumbnails/8.jpg)
8
Create a Web Service Provide
• Create a Web /Java EE Project– Servlet Container– EJB Container
• Support Java EE 5 Web Service annotation• Create a New Web Service • Can deploy on GlassFish or Tomcat 6.0
![Page 9: SOA Tooling Using NetBeans](https://reader038.vdocuments.net/reader038/viewer/2022110115/54b71c684a7959af718b4722/html5/thumbnails/9.jpg)
9
![Page 10: SOA Tooling Using NetBeans](https://reader038.vdocuments.net/reader038/viewer/2022110115/54b71c684a7959af718b4722/html5/thumbnails/10.jpg)
10
BPEL Module Project• BPEL Module project is a group of source files which
includes – XML Schema (*.xsd) files– WSDL files– BPEL files
• Within a BPEL Module project, you can author a business process compliant with the WS-BPEL 2.0 language specification.
• Will be added to a Composite application as a JBI module
![Page 11: SOA Tooling Using NetBeans](https://reader038.vdocuments.net/reader038/viewer/2022110115/54b71c684a7959af718b4722/html5/thumbnails/11.jpg)
11
Create a BPEL Module Project
![Page 12: SOA Tooling Using NetBeans](https://reader038.vdocuments.net/reader038/viewer/2022110115/54b71c684a7959af718b4722/html5/thumbnails/12.jpg)
12
Create XML Schema
• Use XML Schema designer (of NetBeans)• Visually analyze and edit XML Schema• Apply Design Patterns to XML Schema• Author complex XML Schema• Support for cross project XML file references• Schema based code completion for XML instances
![Page 13: SOA Tooling Using NetBeans](https://reader038.vdocuments.net/reader038/viewer/2022110115/54b71c684a7959af718b4722/html5/thumbnails/13.jpg)
13
XML Schema Graphical Editor
![Page 14: SOA Tooling Using NetBeans](https://reader038.vdocuments.net/reader038/viewer/2022110115/54b71c684a7959af718b4722/html5/thumbnails/14.jpg)
14
Create WSDL Document
• Use WSDL Designer (of NetBeans)• Create WSDL files using graphical editor
– Refactor across WSDL, XML and BPEL– Support different Binding type
![Page 15: SOA Tooling Using NetBeans](https://reader038.vdocuments.net/reader038/viewer/2022110115/54b71c684a7959af718b4722/html5/thumbnails/15.jpg)
15
![Page 16: SOA Tooling Using NetBeans](https://reader038.vdocuments.net/reader038/viewer/2022110115/54b71c684a7959af718b4722/html5/thumbnails/16.jpg)
16
Graphical WSDL Editor
![Page 17: SOA Tooling Using NetBeans](https://reader038.vdocuments.net/reader038/viewer/2022110115/54b71c684a7959af718b4722/html5/thumbnails/17.jpg)
17
Create BPEL Process
• Use BPEL Designer (of NetBeans)• Visually author BPEL 2.0 business processes• Easily Create XPath expressions in the BPEL
Mapper
![Page 18: SOA Tooling Using NetBeans](https://reader038.vdocuments.net/reader038/viewer/2022110115/54b71c684a7959af718b4722/html5/thumbnails/18.jpg)
18
BPEL Designer
![Page 19: SOA Tooling Using NetBeans](https://reader038.vdocuments.net/reader038/viewer/2022110115/54b71c684a7959af718b4722/html5/thumbnails/19.jpg)
19
BPEL Mapper
![Page 20: SOA Tooling Using NetBeans](https://reader038.vdocuments.net/reader038/viewer/2022110115/54b71c684a7959af718b4722/html5/thumbnails/20.jpg)
20
Composite Application Project• Composite Application project is a project whose
primary purpose is to assemble a deployment unit for the Java Business Integration (JBI) server – BPEL Module projects must be added to a Composite
Application project in order to be deployed to the BPEL runtime.
• The Composite Application Project can also be used to create and execute test cases that can then be run, in JUnit fashion, against the deployed BPEL processes.
![Page 21: SOA Tooling Using NetBeans](https://reader038.vdocuments.net/reader038/viewer/2022110115/54b71c684a7959af718b4722/html5/thumbnails/21.jpg)
21
Composite Application Project• With a Composite Application project, you can:
– Assemble an application that uses multiple project types (BPEL, XSLT, IEP, SQL, etc.)
– Configure external/edge access protocols (SOAP, JMS, SMTP, and others)
– Build JBI deployment packages– Deploy the application image to the target JBI server– Monitor the status of JBI server components and
applications
![Page 22: SOA Tooling Using NetBeans](https://reader038.vdocuments.net/reader038/viewer/2022110115/54b71c684a7959af718b4722/html5/thumbnails/22.jpg)
22
Create Composite Application Project
![Page 23: SOA Tooling Using NetBeans](https://reader038.vdocuments.net/reader038/viewer/2022110115/54b71c684a7959af718b4722/html5/thumbnails/23.jpg)
23
Services Assembly
![Page 24: SOA Tooling Using NetBeans](https://reader038.vdocuments.net/reader038/viewer/2022110115/54b71c684a7959af718b4722/html5/thumbnails/24.jpg)
24
Deploy/Test Composite Application
• The Deploy action compiles the files in the Composite Application project, packages the compiled BPEL and related web service artifacts (.wsdl and .xsd files), and deploys them to the BPEL Service Engine
• Verify that the project has been successfully deployed to the BPEL service engine
• Create /Run Test Case
![Page 25: SOA Tooling Using NetBeans](https://reader038.vdocuments.net/reader038/viewer/2022110115/54b71c684a7959af718b4722/html5/thumbnails/25.jpg)
25
Run TestCase
![Page 26: SOA Tooling Using NetBeans](https://reader038.vdocuments.net/reader038/viewer/2022110115/54b71c684a7959af718b4722/html5/thumbnails/26.jpg)
26
Develop an Access Layer
• Composite Application Project can deploy a BPEL Module which in turn a Web Services
• Create a Web Service Client • Using Servlet /JSP• Support JSF / Struts Framework
![Page 27: SOA Tooling Using NetBeans](https://reader038.vdocuments.net/reader038/viewer/2022110115/54b71c684a7959af718b4722/html5/thumbnails/27.jpg)
27
Visual JSF Designer
![Page 28: SOA Tooling Using NetBeans](https://reader038.vdocuments.net/reader038/viewer/2022110115/54b71c684a7959af718b4722/html5/thumbnails/28.jpg)
28
Resources
Some contents are borrowed from the presentation slides of Sang Shin, Java™ Technology Evangelist, Sun Microsystems, Inc.
Building SOA-Based Composite Applications Using NetBeans IDE 6, David Salter