Category: Tools
Posted by: Administrator
Under the following URL Nvu a very helpful HTML WYSIWYG Web-Editor can be downloaded. I use it to format my source code examples in this blog. It could be used for rapid prototyping of web applications.
Category: General
Posted by: Administrator
Name conflicts can occur, if you start to generate classes using JAXB. For example you start to generate classes for a .xsd (XML Schema Description) and this schema file imports multiple other referencing .xsd files. For example two schema files could have an element named 'UserType'. This name conflict can be solved if JAXB generates all classes for every schema file in a separate package to avoid name collision. Therefore a binding.xjb file has to be defined. This example depends on using JAXB to generate files for the SAML 2.0 standard (Security Assertion Markup Language). The ANT file to start generating classes would look like this:

<xjc target="../" extension="true"> 
<schema  dir="conf" includes="saml-schema-protocol-2.0.xsd"/>
<binding dir="conf" includes="*.xjb"/>
</xjc>

The .xjb file to map schema files and package names could look like this:

<?xml version="1.0"?>

<jxb:bindings version="1.0"
xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
xmlns:xs="http://www.w3.org/2001/XMLSchema">

<jxb:bindings
schemaLocation="http://www.w3.org/TR/2002/REC
-xmldsig-core-20020212/xmldsig-core-schema.xsd"
node="/xs:schema">
<jxb:schemaBindings>
<jxb:package name="saml.core"/>
</jxb:schemaBindings>
</jxb:bindings>

<jxb:bindings
schemaLocation="http://www.w3.org/TR/2002/REC
-xmlenc-core-20021210/xenc-schema.xsd"
node="/xs:schema">
<jxb:schemaBindings>
<jxb:package name="saml.xenc"/>
</jxb:schemaBindings>
</jxb:bindings>

<jxb:bindings
schemaLocation="saml-schema-protocol-2.0.xsd" node="/xs:schema">
<jxb:schemaBindings>
<jxb:package name="saml.protocol"/>
</jxb:schemaBindings>
</jxb:bindings>

<jxb:bindings
schemaLocation="saml-schema-assertion-2.0.xsd" node="/xs:schema">
<jxb:schemaBindings>
<jxb:package name="saml.assertion"/>
</jxb:schemaBindings>
</jxb:bindings>

</jxb:bindings>
Category: Tools
Posted by: Administrator
Under the following URL you can download a very helpful plugin for Mozilla Firefox:WebDeveloper Plugin. This plugin adds a toolbar to your Firefox, where you can e.g. get all JavaScript files displayed, the outline of HTML tables displayed and many, many features more...
Category: General
Posted by: Administrator
This is my first entry on my private blog. My name is Michael Kain and I'm working as an IT consultant for a company in Hamburg. The name of that company is Resco, Acando Group. You can visit the company site under www.resco.de.