XSL-T to HTML

This article explain how to use XSL Transformation to build an XHTML document. XSL Transform for build XHTML Assume we want transform following XML document An XSL Transform take on XML input and will produce output in several  formats. To produce XHTML output we must define the correct output format Read more…

Eclipse GEF Editor

Eclipse GEF Editor Eclipse GEF Editor RCP GEF Project GEF Editor Editor Mechanic GEF Block Diagram Editor GEF Empty Base Editor Gef Editor With Blocks Events On Visual Components Notification with Property Change Listener Change Block Constraints Undo / Redo Support Complete the tutorial (Zeigarnik effect) Source Code References and Read more…

Java XML processing with dom4j

XML DOM Parsing XPath Navigation Use XPath expression to navigate the document tree. Processing a single node To process multiple results, we need to use a List Document Creation You can create a docuemnt from scratch by using the DocumentHelper#createDocuemnt(). Adding nodes and attributes is easy and intuitive. Writing document to Read more…

ANT Intro

ANT (Another Neat Tool) ANT is a tool for automating software build processes, implemented in Java, and best suited to build Java projects. Ant uses an XML file to describe the build process and its dependencies. Ant is an Apache project, it is open source software, released under the Apache Read more…

JSP with JSTL

JSP and JSTL The JSP Standard Taglibrary (JSTL) is a set of libraries providing dynamic tags helping to perform common JSP operations, such as store/display data, perform iterations, manupulate XML, perform I/O, etc. In this post we see a few simple examples on how to use JSTL core taglibs. JSTL Read more…

PL/SQL Snippets

PL / SQL Some PL/SQL snippets of code backup and recovery of a table interactive input with & find keys referencing your table group and count list column names list available tables in a schema Backup and recovery of a table Create a backup copy of your table Restore the Read more…

Java XSL Transform

This is a snippet of code to show how to perform an XSL transformation with Java Below you can see how to XSL Transform using File, StreamSource and StreamResult. And there it is an example of XSL Transform using StringReader and StringWriter. Source code is available on my Git repository: Read more…

myBatis Java

This article introduces mybatis java (iBatis 3 for java) and summarizes its configuration and usage. The article also give suggestions on its usage. Introduction The iBATIS Data Mapper (born in 2002) is a framework that  introduces SQL Mapping approach to persistence layer development. The iBATIS name and code was donated to the Apache Software Foundation; that hosted Read more…

Java Regex

A Regular Expression is a sequence of characters representing a search pattern, to be used for operations like search and replace. Standard Language Regex is a standard used in several programming frameworks and languages such as Perl, Java, Javascript, Python, .NET, W3C XML Schema, etc. Generally, there are only minor differences Read more…