Java Architecture for XML Binding (JAXB) allows Java developers to map Java classes to XML representations. JAXB provides two main features: the ability to marshal Java objects into XML and, to unmarshal XML back into Java objects. Let’s quickly dive into an example: Here is the xml file <?xml version="1.0"?> <catalog> <book id="bk101"> <author>Gambardella, Matthew</author> […]

Read More →

Ace is a standalone code editor written in JavaScript. The goal is to create a web based code editor that matches and extends the features, usability and performance of existing native editors such as TextMate, Vim or Eclipse. Ace can be easily embedded in any web page and JavaScript application. Ace is developed as the […]

Read More →

Here is the java code and JUnit test cases for simple math expression. The math expression can have numbers and basic operators like plus, minus, division, multiplication. Well that’s very simple to compute. However add in the parentheses into the scheme of things and it gets a little more interesting. The operator precedence and parentheses […]

Read More →