Sharing structured data

XML Magazine

Subscribe to XML Magazine: eMailAlertsEmail Alerts newslettersWeekly Newsletters
Get XML Magazine: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn

Top Stories

API Security has finally entered our security zeitgeist. OWASP Top 10 2017 - RC1 recognized API Security as a first class citizen by adding it as number 10, or A-10 on its list of web application vulnerabilities. We believe this is just the start. The attack surface area offered by API is orders or magnitude larger than any other attack surface area. Consider the fact the APIs expose cloud services, internal databases, application and even legacy mainframes over the internet. What could go wrong? API Security has been added to OWASP Top 10 2017 - RC1. This is a commendable step taken by the web application security thought leaders and is a clear indication of where the industry is heading. Security professionals have all the tools and awareness to fence in applications, databases and legacy systems through firewalls. OWASP has served the security professionals well... (more)

Solving the XML Problem with Jackson | @CloudExpo #API #Java #JSON #Cloud

Solving the XML Problem with Jackson By Eugen Paraschiv Jackson is a popular library for handling JSON in Java applications, quickly becoming the de-facto standard in the ecosystem. Starting with version 2, it has also introduced a mature XML implementation alongside its established JSON support. Adding Jackson XML to the Project Adding the Jackson XML module to the project only needs a single dependency - the Jackson XML module itself: com.fasterxml.jackson.dataformat jackson-dataformat-xml 2.9.0 And in Gradle: compile "com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.9.0" This will automatically pull in all of the other Jackson dependencies that are needed: Jackson Core Jackson Annotations Jackson Databind Jackson Module JAXB Annotations Woodstox StAX Implementation Not... (more)

Custom HTTP header support for problem notification WebHooks

WebHooks are our go-to “Swiss Army knife” solution for notifying 3rd party systems about Dynatrace-detected problems where we have no out-of-the-box integration. By allowing you to additionally specify custom HTTP header fields within WebHooks, custom WebHook integration is now more flexible than ever. The Custom integration (aka, WebHook) option for custom problem-notification integration (see callout below) enables you to integrate with any 3rd-party system that accepts HTTP POST requests. As pushed payloads are completely customizable, you can model any format to meet the requirements of the system you’re integrating with. One application of the WebHook integration could be to directly send raw problem meta information to an AWS Lambda function where a detected problem can be further filtered and processed. If you’re within your own data center, you can easily ... (more)

Everything You Need to Know about XML

What an excellent little book! In a scant 96 pages, Eckstein and Casabianca have managed to present everything you need to know to get up and running with XML. After the obligatory review of what XML is and why it's needed, as well as definitions of some of the key concepts of XML technology, the authors launch into a concise, though comprehensive, discussion of DTD (Document Type Definition) design and construction. A DTD specifies the overall structure and content of a valid XML document; it specifies the elements a document can contain as well as the allowed attributes of those elements. Element declarations, entities, and attribute declarations are well covered here, and the examples are clear and unambiguous. The authors then embark on a discussion of XSL (Extensible Stylesheet Language). The two XML technologies that fall under this rubric are XSLT (Extensib... (more)

Advanced ANSI SQL Native XML Integration-Part 2 - Supporting advanced XML capabilities

Part 1 of this article demonstrated how standard ANSI SQL can integrate fully, naturally, and seamlessly with XML. This was accomplished by naturally raising SQL processing to a hierarchical level, enabling relational data (including XML-shredded data) to integrate at a full hierarchical level with native XML. Hierarchical processing and the utilization of the hierarchical semantics were also shown in Part 1, along with the hierarchical joining of hierarchical structures. Part 2 will cover how standard SQL can naturally support more advanced XML capabilities such as node promotion, fragment processing, structure transformation, variable structures, and the handling of shared and duplicate elements. Node Promotion and Fragment Processing SQL's hierarchical processing capabilities do not stop with what was presented in Part 1. We will look at supporting XML's more adv... (more)

XML Binding Frameworks in the Context of Service-Oriented Architecture

This article critically evaluates the role of XML binding frameworks play in the context of service-oriented architecture (SOA) platforms, and it also provides an objective evaluation of the popular XML binding frameworks in a J2EE environment. XML binding refers to the mapping of XML documents to/from any suitable internal representation (e.g., object-based representation) that is understandable by the underlying system, and in the process facilitating easy and intuitive access to the data in XML documents. In a J2EE context, this translates to an easier and logically meaningful way of accessing the data in XML documents, rather than using the low-level DOM/SAX parsers. To illustrate, in Listing 1, an order-processing application would find it easy to access Order, Item, and Customer objects rather than using the XML-specific data elements listing each element, its... (more)

Google Maps and ASP.NET

I am sure that most of you have heard about or have had a chance to use Google Maps. It's a great service and I was really impressed by the responsiveness of the application and the ease with which users could drag and zoom maps from a Web browser. It has in many ways heralded the arrival of AJAX (Asynchronous JavaScript and XML), which I am sure will revitalize Web development in the days to come. What makes the service even better is the availability of the Google Maps API (Application Programming Interface) as a free Beta service. The API allows developers to embed Google Maps in their custom applications. It also allows them to overlay information on the map and customize the map to their needs. As I write this article there are quite a few sites that utilize Google Maps, and more and more of them are appearing by the day. The API by itself is pretty straightfor... (more)

Index XML Documents with VTD-XML

Traditionally DOM or SAX-based enterprise applications have to repeat CPU-intensive XML parsing when accessing the same documents multiple times. VTD-XML 2.0 introduces a simple general-purpose XML index called VTD+XML ( that eliminates the need for repetitive parsing of those applications. This article combines various examples and the latest benchmark reports to show you how to get started with this indexing. This article also discusses various scenarios and use cases where you may find VTD+XML useful. Avoid Repetitive XML Parsing with VTD-XML As discussed in "Simplify XML processing with VTD-XML," to date one of underlying assumptions in XML application development is that an XML document must be parsed before anything else can be done with it. In other words, the processing logic of XML applications can't start witho... (more)

A Platform for XML Web Services: Part 3 of 3

Parts 1 and 2 of this series explored the wealth of Web service-friendly features in the .NET Framework, from creating and testing Web services to building seamless proxies without typing a line of code. This final segment examines advanced techniques that provide even more power and flexibility to the XML-enabling platform. State Management Under many circumstances it's helpful to retain information between Web service function calls. For example, you may need to track the number of calls a particular client (consumer) makes to your service in a given period of time. While we could rely on the consumer to provide that information, we can't guarantee its accuracy. Using state management, we can persist data about our connection with a consumer for a specified period of time. The Session object of .NET provides us with the features required to maintain state. Using t... (more)

SOA Web Services XML: Why WSDM Matters

The world of IT management has changed a great deal since the early days of SNMP and network management. IT organizations today are building and deploying a wide range of systems and applications that must be managed in a consistent and reliable way. Applications are being built from the ground up using service-oriented design principles, and an IT manager can no longer look to a single machine to determine the health and availability of the services being delivered. Resources are much more distributed and interconnected, and they are being deployed at an alarming rate. For IT, this poses additional challenges in having to keep track of changes and to build management solutions that can aid in linking business needs to IT. With the variety of application platforms and technologies in use today, companies demand standardized approaches to managing these heterogeneous ... (more)

Creating Web Applications with the Eclipse Web Tools Project

The Web Tools Project (WTP) by the Eclipse Foundation is a set of open source tools that substantially reduce the time required for the development of Web applications, EJBs, and Web services. The WTP's current version is 0.7.1 and version 1.0 is coming later this year. The framework provides wizards and tools to create EJBs, Web components such as servlets and JSPs, and Web services using the Axis engine. It also provides source editors for HTML, JavaScript, CSS, JSP, SQL, XML, DTD, XSD, and WSDL; graphical editors for XSD, WSDL, J2EE project builders, models, and a J2EE navigator; a Web service wizard, explorer, and WS-I Test Tools; and database access, query tools, and models. In this article I'll show you how to develop and deploy a JSP Web application with WTP in less than an hour. I'll also cover the creation and deployment of a basic servlet and editing JSP ... (more)