|
Recent Articles (more)
Document Object Models for XML
— There are several competing document object models that can be used in order to load XML into memory. These include W3C standardized DOM, JDOM, dom4j, XOM and Saxon XDM.
Labels: xml, dom, jdom, dom4j, xom, saxon
|
MLJMS - JMS Driver for MarkLogic
— MLJMS is a XQuery and Java library that enables marklogic content to be sent over JMS. Basically whenver the state (create, update, delete) of a document or collection of documents changes, external parties may be interested in these changes. MLJMS uses the Marklogic triggers framework to send messges to a JMS destination.
Labels: xml, xquery, java, marklogic, jms
|
CSharp Code Generation for FpML with Xsd2Code
— This article focuses primarily on C# code generation of the FpML schema (v5.0) using Xsd2Code. Xsd2Code is an open source CSharp or Visual Basic Business Entity class Generator from XSD schema. In the Java world, this can be handled by using jaxb and maven as decribed in the article 'FpML Integration with JAXB and Maven'.
Labels: fpml, dotnet, xml, xsd, csharp
|
Demo Using Drools, FpML, XPath and JMX
— This article showcases the use of Drools, FpML, XPath and JMX in the context of a deal approval engine through a working demo. The demo will demonstrate the use of Drools, FpML and XPath for trade message validation and the ability to update business rules dynamically using JMX and Drools.
Labels: drools, fpml, xpath, jmx
|
Loading Large FpML data into MarkLogic
— Lets take the case where we need to load a set of FpML representation of credit default swaps in MarkLogic . This article explains how to use XQuery to load documents into Marklogic, the issues and using xdmp:invoke and xdmp:spawn to overcome these issues.
Labels: fpml, marklogic, xquery, xml
|
Using Saxons S9API Interface
— Saxon is an integrated XML processor that offers tree based XML representation, schema validation, XPath and XQuery evaluation and XSLT processing. Its new s9api interface provides simple, integrated access to all Saxon's XML processing capabilities in a uniform way, taking advantage of the type safety offered by generics in Java 5.
Labels: xml, xpath, saxon, xquery
|
JAXB Custom Bindings HashCodes and Equals
— When using generated classes, it's natural to want to use these domain objects in some sort of Collection. The problem presented here is that the hashCode and equals methods do not get generated, resulting in an obvious problem.
Labels: fpml, jaxb, technical, java
|
Ivy in .Net
— This article demonstrates how Ivy can be setup for a .Net Project using NAnt. The issues covered include: environment setup, how to declare project dependencies, dependency resolution using multiple repositories and building projects using NAnt.
Labels: ivy, nant, csharp, dotnet
|
Singleton JAXBContext
— One of the most common patterns with the JAXBContext is to have one context per Thread using a ThreadLocal. However, one of the chief complaints about JAXB is that its a memory hog. So the key is to initialize the context once and vend out (un)marshallers. Since creating the context can be quite expensive, its quite common to create it on server startup. The tricky part, when using Spring's ApplicationContext, is how do we get the the paths of the ObjectFactory.class and jaxb.index files?
Labels: technical, spring, java, jaxb
|
MarkLogic Training
— MarkLogic is an industry leading XML Server, designed and optimized for XML content. It provides capabilities to store, manage, enrich, search, navigate, and dynamically deliver content. We recently had the opportunity to attend a 3-day basic training on MarkLogic.
Labels: marklogic, xpath, xquery, xml
|
Useful Bash snippets
— Having to work on different Linux boxes that are locked down and often lack common utilities, I like to keep around a few snippets for inclusion in .bashrc or .bash_profile. E.g., here are a couple, to make searching easier and to convert DOS-formatted files when the dos2unix binary is missing.
Labels: technical, linux, bash, shell-scripting
|
jmock me
— In hindsight, it seems like a particularly painful experience. Whenever I would need to mock or stub out an interface, I would do it myself. Either using dynamic proxies or an anonymous inner class in the form of
Labels: spring, testing, java, technical
|
Bean startup using Lifecycle
— Working with Spring, I have noticed that developers have a hard time creating and starting a container correctly. Often, the startup class will consist of a ClassPathXmlApplicationContext with a base context file to digest. The problem lies in the fact that most do not pay attention to the Lifecycle interface, and proceed to mix initialization and on-start behavior using either the InitializingBean or the explicitly declared init-method.
Labels: technical, java, spring, jms
|
FpML Integration with JAXB and Maven
— Getting started with a new technology can be quite daunting and, when you have a number of inter-dependencies, it can seem impossible. This article will describe how to get a quick start using: FpML 4.4, JAXB 2.1.6 and Maven 2.0.7
Labels: maven, fpml, jaxb
|
Changing lead into gold Revealing the XO impedance mismatch
Labels: xsd, object, modeling
|
Showing first 15 of 72 results
|
Quick Links
Risk Focus Wiki Home
Global Spaces
Articles and Publications
Maven Repository
SVN Repository |