Skip to main content

Posts

Showing posts from 2013

Multi-Tenancy e Cloud Computing

D ue to the traditional software offering "On Premisse" where the application is installed and configured to operate in "data centers" of companies, subject to specific contracts use license, we have a wide range of offerings frameworks, platforms, architecture models, "patterns" and professionals available. The SAAS model has required new architectures specifically designed for Cloud Computing, along with these drawings certain terms gain new status to identify models and technology needs of the moment. One of these terms is the "Multi-Tenancy". The model "Multi-Tenancy" is a model architecture that enables resource optimization of infrastructure and software systems through sharing retaining tenants, businesses / customers, logically separated. At the same time it is desired in supplier´s side a pattern of application / service for highly scalable applications. "Multi-Tenancy" applications typically need to be able to pro

Parsing XML with namespace in Java

Introduction Yesterday, again, I needed parser a XML stream using Java. Then I went to Google try to find a exemple code. Because I needed the value of two specific fields, TAGs, I decided use XPATH to get directly this values. How ever, I needed do several tried until get a result. Keywords JAVA, XML, NAMESPACE, XML PARSE; Article I will show how to read XML without namespace and after we will read a XML streams with namespaces. This is the first XML that I have used in this example without namespaces <?xml version="1.0" encoding="UTF-8"?> <root>   <head>     <title>My Book</title>   </head>   <bookreview>     <title>This is a book about special girls</title>     <girls>       <girl>         <name>Mata Hari</name>       </girl>       <girl>          <name>Belle de Jour</name>       </girl>       <girl>          <name&