The document discusses XML, XML Schema Definition (XSD), and web services.
It provides an example of XML structure with tags for employee name, salary, and department. It then explains how XSD is used to define the structure of XML documents, including elements, complex and simple types, and restrictions.
Finally, it covers the basics of web services, including the SOAP protocol for communicating web services, different message exchange patterns (synchronous, asynchronous, one-way), and common tags in a web service interface like types, messages, port type, binding, and service.
JavaScript is a client-side scripting language that allows for dynamic interactions and content generation in web pages. It is commonly used to add interactivity to HTML pages through event handling, DOM manipulation, and AJAX calls. Some key points covered in the document include:
- JavaScript code is embedded within HTML and runs in the browser. It handles user interactions and updates the DOM without reloading the page.
- The DOM represents the HTML document as a tree that can be traversed and manipulated with JavaScript. Common tasks involve handling events, modifying elements, and communicating with the server.
- Parsing XML with JavaScript can be done using either event-based SAX parsing or by building a DOM tree. Libraries like
Stop the noise! - Introduction to the JSON:API specification in DrupalBjörn Brala
If you’ve ever argued about the way your JSON responses should be formatted, JSON:API can be your anti-bikeshedding tool. JSON:API is a great way to expose a consistent API in your application.
In this session, we will talk about how JSON:API got to where it is today and how it can help you make Drupal the core of all your online transactions. We will check out the specifications and look at the main benefits of JSON:API and see how Drupal implemented the spec.
Expect to learn the structure and features of the JSON:API specifications and why it should be your smart default. You should be able to get started right away with some examples we will provide in this session.
CSS Less framework overview, Pros and Cons.
Less (Leaner Style Sheets) is a backward-compatible language extension for CSS.
We will go through a quick overview of features.
- Comments
- Importing
- Variables
- Mixins
- Nesting
- Nested At-Rules and Bubbling
- Operations
- Escaping
- Namespaces and Accessors
- Maps
- Scope and
- Installing, configuring and usages of Less Framework
The document provides an introduction to SQL and covers various SQL clauses and functions including:
- Data retrieval using SELECT statements with projections, selections, joins, and WHERE clauses
- Data manipulation using INSERT, DELETE, UPDATE statements
- Data definition using CREATE, ALTER, DROP statements
- Single row functions like concatenation and conversion and multirow functions like SUM and GROUP BY
This document provides an overview of a program on cost intelligence and competitive advantage. It discusses opportunities for India from the global financial crisis, how the changing business environment requires a focus on cost competitiveness over comparative advantage. It also summarizes McKinsey reports on factors driving China's manufacturing success like productivity, domestic demand, and sustainable cost advantages. The document outlines the program coverage including global scenarios, business drivers, profit dynamics versus cost dynamics, and some success stories in implementing cost intelligence.
Bite Sized Training: Onboarding for Generation Y and ZOded Ilan
The challenges in onboarding the first digitally native generation; Why support and training needs to be smart and responsive, and how to cater to the EXPECTATIONS of this generation. Also describes Iridize step-by-step guides and walkthrough technologies.
.
Balancing Scores (Assocham National Summit ) 28.10.15CMA .Pankaj Jain
The document discusses the balanced scorecard approach to performance management. The balanced scorecard translates an organization's vision and strategy into objectives and measures across four perspectives: financial, customer, internal processes, and learning and growth. Objectives and measures are developed for each perspective, and they are linked through cause-and-effect relationships. The balanced scorecard balances both short and long term objectives, financial and non-financial measures, lagging and leading performance drivers, and internal and external performance perspectives to provide strategic feedback to managers. Developing a balanced scorecard model involves defining objectives and performance indicators for each of the four perspectives. Making the balanced scorecard successful requires aligning strategies, communicating objectives, and linking measures to strategic initiatives.
JavaScript is a client-side scripting language that allows for dynamic interactions and content generation in web pages. It is commonly used to add interactivity to HTML pages through event handling, DOM manipulation, and AJAX calls. Some key points covered in the document include:
- JavaScript code is embedded within HTML and runs in the browser. It handles user interactions and updates the DOM without reloading the page.
- The DOM represents the HTML document as a tree that can be traversed and manipulated with JavaScript. Common tasks involve handling events, modifying elements, and communicating with the server.
- Parsing XML with JavaScript can be done using either event-based SAX parsing or by building a DOM tree. Libraries like
Stop the noise! - Introduction to the JSON:API specification in DrupalBjörn Brala
If you’ve ever argued about the way your JSON responses should be formatted, JSON:API can be your anti-bikeshedding tool. JSON:API is a great way to expose a consistent API in your application.
In this session, we will talk about how JSON:API got to where it is today and how it can help you make Drupal the core of all your online transactions. We will check out the specifications and look at the main benefits of JSON:API and see how Drupal implemented the spec.
Expect to learn the structure and features of the JSON:API specifications and why it should be your smart default. You should be able to get started right away with some examples we will provide in this session.
CSS Less framework overview, Pros and Cons.
Less (Leaner Style Sheets) is a backward-compatible language extension for CSS.
We will go through a quick overview of features.
- Comments
- Importing
- Variables
- Mixins
- Nesting
- Nested At-Rules and Bubbling
- Operations
- Escaping
- Namespaces and Accessors
- Maps
- Scope and
- Installing, configuring and usages of Less Framework
The document provides an introduction to SQL and covers various SQL clauses and functions including:
- Data retrieval using SELECT statements with projections, selections, joins, and WHERE clauses
- Data manipulation using INSERT, DELETE, UPDATE statements
- Data definition using CREATE, ALTER, DROP statements
- Single row functions like concatenation and conversion and multirow functions like SUM and GROUP BY
This document provides an overview of a program on cost intelligence and competitive advantage. It discusses opportunities for India from the global financial crisis, how the changing business environment requires a focus on cost competitiveness over comparative advantage. It also summarizes McKinsey reports on factors driving China's manufacturing success like productivity, domestic demand, and sustainable cost advantages. The document outlines the program coverage including global scenarios, business drivers, profit dynamics versus cost dynamics, and some success stories in implementing cost intelligence.
Bite Sized Training: Onboarding for Generation Y and ZOded Ilan
The challenges in onboarding the first digitally native generation; Why support and training needs to be smart and responsive, and how to cater to the EXPECTATIONS of this generation. Also describes Iridize step-by-step guides and walkthrough technologies.
.
Balancing Scores (Assocham National Summit ) 28.10.15CMA .Pankaj Jain
The document discusses the balanced scorecard approach to performance management. The balanced scorecard translates an organization's vision and strategy into objectives and measures across four perspectives: financial, customer, internal processes, and learning and growth. Objectives and measures are developed for each perspective, and they are linked through cause-and-effect relationships. The balanced scorecard balances both short and long term objectives, financial and non-financial measures, lagging and leading performance drivers, and internal and external performance perspectives to provide strategic feedback to managers. Developing a balanced scorecard model involves defining objectives and performance indicators for each of the four perspectives. Making the balanced scorecard successful requires aligning strategies, communicating objectives, and linking measures to strategic initiatives.
This document explains how to add and configure health packs in Active Directory Health Profiler. It outlines the steps to add health packs to a health profile, and that some health packs may require configuration before being executed successfully. It provides examples of configuring the "Get Active Directory Domain Security Group Membership" and "Get Active Directory Domain FSMO" health packs.
Dokumen tersebut berisi daftar indikator kompetensi mahasiswa dalam bidang Teknologi Informasi dan Komunikasi (TIK) yang terdiri dari 5 bidang utama yaitu Dasar-dasar TIK, Word Processing, Spreadsheet/Excel, Presentasi/Power Point, dan Informasi dan Komunikasi/Internet. Setiap bidang memuat beberapa indikator yang dinilai dengan skala nilai 60-80 oleh mahasiswa dan dosen.
Articoli di giornale: La fine del posto fisso in banca Vincenzo Borchia
La posizione dell'Associazione bancaria è chiara:
«I modelli organizzativi e distributivi cambieranno. Lo sportello fisico non è più centrale, la multicanalità sta facendo saltare tutti i paradigmi”
El documento define la innovación como una nueva idea o proceso que introduce algo mejor y nuevo que rompe en el mercado o la sociedad. Explica que la innovación es el proceso de realizar cambios en algo establecido mediante la introducción de algo mejor y nuevo. El documento fue presentado por Najuma Ibrahim para la asignatura de Ciencias Naturales con el número de registro 14367010.
This document provides an overview and instructions for a sample that demonstrates starting BPM processes from JMS messages in two scenarios. The first scenario uses a JMS message matching the process WSDL to start the process. The second scenario uses a business event message transformed via a mediator. The sample includes a sending process that produces JMS messages and a receiving process configured with JMS adapters and a mediator. Instructions are provided for deploying the composites and queues required to run the sample.
This document provides information on assessing movement sequences and coordinating movements. It discusses four questions for assessment and lists five vitality action systems. It also discusses skills for working with freeze, including acceptance, orientation, uncoupling, and completion skills. The freeze state involves bracing, collapsing, and rebounding cycles. A session guide outlines starting with free association, establishing orientation, finding resources, working stages, and reestablishing orientation through conversation.
Введение в теорию автоматов и вычислений. Курс 1. Беседа 1 Igor Kleiner
Введение в теорию автоматов и вычислений. Курс 1. Беседа 1
Знакомство
Основные цели и задачи курса
(с) Клейнер Игорь 2015
Что может компьютер? Что такое компьютер? Что такое эффективный алгоритм
The document discusses the benefits of exercise for mental health. Regular physical activity can help reduce anxiety and depression and improve mood and cognitive functioning. Exercise causes chemical changes in the brain that may help protect against mental illness and improve symptoms.
Uni Papua FC Banda Aceh, 29 Okt 2015
Foto Pembubaran Panitia Kualifikasi PON Putaran I Grup Sumatera.
Dalam hal ini kami UP FC Kuta Gle menginformasikan, bahwa :
A. Siswa UP FC Kuta Gle Aceh berperan aktif sebagai Boyball dan juga Petugas Pembawa Bendera Fairplay dari Open Ceremonial hingga Kick Off VI (Laga Akhir) yang sifatnya menjalankan program sosialisasi.
B. Pengurus UP FC Kuta Gle Aceh yang terdiri dari Korcab (Fauzainy M.Y.) sebagai Koordinator Pertandingan, Sekcab (Yoka .red) Bid. Pertandingan, Instruktur II & IV (Khawaled & Chairul)Liaision Organizer Team RIAU & ACEH serta Official Cabang (Ricky Afrizal) sebagai Inspektur Pertandingan yang mendampingi Pengawas Pertandingan di Event tsb.
C. Menjadi Sponsor Sosial
#unipapuafc #unipapua #sepakbola #Papua
#football #sepakbolasosial #socialfootball
#ponxix #pon2016 #aceh #UniPapuaFootball
#SepakbolaSosial #Sepakbola #FIFA #UniPapua
#coachesacrosscontinents #oneworldplayproject
#SocialFootball #Jakarta #Indonesia
www.unipapua.net
www.unipapua.net/banda-aceh
info@unipapua.net
-Ys-
Kurikulum 2013 bertujuan untuk menghasilkan generasi Indonesia yang kreatif, inovatif, dan berkarakter untuk memanfaatkan bonus demografi pada tahun 2035 dan mempersiapkan Indonesia menjadi negara maju pada 2045. Kurikulum 2013 mewajibkan guru untuk menerapkan strategi pembelajaran aktif berbasis pengalaman siswa dan menambah jam pelajaran agar siswa dapat mencapai kompetensi secara utuh.
This document outlines the competencies for a class of 10th grade students at SMAN 1 Betung for the first semester. It lists 7 competency standards that students are expected to achieve by the end of the semester across various subject areas.
Choose'10: Ralf Laemmel - Dealing Confortably with the Confusion of TonguesCHOOSE
The document discusses various ways to map between different data models representing company structures, including:
- Serializing Java objects to an XML or binary format
- Using JAXB annotations to map between XML and Java classes
- Generating Java classes from an Ecore metamodel
- Specifying Hibernate mappings between Java classes and relational database tables
- Directly mapping between relational tables and Java classes with Hibernate
Here are a few thoughts on why business rule validation in middleware like the SOA Suite is still useful:
1. Centralized validation. Putting business rules in middleware allows them to be centrally defined and enforced for any service that uses that middleware, rather than requiring each service to implement the same validation logic.
2. Dynamic rules. Business rules may need to change over time as business needs evolve. Middleware rules can be updated without changing individual services.
3. Reusable validation. The same business rules may apply across multiple services. Defining them centrally avoids duplicating validation logic.
4. Standardized validation. Using a standard format like Schematron promotes consistency in how rules are defined and enforced.
Here are a few thoughts on validating business rules in middleware like the SOA Suite:
- Middleware is well-suited for business rules validation since it can centrally enforce rules for any services/applications that integrate through it. This prevents invalid data from propagating.
- Schematron provides a standard way to declaratively define rules using XPath that can't be fully expressed in a schema like XSD. This fills an important gap for rule validation.
- Validating rules in middleware doesn't prevent businesses from also validating in applications. Middleware acts as a second line of defense to catch any issues not caught earlier.
- As integration points, services exposed via middleware should ensure they only accept valid data according to
This document explains how to add and configure health packs in Active Directory Health Profiler. It outlines the steps to add health packs to a health profile, and that some health packs may require configuration before being executed successfully. It provides examples of configuring the "Get Active Directory Domain Security Group Membership" and "Get Active Directory Domain FSMO" health packs.
Dokumen tersebut berisi daftar indikator kompetensi mahasiswa dalam bidang Teknologi Informasi dan Komunikasi (TIK) yang terdiri dari 5 bidang utama yaitu Dasar-dasar TIK, Word Processing, Spreadsheet/Excel, Presentasi/Power Point, dan Informasi dan Komunikasi/Internet. Setiap bidang memuat beberapa indikator yang dinilai dengan skala nilai 60-80 oleh mahasiswa dan dosen.
Articoli di giornale: La fine del posto fisso in banca Vincenzo Borchia
La posizione dell'Associazione bancaria è chiara:
«I modelli organizzativi e distributivi cambieranno. Lo sportello fisico non è più centrale, la multicanalità sta facendo saltare tutti i paradigmi”
El documento define la innovación como una nueva idea o proceso que introduce algo mejor y nuevo que rompe en el mercado o la sociedad. Explica que la innovación es el proceso de realizar cambios en algo establecido mediante la introducción de algo mejor y nuevo. El documento fue presentado por Najuma Ibrahim para la asignatura de Ciencias Naturales con el número de registro 14367010.
This document provides an overview and instructions for a sample that demonstrates starting BPM processes from JMS messages in two scenarios. The first scenario uses a JMS message matching the process WSDL to start the process. The second scenario uses a business event message transformed via a mediator. The sample includes a sending process that produces JMS messages and a receiving process configured with JMS adapters and a mediator. Instructions are provided for deploying the composites and queues required to run the sample.
This document provides information on assessing movement sequences and coordinating movements. It discusses four questions for assessment and lists five vitality action systems. It also discusses skills for working with freeze, including acceptance, orientation, uncoupling, and completion skills. The freeze state involves bracing, collapsing, and rebounding cycles. A session guide outlines starting with free association, establishing orientation, finding resources, working stages, and reestablishing orientation through conversation.
Введение в теорию автоматов и вычислений. Курс 1. Беседа 1 Igor Kleiner
Введение в теорию автоматов и вычислений. Курс 1. Беседа 1
Знакомство
Основные цели и задачи курса
(с) Клейнер Игорь 2015
Что может компьютер? Что такое компьютер? Что такое эффективный алгоритм
The document discusses the benefits of exercise for mental health. Regular physical activity can help reduce anxiety and depression and improve mood and cognitive functioning. Exercise causes chemical changes in the brain that may help protect against mental illness and improve symptoms.
Uni Papua FC Banda Aceh, 29 Okt 2015
Foto Pembubaran Panitia Kualifikasi PON Putaran I Grup Sumatera.
Dalam hal ini kami UP FC Kuta Gle menginformasikan, bahwa :
A. Siswa UP FC Kuta Gle Aceh berperan aktif sebagai Boyball dan juga Petugas Pembawa Bendera Fairplay dari Open Ceremonial hingga Kick Off VI (Laga Akhir) yang sifatnya menjalankan program sosialisasi.
B. Pengurus UP FC Kuta Gle Aceh yang terdiri dari Korcab (Fauzainy M.Y.) sebagai Koordinator Pertandingan, Sekcab (Yoka .red) Bid. Pertandingan, Instruktur II & IV (Khawaled & Chairul)Liaision Organizer Team RIAU & ACEH serta Official Cabang (Ricky Afrizal) sebagai Inspektur Pertandingan yang mendampingi Pengawas Pertandingan di Event tsb.
C. Menjadi Sponsor Sosial
#unipapuafc #unipapua #sepakbola #Papua
#football #sepakbolasosial #socialfootball
#ponxix #pon2016 #aceh #UniPapuaFootball
#SepakbolaSosial #Sepakbola #FIFA #UniPapua
#coachesacrosscontinents #oneworldplayproject
#SocialFootball #Jakarta #Indonesia
www.unipapua.net
www.unipapua.net/banda-aceh
info@unipapua.net
-Ys-
Kurikulum 2013 bertujuan untuk menghasilkan generasi Indonesia yang kreatif, inovatif, dan berkarakter untuk memanfaatkan bonus demografi pada tahun 2035 dan mempersiapkan Indonesia menjadi negara maju pada 2045. Kurikulum 2013 mewajibkan guru untuk menerapkan strategi pembelajaran aktif berbasis pengalaman siswa dan menambah jam pelajaran agar siswa dapat mencapai kompetensi secara utuh.
This document outlines the competencies for a class of 10th grade students at SMAN 1 Betung for the first semester. It lists 7 competency standards that students are expected to achieve by the end of the semester across various subject areas.
Choose'10: Ralf Laemmel - Dealing Confortably with the Confusion of TonguesCHOOSE
The document discusses various ways to map between different data models representing company structures, including:
- Serializing Java objects to an XML or binary format
- Using JAXB annotations to map between XML and Java classes
- Generating Java classes from an Ecore metamodel
- Specifying Hibernate mappings between Java classes and relational database tables
- Directly mapping between relational tables and Java classes with Hibernate
Here are a few thoughts on why business rule validation in middleware like the SOA Suite is still useful:
1. Centralized validation. Putting business rules in middleware allows them to be centrally defined and enforced for any service that uses that middleware, rather than requiring each service to implement the same validation logic.
2. Dynamic rules. Business rules may need to change over time as business needs evolve. Middleware rules can be updated without changing individual services.
3. Reusable validation. The same business rules may apply across multiple services. Defining them centrally avoids duplicating validation logic.
4. Standardized validation. Using a standard format like Schematron promotes consistency in how rules are defined and enforced.
Here are a few thoughts on validating business rules in middleware like the SOA Suite:
- Middleware is well-suited for business rules validation since it can centrally enforce rules for any services/applications that integrate through it. This prevents invalid data from propagating.
- Schematron provides a standard way to declaratively define rules using XPath that can't be fully expressed in a schema like XSD. This fills an important gap for rule validation.
- Validating rules in middleware doesn't prevent businesses from also validating in applications. Middleware acts as a second line of defense to catch any issues not caught earlier.
- As integration points, services exposed via middleware should ensure they only accept valid data according to
This document provides an overview of XML including:
- XML stands for Extensible Markup Language and is used to describe data. It allows users to define their own tags unlike HTML.
- XML must have closing tags, is case sensitive, elements must be properly nested, and require a root tag. Attribute values must be quoted.
- XML can be used to store and exchange data, as a data island within HTML documents, and with web services like SOAP and WSDL. An example of using XML for weather data is provided.
This document provides an overview of XML and Java technologies for parsing and working with XML documents. It discusses XML structure and tags, and how XML is used to describe and share structured data. It then covers Java APIs for XML Parsing (JAXP) including the SAX and DOM parsing approaches. SAX involves implementing callback methods to parse the XML streamingly, while DOM represents the XML as an in-memory tree of nodes. The document provides examples of using these approaches to parse an XML document describing a set of dots.
The document provides an overview of JSON (JavaScript Object Notation) including its syntax, structure, and common uses. JSON is a lightweight data-interchange format that is easy for humans to read and write and easy for machines to parse and generate. It is built on two structures: a collection of name/value pairs and an ordered list of values. JSON is primarily used to transmit data between a web server and web application.
This document discusses different ways to retrieve data from databases as XML, including:
- Rowsets that expose query result sets as tabular data.
- Storing raw XML in database fields and querying it directly.
- Using FOR XML to return query results packed as XML fragments or nested elements.
- Creating XML views by mapping database columns to an XML schema for customized XML output.
The document discusses XML support in DB2 and Oracle databases, including native XML storage and indexing in DB2, SQL/XML functionality, XQuery support and examples, and how XML is stored relationally in Oracle requiring DOM operations rather than being stored natively. It also provides examples of how XQuery and indexing can be used more simply in DB2 compared to Oracle which lacks full native XML capabilities.
This document provides an overview and introduction to XML (eXtensible Markup Language). It discusses the basic rules of XML, parsing XML, XML namespaces, XML schemas, XSLT transformations, and examples of where XML is applied such as web design, web services, mobile web, and content authoring.
This tutorial describes using recursive XSLT calls and JavaScript to display an expanding and collapsing tree view of an XML purchase order document. Key aspects covered include using recursion in the XSLT stylesheet to process the XML data hierarchically, invoking JavaScript from XSLT to make the display interactive, and generating HTML output with calls to the JavaScript functions. The code sample demonstrates techniques for parsing XML data recursively and creating an interactive user interface using XSLT and JavaScript.
This tutorial describes using recursive XSLT calls and JavaScript to display an expanding and collapsing tree view of an XML purchase order document. Key aspects covered include using recursion in the XSLT stylesheet to process the XML data hierarchically, invoking JavaScript from XSLT to make the display interactive, and generating HTML output with calls to the JavaScript functions. The code sample demonstrates techniques for parsing XML data recursively and creating an interactive user interface using XSLT and JavaScript.
The document discusses several new language enhancements in ColdFusion 11 including full support for CFScript, member functions for data types, JSON enhancements, new query functions like queryExecute and queryGetRow, additional collection functions, and the ability to define application-specific datasources in Application.cfc. It also covers calling tags from CFScript, custom serializers, and enhancements to the cfzip tag.
This document introduces simple ways to work with XML in .NET, including reading from and writing to XML files using C# and VB.NET. It discusses XML structure and shows examples of reading node and attribute values from an XML file, loading XML data into a dataset, and writing a dataset to XML. Methods demonstrated include using XmlDocument, XmlTextReader, XmlTextWriter, and searching XML data in a dataset.
Experience Mazda Zoom Zoom Lifestyle and Culture by Visiting and joining the Official Mazda Community at http://www.MazdaCommunity.org for additional insight into the Zoom Zoom Lifestyle and special offers for Mazda Community Members. If you live in Arizona, check out CardinaleWay Mazda's eCommerce website at http://www.Cardinale-Way-Mazda.com
XML is everywhere. Computers, Mobiles, Bank Systems, Internet, TVs, Microwaves, all use XML as an Information Wrapping and Information Xchange System. We will tell you all the basics in a simplest possible way.
Lift is a Scala web framework that makes building highly interactive real-time web applications simple. It leverages Scala language features and takes the best ideas from other frameworks, such as Seaside's granular sessions and security and Rails' convention over configuration. Lift has a unique "view first" architecture and offers unparalleled security and comet support out of the box. It is already used by major companies like Foursquare and has been proven at scale.
Understanding and Developing Web Services - For DBAs and Developers (whitepaper)Revelation Technologies
The document discusses how to understand and develop web services for DBAs and developers. It provides an overview of key web service concepts like WSDL, XML schemas, SOAP, and introduces how to develop web services in technologies like Java and Oracle SOA Suite. It also summarizes how to develop web services using both a top-down approach by starting with a WSDL definition or a bottom-up approach by exposing an existing Java class as a web service.
Prototype JS is a JavaScript framework that simplifies DOM manipulation, AJAX requests, and other common tasks. It provides functions for DOM traversal and manipulation, event handling, effects and animations, forms, JSON, and more. Developers use Prototype to build dynamic web pages and applications with less code and cross-browser compatibility.
This document provides an overview of XML (eXtensible Markup Language). It discusses how XML is used to store structured data, compares XML to databases and HTML, and outlines the basic structure and syntax of XML documents. Key points covered include XML tags, elements, attributes, namespaces, parsing XML with PHP, and manipulating XML data using DOM and SimpleXML extensions.
Schematics allow developers to define rules that transform a file system tree representation. They provide a workflow tool for scaffolding new components and services as well as updating existing code. The Angular CLI uses schematics under the hood to provide its functionality. Developers can build their own schematics to customize workflows by defining rules that apply transformations to a tree representation of files.
This document provides an overview of AWK scripting and various Unix commands covered on Day 4 of a Unix training session. The agenda includes AWK scripting, advanced commands like compression and archiving, an introduction to the File Transfer Protocol (FTP), and Unix process control. The document then goes into detailed explanations of AWK scripting concepts like patterns and actions, operators, control structures, built-in variables, arrays, functions and more. It also covers commands for file compression, changing file ownership, the tar archiving utility, and using FTP to transfer files between systems.
This document provides an overview of a UNIX training session that covers shell scripting and sed commands. The session objectives are to understand regular expressions, grep commands, shell features and environment, and writing basic shell scripts. Topics covered include looping statements, conditional statements, here documents, signals, traps, arrays, functions, and an introduction to the sed stream editor for performing text editing operations. Examples are provided for various shell scripting constructs and common sed commands.
The document discusses topics related to UNIX including regular expressions, grep commands, UNIX shells, shell environment variables, and shell scripting. The agenda covers regular expressions and grep, UNIX shells, shell environment, and shell scripting. It provides examples and explanations of regular expressions, grep family commands, popular UNIX shells like Bourne shell, Korn shell, C shell, and Bourne-Again shell. It also discusses shell environment variables and how to set them as well as an introduction to shell scripting.
The document provides information about the person's role as a Linux System Engineer including responsibilities like installing hardware, networking, building servers, patching systems, and troubleshooting issues for developers, DBAs and other teams. It also answers questions about supporting different environments, recent challenges, scripting experience, and Linux fundamentals.
There are three options for reporting faults from an asynchronous web service: returning the fault in the response message, invoking a fault callback operation, or handling the fault in an error hospital. The document focuses on returning faults in the response message or invoking a fault callback. It provides instructions for implementing these options in Oracle BPEL, including defining fault response schemas, setting correlation properties, and using pick activities to handle normal and fault responses.
The document provides instructions for creating a custom Java action to handle faults in SOA and attaching it to fault policies. It involves: 1) creating a Java project in JDeveloper, 2) coding a class that implements the required interface, 3) deploying the JAR file to the server, and 4) configuring fault policies to use the new action.
This document describes the life cycle management of Oracle JCA adapters, including installing, starting, stopping, defining interfaces, configuring properties, describing data structures, physically deploying, and other aspects of Oracle JCA adapters. It includes sections on specific tasks like installing adapters, starting and stopping adapters, defining interfaces by importing WSDLs, configuring message header properties, and physically deploying adapters packaged in RAR files.
The document provides instructions for creating a custom Java action to handle faults in SOA and attaching it to fault policies. It involves: 1) creating a Java project in JDeveloper, 2) coding a class that implements the required interface, 3) deploying the JAR file to the server, and 4) configuring fault policies to use the new action.
- Oracle Business Rules is a lightweight business rules product that is part of Oracle Fusion Middleware and can be used in SOA and BPM suites. It allows business processes to be more agile and align with changing business demands by acting as a central rules repository.
- The document demonstrates how to create a rule in Oracle Business Rules using JDeveloper to calculate student grades based on average marks and test it using various methods like a debugging function, the Enterprise Manager console, and SOAP UI web services calls.
- A decision table rule is created to return a grade based on comparing average marks to ranges in a bucketset. The rule can then be tested by passing sample data and evaluating the output.
SOAP is a protocol for exchanging XML-based messages over networks, normally using HTTP/HTTPS. It allows applications to communicate in a decentralized and distributed environment. A SOAP message contains an envelope element with a header and body. The body contains the call and response information while the header contains optional metadata. SOAP uses XML schemas to define the structure and content of messages to ensure interoperability.
The document provides an overview of Oracle SOA Suite, which integrates capabilities like messaging, service discovery, orchestration, web services management and security, business rules, events framework, and business activity monitoring. It leverages standards like SCA, SDO, and BPEL and brings together components like BPEL, ESB, and OWSM into a single environment using SCA composites. The key benefits of SOA Suite include interoperability, increased reuse, more agile business processes, improved visibility, and reduced maintenance costs.
This document discusses layered volumes in VxVM. Layered volumes tolerate failure better and have greater redundancy than standard volumes. For example, a mirrored-striped layered volume has quicker recovery than a standard mirrored volume since each mirror covers less storage space. The document also discusses different types of layered volumes like mirror-striped and stripe-mirrored, how they provide redundancy and performance advantages over standard volumes, and some of their limitations.
Web services allow applications to communicate over the web through open standards like XML, SOAP, WSDL and UDDI. A WSDL file describes the operations and messages a web service exposes. SOAP is the messaging protocol used to exchange information between web services using XML. UDDI is a registry where businesses can publish and discover web services.
The document discusses implementing a while loop activity in BPEL to increment an input variable by repeatedly invoking a partner service.
It describes creating two BPEL processes - a "Called" process that increments an input by 1, and a "Caller" process that contains a while loop. The while loop invokes the Called process, assigns the output back to the input, and continues looping while the input is less than 5. This allows the input to be incremented from 3 to 4 to 5 by repeatedly calling the partner service.
XML (eXtensible Markup Language) is a markup language that is designed to store and transport data. It allows data to be shared across different systems, software, and hardware. XML documents contain elements that can have child elements, attributes, and text. XML has simple, strict syntax rules for tags, nesting, and formatting. Elements can be extended without breaking existing applications. This makes XML very flexible and extensible for sharing structured data.
XPath is a language for navigating and selecting nodes in an XML document using path expressions. It selects nodes by following a path through the XML tree structure. Some useful path expressions include nodename to select child nodes, / to select from the root, and // to select nodes anywhere in the document that match the selection. XPath uses wildcards like * to match any element node and @* to match any attribute node.
XQuery is to XML what SQL is to database tables. It was designed to query XML data, not just XML files but anything that can appear as XML, including databases. The document provides an example of an XQuery expression to retrieve book titles from an XML document where the price is greater than 30, ordered by title. It then shows the XML document that will be used in examples, containing book data. Examples are given to select nodes from the XML document using XQuery expressions.
The document discusses XML Schema Definition (XSD) and its purpose in validating XML documents. It compares XSD to Document Type Definition (DTD) and provides sample code for each. The document also covers XSD basics like data types, nested complex types, and occurrence constraints. Finally, it outlines the steps for installing Oracle SOA Suite 11.1.1.3, including database installation, middleware home creation, and domain configuration.
An XML schema describes the structure and elements of an XML document. It defines elements, attributes, data types, properties like required/optional, and relationships between elements. XML schema is more powerful than older DTD schemas as it allows defining data types and namespaces. Schemas are written in XML syntax, making them easy to read, write and process using standard XML tools. This document provides examples of simple and complex element definitions in an XML schema.
XSLT is a language for transforming XML documents into other formats like XHTML. It works by applying templates defined in an XSL stylesheet to an XML source document. Key components of XSLT include:
- The <xsl:template> element defines templates that are applied to parts of the XML document matched by an XPath expression
- The <xsl:value-of> element extracts the value of an XML element to include in the output
- The <xsl:for-each> element loops through matching elements to repeatedly apply templates
How to Manage Your Lost Opportunities in Odoo 17 CRMCeline George
Odoo 17 CRM allows us to track why we lose sales opportunities with "Lost Reasons." This helps analyze our sales process and identify areas for improvement. Here's how to configure lost reasons in Odoo 17 CRM
How to Add Chatter in the odoo 17 ERP ModuleCeline George
In Odoo, the chatter is like a chat tool that helps you work together on records. You can leave notes and track things, making it easier to talk with your team and partners. Inside chatter, all communication history, activity, and changes will be displayed.
A workshop hosted by the South African Journal of Science aimed at postgraduate students and early career researchers with little or no experience in writing and publishing journal articles.
Leveraging Generative AI to Drive Nonprofit InnovationTechSoup
In this webinar, participants learned how to utilize Generative AI to streamline operations and elevate member engagement. Amazon Web Service experts provided a customer specific use cases and dived into low/no-code tools that are quick and easy to deploy through Amazon Web Service (AWS.)
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...Diana Rendina
Librarians are leading the way in creating future-ready citizens – now we need to update our spaces to match. In this session, attendees will get inspiration for transforming their library spaces. You’ll learn how to survey students and patrons, create a focus group, and use design thinking to brainstorm ideas for your space. We’ll discuss budget friendly ways to change your space as well as how to find funding. No matter where you’re at, you’ll find ideas for reimagining your space in this session.
How to Setup Warehouse & Location in Odoo 17 InventoryCeline George
In this slide, we'll explore how to set up warehouses and locations in Odoo 17 Inventory. This will help us manage our stock effectively, track inventory levels, and streamline warehouse operations.
How to Build a Module in Odoo 17 Using the Scaffold MethodCeline George
Odoo provides an option for creating a module by using a single line command. By using this command the user can make a whole structure of a module. It is very easy for a beginner to make a module. There is no need to make each file manually. This slide will show how to create a module using the scaffold method.
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Dr. Vinod Kumar Kanvaria
Exploiting Artificial Intelligence for Empowering Researchers and Faculty,
International FDP on Fundamentals of Research in Social Sciences
at Integral University, Lucknow, 06.06.2024
By Dr. Vinod Kumar Kanvaria
A review of the growth of the Israel Genealogy Research Association Database Collection for the last 12 months. Our collection is now passed the 3 million mark and still growing. See which archives have contributed the most. See the different types of records we have, and which years have had records added. You can also see what we have for the future.
Chapter wise All Notes of First year Basic Civil Engineering.pptxDenish Jangid
Chapter wise All Notes of First year Basic Civil Engineering
Syllabus
Chapter-1
Introduction to objective, scope and outcome the subject
Chapter 2
Introduction: Scope and Specialization of Civil Engineering, Role of civil Engineer in Society, Impact of infrastructural development on economy of country.
Chapter 3
Surveying: Object Principles & Types of Surveying; Site Plans, Plans & Maps; Scales & Unit of different Measurements.
Linear Measurements: Instruments used. Linear Measurement by Tape, Ranging out Survey Lines and overcoming Obstructions; Measurements on sloping ground; Tape corrections, conventional symbols. Angular Measurements: Instruments used; Introduction to Compass Surveying, Bearings and Longitude & Latitude of a Line, Introduction to total station.
Levelling: Instrument used Object of levelling, Methods of levelling in brief, and Contour maps.
Chapter 4
Buildings: Selection of site for Buildings, Layout of Building Plan, Types of buildings, Plinth area, carpet area, floor space index, Introduction to building byelaws, concept of sun light & ventilation. Components of Buildings & their functions, Basic concept of R.C.C., Introduction to types of foundation
Chapter 5
Transportation: Introduction to Transportation Engineering; Traffic and Road Safety: Types and Characteristics of Various Modes of Transportation; Various Road Traffic Signs, Causes of Accidents and Road Safety Measures.
Chapter 6
Environmental Engineering: Environmental Pollution, Environmental Acts and Regulations, Functional Concepts of Ecology, Basics of Species, Biodiversity, Ecosystem, Hydrological Cycle; Chemical Cycles: Carbon, Nitrogen & Phosphorus; Energy Flow in Ecosystems.
Water Pollution: Water Quality standards, Introduction to Treatment & Disposal of Waste Water. Reuse and Saving of Water, Rain Water Harvesting. Solid Waste Management: Classification of Solid Waste, Collection, Transportation and Disposal of Solid. Recycling of Solid Waste: Energy Recovery, Sanitary Landfill, On-Site Sanitation. Air & Noise Pollution: Primary and Secondary air pollutants, Harmful effects of Air Pollution, Control of Air Pollution. . Noise Pollution Harmful Effects of noise pollution, control of noise pollution, Global warming & Climate Change, Ozone depletion, Greenhouse effect
Text Books:
1. Palancharmy, Basic Civil Engineering, McGraw Hill publishers.
2. Satheesh Gopi, Basic Civil Engineering, Pearson Publishers.
3. Ketki Rangwala Dalal, Essentials of Civil Engineering, Charotar Publishing House.
4. BCP, Surveying volume 1
1. XML (Extensive markup language)
XML isstructuredlanguage.Startswithopeningtagendingwithclosingtag,inbetweenishasmultiple
childtags.
Followingisthe example of XMLstructure
<Employee>
<name>
<fname>abc</fname>
<lname>xyz</lname>
<mname>cde</mname>
</name>
<sal>10000</sal>
<dept>a1</dept>
</Employee>
In the above example Employeeisthe parentitcontainschildrenlike name,sal,and dept.Employee has
subchildrenlike fname,lname,andmname parentforthese tags are name. Likewise we canhave
childrenandsunchildrenforeachtag.
SOA (Service orientedArchitecture)
What is Service?
Service isnothingbutwe are gettingsomethingforourrequest.
Purpose of webservicesistoestablishacommunicationbetweendifferentplatformslike Java,.Net,and
PHP.
Initial dayswe donot have anytechnologytocommunicate differentplatformslike Java,.Net,andPHP.
All industryleadingcompany’sformagrouptheyfoundthe solutionisXML,to communicate different
platforms.Butprocessingof XML ismajor problem. Forprocessingof XML eachplatformhastheirown
kindof framework.
Java
.Net
PHP
2. To avoidthe processingof XML, once again the same groupthoughtand come up withnew solutionis
Webservices.Eachand everyplatformhastheirownimplementationof webservices.
Simple thingiswe needtodevelopacomponentinourplatformfinallywe will exposeitasWebservice.
The same service we will share inthe network,anyone canable accessit.
The inputand outputfor the webservicesinthe formof XML only.Butwe don’tneedtoprocessthe
XML. That is takingcare SOAPprotocol.
SOAP(Simple AccessObjectProtocol) isthe protocol usedcommunicate Webservices.
GenerallyHTTPisthe protocol to access webapplications,LikewiseSOAPisthe protocol toaccessweb
services
What is Protocol?
Protocol isnothingbut,itcontainssetof rulestoaccess the application.
We are usingmultiple protocolsinreal time toaccess differentkindof application
HTTP Web Applications
FTP to Process filesin remote/shareddirectory
SOAP WebServices
SOAPinternallyusesHTTPprotocol to communicate WebServices.
What is WebService?
Service availableinweblocationiswebservice.IthasURL addressto communicate.
What is interface?
If you see anykindof technologythere isaconceptcalledinterface,the purpose of interface is tohide
the businessimplementation.
Interface containsoperations(Methods)anditsinputandoutputstructure.
Webservice alsointerface,itcontainsoperationsanditsinputandoutputstructure.
Types ofcommunication (Message exchange pattern)?
Synchronous,Asynchronous,one-way
Synchronouscommunicationcontainsrequestandresponse, itmaintaincommunicationbetween
requestandresponse.
Asynchronouscommunicationcontainsrequest andresponse, itdoesnotmaintainanycommunication
between requestandresponse.
3. One-waycommunicationcontainsonlyrequest,noresponse.
What are the tags in WebService interface?
Followingare the tagsinwebservice - Types,Messages,Port type,Binding,Service.
Types containsXSDrelatedinformation,we canimportthe external XSDandalsoitmay containXSD
elementsaswell.
For eachSynchronousandAsynchronousoperationcontainstwo messages,inthe case of one-way
operationitcontainsonlyrequest message.
Port type containsall operationsrelated toservice.
Bindingcontainstype of communication,we have twotypesof communicationRPCandDocument,the
defaultcommunicationisDocument.Italsocontainswhatformatwe are passingthe datato operation
inputandwhat formatwe are gettingthe outputfromoperation(Literal orencoded).Literal topass
plaintextasdata and encodedtopass secure data.
Service containsCommunication address inthe formof URL.
inwebservice alsowe have three typesof operationsin portType (Sync,ASync, one-way). each
operationhasdifferent structure.
Sync :
<wsdl:portType name="execute_ptt">
<wsdl:operationname=" execute ">
<wsdl:inputmessage="tns:RequestMessage"/>
<wsdl:outputmessage="tns:ReplyMessage"/>
</wsdl:operation>
</ wsdl:portType>
one-way :
<wsdl:portType name="execute_ptt">
<wsdl:operationname="execute">
<wsdl:inputmessage="tns:RequestMessage"/>
</wsdl:operation>
</ wsdl:portType>
ASync :
<wsdl:portType name="execute_ptt">
<wsdl:operationname="execute">
<wsdl:inputmessage="tns:RequestMessage"/>
</wsdl:operation>
</ wsdl:portType>
<wsdl:portType name="execute_ptt_response">
4. <wsdl:operationname="executeResponse">
<wsdl:inputmessage="tns:ResponsetMessage"/>
</wsdl:operation>
</ wsdl:portType>
inthe above syncoperationcontainstwomessagesrequestandresponseinasingle portType,one-way
containsonlyrequestmessage inasingle portType.butinthe scenarioof ASync operationitcontains
twoportType's,each port type containssingle operation,eachoperationcontainsonlyinput message,
here response alsoconsideringas inputmessage.handlingof ASyncoperationwe have toimplement
differentapproach.
XSD (XML Schemadefinition)
XSD isthe definitionof XML structure.GenerallyXMListhe inputandoutput forwebservice operations.
We will define XMLinputandoutputstructure inXSD. So thatmy operationsshouldallowsame
structure of XML.
For creationof webservice interface we needtohave XSDinplace.
Followingisthe sample example structure of myinputandoutput.
I/P
<Employee>
<name>
<sal>
<dept>
</Employee>
O/P
<EmployeeResponse>
<Id>
</EmployeeResponse>
For the above I am providingthe XSDelements
<xsd:schemaxmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.example.org"
targetNamespace="http://www.example.org"
elementFormDefault="qualified">
<xsd:elementname="Employee">
<xsd:complexType>
<xsd:sequence>
<xsd:elementname="name"type="xsd:string"/>
<xsd:elementname="sal"type="xsd:int"/>
<xsd:elementname="dept"type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
5. </xsd:element>
<xsd:elementname="EmployeeResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:elementname="id"type="xsd:int"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
In the above we have createdtwoelements,one withthe name Employee andotherwiththe name
EmployeeResponse.
If elementcontainschild’swe needtouse the tagcomplexType.Siblingforthe complexType is
simpleType. Suppose if Iwantto applyrestrictionsonanyelementwe needtouse simpleType
Under complexType we have touse the followingtags sequence,all,andchoice,each tag has itsown
purpose.
Sequence fororderof elements, all forall elementsshould supportbutnoorder,butminOccursand
maxOccursvalue shouldnotbe greaterthan"1", andchoice shouldsupportonlyone elementfrom
elementslist.
Restrictionson element
We can applyfollowingrestrictionsonelementLength,Listof Values, Range of values,Pattern.
Length - we can specifyminLengthandmaxLengthforelement
Ex:
<xsd:elementname="name">
<xsd:simpleType>
<xsd:restrictionbase="xsd:string">
<xsd:minLengthvalue="10"/>
<xsd:maxLengthvalue="50"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
Above examplename elementshouldallow minimumof 10 characters and maximumof 50 characters.
List of Values - we can restrictthe elementtoallow specificlistof values.
Ex:
<xsd:elementname="name">
<xsd:simpleType>
<xsd:restrictionbase="xsd:string">
6. <xsd:enumerationvalue="abc"/>
<xsd:enumerationvalue="bcd"/>
<xsd:enumerationvalue="cde"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
inthe above sample name elementshouldallow only'abc','bcd','cde'. we have to repeatenumeration
for eachvalue.
Range of values - thiswe will applyonnumaricdata.
Ex 1:
<xsd:elementname="sal">
<xsd:simpleType>
<xsd:restrictionbase="xsd:int">
<xsd:minInclusive value="1"/>
<xsd:maxInclusivevalue="100000"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
inthe above sample sal shouldallow value inbetweenof 1 and100000, alsoit allow the value 1and
100000.
Ex 2:
<xsd:elementname="sal">
<xsd:simpleType>
<xsd:restrictionbase="xsd:int">
<xsd:minExclusive value="1"/>
<xsd:maxExclusivevalue="100000"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
inthe above sample sal shouldallow value inbetweenof 1 and100000, it won'tallow the value 1 and
100000.
Pattern - restrictionona seriesof values.
Ex 1:
<xsd:elementname="name">
<xsd:simpleType>
<xsd:restrictionbase="xsd:string">
<xsd:patternvalue="[A-Z][a-z][0-9]"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
7. inthe above sample name shouldallowonlytwocharectersandone digit.
Ex 2:
<xsd:elementname="name">
<xsd:simpleType>
<xsd:restrictionbase="xsd:string">
<xsd:patternvalue="[A-Z]+[a-z]*[0-9]"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
inthe above sample name shouldallow1or many uppercase letters,0or manylowercase letters,and
1 digit.inthe above sample '+' stande for1 or manyand '*' standsfor 0 or many.
We needtouse minOccurs and maxOccurs attributestodefine ArraysandcollectionsinXSD.
Ex 1:
<xsd:elementname="employees">
<xsd:complexType>
<xsd:sequence>
<xsd:elementname="employee"minOccurs="0"maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:elementname="name"type="xsd:string"/>
<xsd:elementname="sal"type="xsd:int"/>
<xsd:elementname="dept"type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
inthe above example"employees"parentelement,under"employees"we have "employee"child
element."employee" minOccursvalue is"0",itmeansit isnot mandatory. maxOccurs value
"unbounded",itmeansif itpresentitcanbe multiple times.
if we not provide anyvalue forminOccursand maxOccurs, by defaultvaluesare "1"and "1".
basedon the requirementwe cansetthe value for minOccurs and maxOccurs.
Below are the some sampleson minOccurs andmaxOccurs.
minOccurs="1" - meansminimumitshouldpresentonce inXML.
minOccurs="2" - meansminimumitshouldpresenttwotimesinXML.
maxOccurs="10" - maximumitshouldpresent10timesinXML.
maxOccurs="unlimited" - itshouldpresent"n"numberof timesinXML.
8. XML Attribute - we can define attribute withinaXML tag.
Ex 1:
<xsd:elementname="EmployeeDetails">
<xsd:complexType>
<xsd:sequence>
<xsd:elementname="EmployeeId"type="xsd:string">
<xsd:complexType>
<xsd:attribute name="fname"type="xsd:string"use="required"/>
<xsd:attribute name="mname"type="xsd:string"fixed="abc"/>
<xsd:attribute name="lname"type="xsd:string"default="abc"/>
</xsd:complexType>
</xsd:element>
<xsd:elementname="Salary"type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
inthe above example"employeeId"has3 attributesname "fname","mname",and"lname",we can
define fixedanddefaultvaluesforXMLattributesandalsowe can make it as "optional"or "required"
usingthe attribute "use",defaultvalueid"optional".
choice supportsanyone of the bellowelement.if we wanttopassgroup of elementsatruntime,we
have to group.
<?xml version="1.0"encoding="windows-1252"?>
<xsd:schemaxmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.example.org"
targetNamespace="http://www.example.org"
elementFormDefault="qualified">
<xsd:elementname="student">
<xsd:complexType>
<xsd:choice>
<xsd:groupref="totalGroup"/>
<xsd:groupref="avgGroup "/>
<xsd:groupref="gradeGroup"/>
</xsd:choice>
</xsd:complexType>
</xsd:element>
<xsd:groupname="totalGroup">
<xsd:all>
<xsd:elementname="s1"type="xsd:int"/>
<xsd:elementname="s2"type="xsd:int"/>
<xsd:elementname="s3"type="xsd:int"/>
<xsd:elementname="s4"type="xsd:int"/>
<xsd:elementname="s5"type="xsd:int"/>
</xsd:all>
9. </xsd:group>
<xsd:groupname="avgGroup">
<xsd:all>
<xsd:elementname="tot"type="xsd:int"/>
</xsd:all>
</xsd:group>
<xsd:groupname="gradeGroup">
<xsd:all>
<xsd:elementname="avg"type="xsd:int"/>
</xsd:all>
</xsd:group>
</xsd:schema>
at runtime,requestsupportsanyone of the group.groupswe needtocreate outside of the element.
Re-usability
reusable componentswe needtocreate outside of element,the same we willreferformultiple
elements.
ex:
<?xml version="1.0"encoding="windows-1252"?>
<xsd:schemaxmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.example.org"
targetNamespace="http://www.example.org"
elementFormDefault="qualified">
<xsd:elementname="employees">
<xsd:annotation>
<xsd:documentation>tjisisthe elementpassingtoinput</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:elementname="employee"minOccurs="0"maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:elementname="name"type="xsd:string"/>
<xsd:elementname="sal"type="xsd:int"/>
<xsd:elementname="dept"type="xsd:string"/>
<xsd:elementname="address"type="addressType"/>
<xsd:elementname="paddress"type="addressType"/>
</xsd:sequence>
<xsd:attributeGroupref="group"/>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexTypename="addressType">
<xsd:sequence>
11. The followingare the AdaptersinComposite
WebService
DB
JMS
File
FTP
AQ,like we have more to communicate thirdpartysystems.
CreatingProject in JDeveloper
OpenJDeveloper->in"ApplicationNavigator" ->fromdropDownclickon "New Application"
Applicationisnothingbuta folder,ithassome kindof configurationrelatedtoJDeveloper,we can
create multiple projectsinapplication.whenwe clickon"New Application"itopensthe followingpopup
12. inthe above popupwe have toprovide the Applicationname andthenclickonnext,itnavigatesto
projectcreationpopup,itlookslike bellow,inthe popupwe have toprovide the name of Projectand
selectthe type of projectfrom"available"andmove to"Selected"area.
inour case we have to select"SOA"from"Available Area"to"SelectedArea",formovingprojectsfrom
one area to otherarea,we have to use symbols">"and "<" available inbetweenof "Available"and
"Selected".
14. DeployingProject
Rightclickon projectand selectDeployasshowninthe bellow screen
it opensthe bellow popup screen, select"DeploytoApplicationserver"andclickon"Next"
It leadstofollowingpopupscreen,Select"Overwriteanyexistingcompositeswiththe same revisionID"
and un select"Keeprunninginstancesonafterredeployment"andclickon"Next"
15. it leadstonextpopup,here we needtoselectserverconnection,bydefaultitdonotshow any server
connection,we needtoaddthe serverconnection,foraddingserverconnectionwe needtoclickon"+"
symbol
17. it leadstofollowingpopup,here we have toprovide username andpassword,thenclickon"Next"
Username : weblogic
password: welcome1(thisiswhatwe providedwhile creatingdomain,itmaydiffertoeach)
it leadstonextpopup,here we have toprovide the domainname andclickon"Next"
WeblogicDomain: SOAOSBDomain (Domainname whatwe providedwhile creatingdomain)
18. it leadstonextpopup,here we needtoclickon"Test Connection", aftersuccessful testswe have to
clickon "Next"
inthe nextpopup,clickon"Finish".
Nowwe can selectthe createdserverandclickon "Next"
inthe nextscreenclickon"Next"andclickon "Finish"tocomplete the deployment.
For eachdomainwe needtocreate single serverconnectioninJDeveloper.
Note : Serverconnectionisone time configuration.
19. How to Add a Service Component
You create service components that implement the business logic or processing rules of your application.
You drag service componentsintothe designertoinvoke the initial propertyeditor.Thisactionenables
youto define the service interface (and,forasynchronousBPELprocesses,anoptional callback
interface).
The above Figure describesthe available service components.
StartingService ComponentEditors
DraggingThis Service
Component... InvokesThe...
BPEL Process Create BPEL Processdialog:Enablesyoutocreate a BPEL processthatintegrates
a seriesof businessactivitiesandservicesintoanend-to-endprocessflow.
BusinessRule Create BusinessRulesdialog:Enablesyoutocreate a businessdecisionbased
on rules.
Human Task Create HumanTask dialog:Enablesyoutocreate a workflow that describesthe
tasksfor usersor groupsto performas part of an end-to-endbusinessprocess
flow.
Mediator Create Mediatordialog:Enablesyoutodefine servicesthatperformmessage
and eventrouting,filtering,andtransformations.
20. BPEL (Business process execution language)
The purpose of BPEL isorchestrationof Services.BPELhasmultiple activitiestoorchestrate Services.
The followingexample describesthe procedurestoperformwhenaBPELprocessis draggedintothe
designer.
To add a service component:
1. From the ComponentPalette,selectSOA.
2. From the Service Componentslist,dragaBPEL Processintothe designer.The Create BPEL
Processdialogappears.
3. Enter the detailsshownin
Field Value
Name Enter a name (forthisexample,SayHellois entered).
Namespace Acceptthe defaultvalue.
Template SelectSynchronousBPELProcess.
For more informationaboutavailable templates,see the onlinehelp.
Expose asa
SOAPService
Deselectthischeckbox.Thiscreatesastandalone BPELprocess.If you selectthis
checkbox,aBPEL processand inboundwebservice bindingcomponentare each
createdand connected.
Introduction to Activities and Components
When you expand SOA Components in the Component Palette of Oracle BPEL Designer, service
components are displayed. Figure shows the components that display for a BPEL 1.1 process. A BPEL
2.0 process also shows the same components.
Figure A-1 SOA Components
21. Introduction to BPEL 1.1 and 2.0 Activities
This section provides a brief overview of BPEL activities and provides references to other documentation
that describes how to use these activities.
Oracle BPEL Designer includes BPEL 1.1 and BPEL 2.0 activities that are available for adding in a BPEL
process. These activities enable you to perform specific tasks within a process. Some activities are
available in both BPEL 1.1 and BPEL 2.0. Others are available in only BPEL 1.1 or BPEL 2.0.
To access these activities, go to the Component Palette of Oracle BPEL Designer. The activities display
under either of two categories:
BPEL Constructs: Displays core activities (also known as constructs) provided by standard BPEL
1.1 and 2.0 functionality. The activities in this category are displayed under additional
subcategories of Web Service, Activities, and Structured Activities in BPEL 1.1 and Web Service,
Basic Activities, and Structured Activities in BPEL 2.0.
Oracle Extensions: Displays extension activities that add value and ease of use to BPEL 1.1 and
2.0 functionality
Here I am explaining the purpose of each activity
1. Receive – isto read clientinputdata,itreadsthe data from exposedservice.ithasonlyone variable
that isinputvariable.
we needtodrag and drop the receive activityinBPELflow fromBPEL Constructs -> WebService,then
we needtodouble clickonreceive activity,itopensthe followingpopup.
We have to change followingpropertiesinReceiveactivitypopup,basedonourrequirement.
Name (optional) :Receive1(Default), generallywe needtocome upwithspecificname.
Operation: we needtoselectthe Service operation.
Create Instance : We needto selectthistostart the process.If we didnot checkit throwserror while
compilingcode.
Create InputVariable
22. 2. Reply– to sendresponse backtoclientthroughexposedservice.Ithasonlyone variable thatis
outputvariable
we needtodrag and drop the ReplyactivityinBPELflow fromBPEL Constructs -> Web Service,thenwe
needtodouble clickonReplyactivity,itopensthe followingpopup.
We have to change followingpropertiesinReplyactivitypopupbasedonourrequirement.
Name (optional) :Reply1(Default), generallywe needtocome upwithspecificname.
Operation: we needtoselectthe Service operation.
Create outputVariable.
3. Assign– to transferthe data betweenone variable tootherendvariable.UsingAssignactivitywe can
transferdata betweenanyvariabletoanyvariable like InputtoInput,InputtoOutput,Output toInput,
and Outputto Outputvariables.
we needtodrag and drop the AssignactivityinBPELflow fromBPEL Constructs -> Basic Activities,then
we needtodouble clickonAssignactivity,itopensthe followingpopup.
Clickon "General tab"inPopup
24. if we do the mappinginAssignactivity,foreachmapping itisgenerating single copyRule.itshould
looklike bellow
<copy>
<from>$Receive1_execute_InputVariable.part1/ns3:s1</from>
<to>$Invoke1_total1_InputVariable.parameters/sub1</to>
</copy>
inthe copyrule we have two tags,firstone is "from"and secondone is"to".
from- holdsthe data of source Variable
to - Is usedtopass the "fromdata" to target variable.
it isinternallyusingXPATHtoprocessthe variable data.
4. Invoke – isusedto invoke the externalservice oradapter.Ithas twoVariablesone inputandoutput
variable.
we needtodrag and drop the Invoke activityinBPELflow fromBPEL Constructs -> Web Service,thenwe
needtodouble clickon Invoke activity, itopensthe followingpopup.
We have to change followingpropertiesin Invoke activitypopup,basedonourrequirement.
Name (optional) :Invoke1(Default), generallywe needtocome upwithspecificname.
Operation: we needtoselectthe Service operation.
Create input/outputvariables.
25. usinginputvariable we passinputdatato service,the responsefromservice filledinoutputvariable.
5. Pick – pickis the activitywe use whenmyexposed service containsmultiple operations,receive
activitysupportssingle operation inexposedservice.
if my exposedservice containsmultipleoperationsBPELshouldsupportmultiple flows(single flowfor
each operation),we canachieve thisbyusingpickactivity.PickcontainsonMessage activityitworks asa
receive activity. ithasonlyone variable thatisinputvariable.
we needtodrag and drop the PickactivityinBPEL flow fromBPEL Constructs -> StructuredActivities,
defaultitopensone onMessage activity.eachonMessage activitysupports one operationinexposed
service (one flow).likewise we canaddmultiple onMessageflowsbasedonservice operations.
Note : Suppose myexposedservice contains10 operations, if we are planningtouse all operations,we
needtoadd 10 onMessage flowsinpickactivity.
We have to change followingpropertiesinpickactivitypopup,basedonourrequirement.
Name (optional tochange) :pick1(Default), generallywe needtocome upwithspecificname.
Create Instance : We needto selectthistostart the process.If we didnot checkit throwserror while
compilingcode.
27. 6. Flow Activity
Thisactivityenablesyoutospecifyone ormore activitiestobe performedconcurrently.A flow activity
completeswhen all activitiesinthe flow have finishedprocessing.Completionof aflow activityincludes
the possibilitythatitcan be skippedif itsenablingconditionisfalse.
For example,assumeyouuse aflowactivitytoenable twoloanofferproviders(UnitedLoanservice and
Star Loan service) tostart inparallel.Inthiscase,the flow activitycontainstwoparallel activities –the
sequence toinvoke the UnitedLoanservice andthe sequence toinvoke the StarLoanservice.Each
service cantake an arbitraryamountof time tocomplete theirloanprocesses. below figureshowsan
initial flowactivitywithitstwopanelsforparallelprocessing.Youdragactivitiesintobothpanelsto
create parallel processing.Whencomplete,aflow activitylookslikethatshowninFigure.
28. You can alsosynchronize the executionof activitieswithinaflow activity.Thisensuresthatcertain
activesonlyexecute afterotheractivitieshave completed.
Note:Oracle’sBPELimplementationexecutesflowsinthe same,single executionthreadof the BPEL
processand notin separate threads.
7. FlowN Activity
Thisactivityenablesyoutocreate multipleflowsequal tothe value of N,whichisdefinedatruntime
basedon the data available andlogicwithinthe process.Indexvariableincrementseachtime anew
branch iscreated,until the index variable reachesthe valueof N.
8. Compensate Activity
Thisactivityinvokescompensationonaninnerscope activitythathas successfullycompleted.This
activitycan be invokedonly fromwithinafaulthandleroranothercompensationhandler.
Compensationoccurswhenaprocesscannotcomplete several operationsaftercompletingothers.The
processmustreturnand undothe previouslycompletedoperations.Forexample,assumeaprocess is
designedtobooka rental car, a hotel,anda flight.The processbooksthe car and the hotel,butcannot
booka flightforthe correctday. In thiscase,the processperformscompensationbyunbookingthe car
and the hotel.The compensationhandleris invokedwiththe compensate activity,whichnamesthe
scope on whichthe compensationhandleristobe invoked.
belowFigure showsthe Compensate dialoginBPEL1.1. You can performthe followingtasks:
Clickthe General tabto provide the activitywitha meaningful name.
Selectthe scope activityonwhichthe compensationhandleristobe invoked.
Figure Compensate Dialog
29. In BPEL 2.0, the Compensate dialog does not include a Skip Condition tab.
9. Email Activity
Thisactivityenablesyoutosendan email notificationaboutanevent.
For example,anonlineshoppingbusinessprocessof anonline bookstoresendsacourtesyemail
message toyouafter the itemsare shipped.The businessprocesscallsthe notificationservice withyour
userID and notificationmessage.The notificationservice getsthe emailaddressfromOracle Internet
Directory.
10. If – conditional branching,basedonconditionitexecute the setof activities.
11. Wait – it holdsthe executionof process,specifiedtime.
we needtodrag and drop the waitactivityinBPEL flow fromBPEL Constructs -> Basic Activities.we
needtodouble clickonit to selectwaittime.
we have two optionstoselectwaittime
For
Until
30. For - we can specifytime inthe combinationof seconds, Minutes,Hours,Days,Months,andYears.
Until - till the particularperiodof time.
infor and until we have the expressiontoselectthe value atruntime.
12. Exit – terminate the runningprocess. itisnotgoodwayto use "Exit"in Synchronous BPELprocess.
Synchronous processexpectingsome response inaparticularperiod of time.if we terminatethe
processsynchronousprocessnevergetresponseback,soitraise exception.thatiswhywe are not using
"Exit"insynchronousprocess.
31. 13. Empty
Thisactivityenablesyoutoinsertano-operationinstructionintoaprocess.Thisactivityisuseful when
youmust use an activitythatdoesnothing(forexample,whenafaultmustbe caughtand suppressed).
14. Java EmbeddingActivity
Thisactivityenablesyoutoaddcustom Javacode to a BPEL processusingthe Java BPEL execextension
bpelx:exec.Thisisusefulwhenyouhave Javacode thatcan performa function,andwantto use this
existingcode insteadof startingover.InBPEL 2.0 projects,the bpelx:execextensionandJavacode are
wrappedinan <extensionActivity>element.
Thisactivityenablesyoutoaddcustom Javacode to a BPEL processusingthe Java BPEL exec
extension<bpelx:exec>.
Whenuserdouble clicksonthe Java embeddingicon,popupwindow will appearandusercan
enterthe javacode onit.
15. NotificationActivities
Thisactivityenablesyoutosendnotificationaboutaneventtoa user,group,or destination
address.
You can senda notificationbye-mail,voice mail,fax,pager,orshortmessage service (SMS).
16. Partner Link Activity
Thisservice enablesyoutodefinethe external serviceswithwhichyourprocessinteracts.A partnerlink
type characterizesthe conversational relationshipbetweentwo servicesbydefiningthe rolesplayedby
each service inthe conversationandspecifyingthe porttype providedbyeachservice toreceive
messageswithinthe conversation.Forexample,if youare creatingaprocessto interactwitha Credit
RatingService andtwoloan providerservices(UnitedLoanandStar Loan); youcreate partnerlinksfor
all three services.
32. A meaningfulname forthe service.
The webservicesdescriptionlanguage(WSDL) file of the external service.
The actual service type (definedas PartnerLinkType).
The role of the service (definedasPartnerRole).
The role of the processrequestingthe service (definedasMyRole).
17. Rethrow Activity
Thisactivityenablesyoutorethrow a faultoriginallycapturedbythe immediatelyenclosing
faulthandler.
Note:ThisactivityisonlysupportedinBPEL2.0 projects.
18. Scope Activity
Thisactivityconsistsof a collectionof nestedactivitiesthatcanhave theirownlocal variables,fault
handlers,compensationhandlers,andsoon.A scope activityisanalogoustoa { } blockina
programminglanguage.Eachscope hasa primaryactivity thatdefinesitsbehavior.The primaryactivity
can be a complex structuredactivity,withmanynestedactivitieswithinittoarbitrarydepth.The scope
issharedby all the nestedactivities.
33. Faulthandlingisassociatedwithascope activity.The goal isto undothe incomplete andunsuccessful
workof a scope activityinwhicha faulthas occurred.You define catchactivitiesinascope activityto
create a setof custom fault-handlingactivities.Eachcatch activityisdefinedtointerceptaspecific type
of fault.
Figure Fault-1showsthe AddCatch iconinside ascope activity. Figure Fault-2showsthe catchactivity
area that appearswhenyouclickthe AddCatch icon.Withinthe area definedasDropActivityHere,you
drag additional activitiestocreate faulthandlinglogictocatch and manage exceptions.Forexample,a
clientprovidesasocial securitynumbertoa CreditRatingservice whenapplyingforaloan.Thisnumber
isusedto performa creditcheck.If a bad credithistoryisidentifiedorthe social securitynumberis
identified asinvalid,anassignactivityinside the catchactivitynotifiesthe clientof the loanoffer
rejection.The entire loanapplicationprocessisterminatedwithaterminate activity.
Figure Fault-1 Catch Activity Icon
34. 19. Sequence Activity
Thisactivityenablesyoutodefine acollectionof activitiestobe performedinsequential order.For
example,youmaywantthe followingactivitiesperformedinaspecificorder:
A customerrequestisreceivedinareceive activity.
The requestisprocessedinsideaflow activitythatenablesconcurrentbehavior.
A replymessage withthe final approvalstatusof the requestissentbackto the customerina
replyactivity.
A sequence activitymakesthe assumptionthatthe requestcanbe processedina reasonable amountof
time,justifyingthe requirementthatthe invokerwaitfora synchronousresponse (becausethisservice
isofferedasa request-responseoperation).
Whenthisassumptioncannotbe made,itis bettertodefine the customerinteractionasapair of
asynchronousmessage exchanges.
Whenyoudouble-clickthe Sequence icon,the activityareashowninfigure appearsbellow.Dragand
define appropriateactivitiesinside the sequenceactivity.
20. Switch Activity
Thisactivityconsistsof an orderedlist of one or more conditional branchesdefinedinacase branch,
followedoptionallybyanotherwise branch.The branchesare consideredinthe orderinwhichthey
appear.The firstbranch whose conditionistrue istakenandprovidesthe activityperformed forthe
switch.If no branch witha conditionistaken,thenthe otherwise branchistaken.If the otherwise
branch isnot explicitlyspecified,thenanotherwise branchwithanemptyactivityisassumedtobe
available.The switchactivityiscompletewhenthe activityof the selectedbranchcompletes.
A switchactivitydiffersinfunctionalityfromaflow activity.Forexample,aflow activityenablesa
processto gathertwo loanoffersatthe same time,butdoesnotcompare theirvalues.Tocompare and
make decisionsonthe valuesof the twooffers,aswitchactivityisused.The firstbranchisexecutedif a
definedcondition(inside the case branch) ismet.If itis notmet,the otherwise branchisexecuted.
35. 21. Terminate Activity
A terminate activityenablesyoutoendthe tasksof an activity(forexample,the faulthandlingtasksina
catch branch).For example,if aclient'sbadcredithistoryisidentifiedorasocial securitynumberis
identifiedasinvalid,aloanapplicationprocessis terminated,andthe client'sloanapplicationdocument
isneversubmittedtothe service loanproviders.
22. Throw Activity
Thisactivitygeneratesafaultfrominside the businessprocess.
36. 23. Transform Activity
Thisactivityenablesyoutocreate a transformationthatmapssource elementstotargetelements(for
example,incomingpurchase orderdataintooutgoingpurchase orderacknowledgmentdata).
figure showsthe TransformdialoginBPEL1.1. Thisdialogenablesyoutoperformthe followingtasks:
Define the source andtargetvariablesandpartsto map.
Specifythe transformationmapperfile.
Clickthe secondicon(the Addicon) to the rightof the Mapper File fieldtoaccessthe XSLT
Mapper forcreatinga newXSLfile forgraphicallymapping source andtargetelements.Clickthe
Editicon (thirdicon) toeditan existingXSLfile.
In BPEL 2.0, the EmptydialogincludesaDocumentationtabanddoesnotinclude aSkipConditiontab.
Interaction Patterns in BPEL
1. One-WayMessage
In a one-waymessage,orfire andforget,the clientsendsamessage tothe service,andthe service does
not needtoreply.
One-WayMessage
37. BPEL Processas the Client
As the client,the BPELprocessneedsavalidpartnerlinkandan invoke activity withthe targetservice
and the message.Aswithall partneractivities,the WSDLfile definesthe interaction.
BPEL Processas the Service
To accept a message fromthe client,the BPELprocessneedsareceive activity.
2. SynchronousInteraction
In a synchronousinteraction,aclientsendsarequesttoa service,andreceivesanimmediate reply.The
BPEL processcan be at eitherendof thisinteraction,andmustbe codedbasedonitsrole as eitherthe
clientorthe service
BPEL Processas the Client
Whenthe BPEL processison the clientside of asynchronoustransaction,itneedsaninvoke activity.
The port on the clientside bothsendsthe requestandreceivesthe reply.Aswithall partneractivities,
the WSDL file definesthe interaction.
BPEL Processas the Service
Whenthe BPEL processison the service side of asynchronoustransaction,itneedsareceive activityto
accept the incomingrequest,andareplyactivitytoreturneitherthe requestedinformationoran error
message (afault).
3. AsynchronousInteraction
In an asynchronous interaction, a client sends a request to a service and waits until the service replies.
BPEL Process as the Client
38. When the BPEL process is on the client side of an asynchronous transaction, it needs an invoke activity
to send the request and a receive activity to receive the reply. As with all partner activities, the WSDL file
defines the interaction.
BPEL Process as the Service
As with a synchronous transaction, when the BPEL process is on the service side of an asynchronous
transaction, it needs a receive activity to accept the incoming request and an invoke activity to return
either the requested information or a fault.
For each and while – repeatsthe executionof code multiple timesbased onspecifiedcondition.
Adapter
Oracle SOA contains set of Adapters to communicate external sourceslike DB, File, FTP, AQ and JMS etc..
what is Adapter?
Adapterisa designpattern,internallycontainsjavacode tocommunicate external sourceslike DB,File,
FTP,AQ and JMS.
WebService
Database
Database is a permanentlocationtostore ourapplicationdata.itholdsthe data intabularformat. in
general we will donormalizationtostore the data.
what is normalization?
decomposition of schemaintosubschemasiscallednormalization.innormalizationprimaryand
foreignkeyplaysmainrole.we make relationbetweenparentandchildtablesusingPrimaryand
ForeignKey's.
PrimaryKey - thiswe use on parenttable field,itwon'tallow duplicatesandNULL valuestoinsert.
ForeignKey - thiswe use in childtable field.itreferencestoparenttable.
simple example inthe formof Tables.myparentTable isEmpand childtable idDept.
Emp table
No (Primary Key) First Name Last Name Sal
1 Abc Xyz 10000
2 Abc1 Xyz1 20000
3 Abc Xyz2 30000
inthe above table if we tryto insertthe same numberinthe "No" field,itraise primarykeyviolation
exception.
inthe above table if we tryto insert"NULL" inthe "No"field,israise "NULLvaluesnotallowed"
exception.
39. Dept Table
NO (Primary Key) Name Type Emp No(ForeignKey
ReferencesEmpTable
"No" field)
1 A1 A1 1
2 B1 B1 1
3 A1 A1 2
4 A1 A1 3
one parentmay have 0 or manychild's.if we observe "EmpNo"fieldhasduplicate values.
foreignkeyalwaysreferencestoprimarykey,withoutprimarykeythere isnoforeignkey.
SQL ?
it isa querylanguage todo CRUD operationsonTables.CRUDstandsfor Create,Read,Update
and Delete.the followingare the querieswe use todoCRUD operations.
Select*fromEMP - it fetchesall the recordsfromTable.
Select*fromEMP where No=1 - itfetchesrecordsbasedoncondition,withthe "No"fieldvaluesequals
to "1".
InsertintoEMP values() - itinsertsthe datain Table.like we have queriestoUpdate anddelete the
recordsin table.
Procedure in Database?
isusedto execute multipleSQLstatementinasingle request.inprocedure we write multiple
queries.if we execute the procedure,internallyitprocessall the queries.
DB Adapter
The purpose of DB adapterto execute SQLcommandsandprocedures.Ingeneral we needto
write some javacode to execute SQLcommands.Buton behalf Adapterdoingthattask. Justwe needto
provide some configurationlike JNDIname of connectionpool andneedtoprovide SQLoperationwhat
we want to do.
while workingonDBAdapterwe have to focuson followingsteps
Creationof Data Source
Configure DataSource inDB Adapter andUpdate DB Adapter
UsingDB AdapterinApplication.
Creationof Data Source
we needtocreate Data Source inweblogicconsole.loginintoweblogicconsoleusing
credentials(http://localhost:7001/console).
clickon Service ->Data Sources -> New -> GenericData Source
40. enterthe followingproperties
Name : we shouldprovide the name,butitshouldbe yourchoice
JNDIName : we shouldprovide the name,butitshouldbe yourchoice,the followingisthe formatwe
have to maintain,itisnotMandatory, but itis a specificationwe shouldfollow.
jdbc/name onyourchoice
Note : if we provide name as"SOADataSource",itisgoodto provide JNDIname as
"jdbc/SOADataSource"
Database Type : Selectthe Database fromthe listandthenclick"Next"
41. inthisscreenselectDatabase DriverandClickon Next.
we have two differenttypesof Database drivers,XA andnon-XA.thisi will explainlaterwhile explaining
abouttransactionmanagement.
inthisscreen,justClickon Next
In thisscreenwe needtoprovide Database detailslike Database Name,HostName,Port,Database User
Name,Password,andConfirmPasswordandthenClickonNext
43. nextscreenselectthe servertodeploydatasource andclickon finish
above we have createdXA data source.Apart fromXA we have non-XA.XA alwaysparticipate into
transactionmanagement.non-XA neverparticipate intotransactionmanagement.
whatis transaction? - executingsequence of stepsinaprocess.if everythinggoesfinetransactionwill
commit,else rollback.
Configure Data Source in DB Adapter and Update DB Adapter
DB Adapter in
Application
DB adapter
application in
server
Data Source Created
in server
44. Whywe needto configure Data Source in DB Adapter?
if we are usingDB adapterin our application,whenwe runourapplication,DBAdapterinour
applicationcommunicatestoDBAdapteravailable inserver,DBAdaptercommunicatestodatasource
to getthe connection.usingthatconnectionitcommunicatetoDatabase.
followingare the stepstoconfigure DataSource in DB Adapter...
Loginintoweblogicconsole ->Deployments
Thenclickon DbAdapteravailable inlist
ThenSelectConfiguration ->OutboundConnectionPools ->New
46. thenit navigatesthe followingscreen...thenextractthe javax.resource.cci.ConnectionFactory, we found
JNDIname what we createdinpreviousstep
thenclickon JNDIname,we will navigate tofollowingscreen,the default valueinXA DataSource id
empty,we shouldprovide the datasource JNDIname whatwe createdinfirststep.
thenclickon "save".
47. Once Againclickon deployments - > selectDbAdapterCheckBox ->Clickon"Update",itnavigatesto
followingpage.
1
selectthe option"Redeploythisapplicationusingthe followingdeploymentfiles",thenclickon"Next",
innextScreenclickon "Finish".
UsingDB Adapter in Application
we needtodrag and drop intoexternal referenceorexposedservice areaincomposite.while
workingwithDBpollingoptionwe draganddrop inExposedservicesarea,inremainingscenarioswe
place inexternal reference area.
OpenJDeveloperIDEandcreate project(forcreatingprojectinJdeveloper,please followthe document
" Creating Projectin JDeveloper.docx"),Draganddropthe Database Adapterfromservice Adapters
location.
DB Adapterhas manyoptionstoprocesson table like Insert,delete,update,select.Apartfromtable
operationithasmore optionslike DBPolling(Polls onparticularrecordtoprocessnew records),calling
procedure/functionandwe canrun pure SQL.
File and FTP Adapter
purpose of File andFTP adapterto readfromand write to files.file adapterprocessthe filesinwithin
the networkor local system. FTPprocessthe filesinsharedlocationorremote location.whileworking
on File/FTP, we have tofocusonNXSD.
what is NXSD ?
NXSD standsfor native XSD. purpose of NXSDis totransfernative formatdata to XML. In
general we are sendingrequestto service inthe formof XML. But usingfile adapterwe have processthe
flatfileslike bellow
no,name,sal
1, abc, 10000
48. 2, abc1, 20000
3, abc2, 30000
4, abc3, 40000
to convertthiskindof data to XML, we have to use NXSD.
Note : In general we create XSDfiles.Butinthe scenarioof NXSDwe have to generate XSDfilesbased
on some sample files.
listof operations infile Adapter
Read
write
Sync Read
List files
Read- is usedto,read the data fromfile,ithasdifferentproperties,we use those basedonour
requirement.
Write - isusedto, write the contenttofile,ithasdifferentproperties,we use those basedonour
requirement.
Sync Read - isusedto, Readthe data from file , ithas differentproperties,we use those basedonour
requirement.
List files - isusedto,listthe filesindirectory,itgivesusthe informationrelatedtofilesinaselected
folder.
listof operations inFTP adapter
Get
Put
Sync Get
List files
Get - isusedto, readthe data from file locatedinsharedlocation,ithasdifferentproperties,we use
those basedonour requirement.
Put - is usedto,write the contentto file locatedinsharedlocation,ithasdifferentproperties,we use
those basedonour requirement.
Sync Get- is usedto,Readthe data fromfile locatedinsharedlocation,ithasdifferentproperties,we
use those basedonour requirement.
List files - isusedto,listthe filesindirectory,itgivesusthe informationrelatedtofilesinaselected
folder.
difference betweenReadandSync Read?
Readid a pollsonparticularfolderoncertainfolderandprocessfilesavailable.Syncreadondemand
process,afterstartingthe executionwe have toprocessparticularfile,we needtouse SyncRead.
49. Note 1 : same difference applicabletoGetand SyncGet.
PropertiesinFile and FTP adapter - Read and Write Properties
Do not ReadFile content
Use file Streaming
ReadFile as attachment
Directorynamesare Specifiedas
Process filesrecursively
Archive ProcessFiles
Delete filesaftersuccessful retrieval
Name patternsare Specifiedwith
Include fileswithname pattern
exclude fileswithname pattern
FilesContainmultiplemessages
PollingFrequency
MinimumFile Age
Use TriggerFile
AddOutputHeader
Appendtoexistingfile
Do not Read file Content(Read)
You can use the Oracle File andFTPAdaptersas a notificationservice tonotifyaprocesswhenevera
newfile appearsinthe inbounddirectory.Touse thisfeature,selectthe Donot readfile content check
box in the JDeveloperwizardwhile configuringthe "Readoperation."
Read File as attachment (Read)
youcan transferlarge MS Word documents,images,andPDFswithoutprocessingtheircontentwithin
the composite application
Directory names are Specifiedas (all Operation in file Adapter)
it istwotypes
Physical Path
Logical Path
Physical Path - local directory/serverdirectorypath(static)
Logical Path - we will configurepathincomposite.xml,we will readvalue at runtime.
Processfilesrecursively(Read)
we needtoselectthisoptiontoprocessfilesavailable insubdirectories.
Archive Process Files (Read)
Archive the file afterreading,we have tospecifyarchive location.
Delete filesaftersuccessful retrieval (Read)
if we selectthisoption,deletesthe filesafterprocessing.
Name patternsare Specifiedwith (Read)
it hastwo types
file wildcards - *.txt,*.xml,po*.txtlike
50. regularexpression - we will use javaregularexpression - po.*.txt
Include fileswithname pattern (Read)
if we specifyvalue *.txt,itincludesfileswithextinction.txt,we canspecifylike thisalsopo*.txt
exclude fileswithname pattern (Read)
if we specifyvalue *.txt,itexcludesfileswithextinction.txt,we canspecifylikethisalsopo*.txt
FilesContainmultiple messages (Read)
Thisis debauching,batchprocessingof recordsinafile.basedonvalue itprocessrecordsavailable in
file.
PollingFrequency(Read)
it processthe filesavailableinfolderbasedoncertainintervals.we canspecifyintervaltime inseconds,
minutes,Hours,daysandweeks
MinimumFile Age (Read)
If we selectthisoption,Adapterprocessthe files,filesminimumage shouldbe greaterthanequalsthe
specifiedtime.we canspecifytime inseconds,minutes,Hours,daysandweeks
Use Trigger File (Read)
If we use thisoptionAdapterwaitsuntil triggerfile available inspecifiedfolder.simple triggerfile start
the process.
Add Output Header (Write)
if we want to addHeaderinformationinOutputfile
Appendto existingfile (Write)
If we selectthisoption,itappendsthe contenttoexistingfile,elseitwill create new file foreach
processing.
AQ Adapter
Advancedqueuingisthe conceptof Oracle Database.Forthisalsowe needto create Data Source.Data
source creationissame as DB Adapter(ReferDbAdapterDataSource Creation).