Category Archives: Technology

DEFINITION OF A BUSINESS OBJECT.

WHAT IS A BUSINESS OBJECT (BO)? Having both state & behavior is an important criterion for a class to be considered as business object. It may represent a person, place, thing or concept from business domain. It should be re-usable. Generally business objects are classified into: Entity BO: Nouns from business. Process BO: Work flow [...]

SIMPLE XML/XSD/XSLT EXAMPLE FOR BEGINNER THAT WORKS!!!

CSS is Style Sheet for HTML HTML uses predefined tags, and the meaning of each tag is well understood. The <table> tag in HTML defines a table – and a browser knows how to display it. Adding styles to HTML elements are simple. Telling a browser to display an element in a special font or [...]

SIMPLE JUNIT EXAMPLE FOR BEGINNER THAT WORKS!!!

This Hello World program demonstrates basic features of JUnit. All you need is: 1. Eclipse 2. JDK1.5 3. junit.jar (Download from www.junit.org) In this program, usage of JUnit is demonstrated in order to test 2 components, namely: 1. Dice.java 2. DiceFactory.java Test requirement for every new Dice created: 1. Playing a dice every time should [...]

SIMPLE SPRING IOC EXAMPLE FOR BEGINNER THAT WORKS!!!

This Hello World program demonstrates basic features of Spring IoC. This program shows: 1. How to load configurations from a XML resource file that is residing in the file system. 2. How to load configurations from many XML resource files that are residing in the file system. 3. How to load configurations from a XML [...]

SIMPLE JAVA WEB-SERVICE ON TOMCAT5.5 EXAMPLE FOR BEGINNER THAT WORKS!!!

This article takes reader step by step to build her/his own simplest program of Java Web Service. If all steps are followed properly, then theĀ  program should work. SETUP YOUR ENVIRONMENT FIRST. Assuming that you have: C:\axis-1_4 C:\Program Files\Apache Software Foundation\Tomcat 5.5 C:\jdk5\lib; Make sure your AXIS has following JAR files: C:\axis-1_4\webapps\axis\WEB-INF\lib>dir /b activation.jar axis-ant.jar [...]

Follow

Get every new post delivered to your Inbox.