This article demonstrates how to use Hibernate Entity Manager 4.3.7 in a simple application.
How to find objects with specific properties in a List using Apache Commons Collections
You overridden your JavaBean class’ hashCode and equals methods so you can easily find (and manipulate) objects in a list. Now most properties are used in those methods. But what if you want to search for a list of objects by one or two properties only? Surely, you do not need to create a “search” object and set all its properties with values. Will you resort to loop and conditional statements? Will you modify the hashCode and equals methods? To introduce the least possible codes and/or not modify existing JavaBeans, we could use Predicate interface in conjunction with ListUtils from Apache Commons Collection.
Dialog Window with Validation and Error Messages using JSF and Primefaces
Background [wp_ad_camp_5] This article shows an sample Dialog window in JSF. It also showcases some basic field validation and the display of error messages. Software Environment Windows 7 Professional SP1 Eclipse – Kepler Release Java 1.7 (1.7.0_67 – Windows x86)
How to read file in COBOL
This article presents a simple COBOL program that reads a flat (text) file, parses the content, and displays them.
Arithmetic in COBOL
This article demonstrates how to perform basic arithmetic in COBOL.
How to use Spring XmlBeanFactory
XmlBeanFactory is one of Spring’s containers that provide dependency injection. Note that it has been deprecated already. This means that you should not use this in new development projects.
Using Spring @Autowired with @Qualifier
This article demonstrates how to qualify beans of the same reference type in Spring. @Qualifier enables you to select and use a particular bean from a set of beans of the same type existing in the Spring container.
Web Service Using Apache XML-RPC: Server And Client-Side
This articles demonstrates how to use Apache XML-RPC in Java command-line applications. We will create programs both for XML-RPC server and client.
General Anatomy of a COBOL Program
This article explains the general anatomy of a COBOL program.
Your First COBOL Program as a Java Developer
Background [wp_ad_camp_1] I have just reached my 10th year in IT. By the time I reach 40, I will have retired from IT entirely, changed career or started my own business. But I still have several years to enjoy the