Cloning eclipse.platform.ui

Search for eclipse.plaform.ui in eclipse git repositories. Click on project name to see the main page for the git project repository: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/ In this page are listed the commits. In the bottom left there are three alternative URLs for getting the source code. I choose the git one, then clone via command 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…

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…

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…