Constructors in PHP 5+

This article demonstrates how constructors work in PHP. It will also touch on destructors just briefly. If you’re a Java programmer who has somehow become bored with anything Java and wanted to explore PHP, the first thing you need to realize is OOP in PHP is slightly different. Take for instance, constructors.

How to create multi-module application in Maven using Eclipse

Background [wp_ad_camp_5] Maven allows you to break down your application into multiple modules. The presentation, service, and integration layers will each be in separate module. This article demonstrates how to create just that. Software Environment Windows 7 Professional SP1 Java

Reuse JPA entity classes from a Jar file

Background [wp_ad_camp_1] Let’s say you had your application in one single Maven project as a prototype and decided to finalize the functionality into a finished (or almost, e.g., Alpha or Beta version) product. When you have JPA entities and you

Return class’ Canonical Name in PHP

Background [wp_ad_camp_1] There are times you need to refer to a class by a string representing its fully qualified class name. For example in Laravel 4.2, you may specify a route to a controller by hard-coding the fully qualified class

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.

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.

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.

How to use phpfastcache to Cache Data to Files

Background [wp_ad_camp_5] Most of the PHP Frameworks I worked on or experimented with have their own ways of caching things to reduce calls to other systems (e.g., RDBMS) or interfaces to plug in third-party caching libraries. But what if you