Software Development

Log Unencrypted SoapFault Messages in Apache CXF

This post shows how to log unencrypted SoapFault messages from Apache CXF  in client applications. These applications use WS-Security for encryption and decryption. Note that this write-up assumes the reader

Read More...

Software Development

How to update User Country and Language in SAP NetWeaver Portal

SAP NetWeaver Portal users can be created from various sources. One is LDAP. Normally, details from LDAP are never comprehensive. Other is user-supplied inputs. Users register and provide details like country and language. This article demonstrates how to update user country and language in SAP NetWeaver Portal. This is useful when creating users from LDAP that do not provide country and language information.

Read More...

Software Development

How to Delete Files in Java without using third-party libraries

This post shows how to delete files in Java. Our codes will not use any third-party library to accomplish the task. Java Requirements We used the following items for this

Read More...

Software Development

How to use Quartz in a simple Java application

Some applications need some sort of background processes that support some aspect of a business process. This article demonstrates how to use Quartz in a simple Java application.

Read More...

Software Development

How to use P6Spy in a simple JDBC Application

This article demonstrates how to use P6Spy in a simple JDBC application Software Environment Windows 7 Professional SP1 Eclipse – Kepler Release Java 1.7 (1.7.0_67 – Windows x86) MySQL 5.6.16

Read More...

Software Development

How to use Hibernate with simple JDBC application

This article demonstrates how to use Hibernate 4.3.x with MySQL 5.6.16 in Java using JDBC.

Read More...

Software Development

How to configure Log4j to log to console

Okay, you wrote a lot of Log4j debug statements all over your codebase but do not want them to appear in QA and/or Production environment. How to do that? You need to configure Log4j by modifying log4j.xml. You could also use log4j.properties in place of log4j.xml but some advanced settings can only be set using the latter. Might as well use something that offers greater benefits.

Read More...

Software Development

iReport 2.0.0 Page Number and Page Count

This article demonstrates how to create a jasper report that displays page number and page count, e.g., 1/10. Software Environment Windows 7 Professional SP1 Eclipse – Kepler Release Java 1.7

Read More...

Software Development

How to Generate PDF in Specific Version using JasperReports

This article demonstrates how to generate PDF files in a specific version. Why is there a need for this? This is because some devices – printers, scanners, and etc –

Read More...

Software Development

How to Log to Separate Files in Log4j2

You have a batch application that reads, parses interface files (i.e., data files from other sources usually legacy systems), and inserts data into your batch application’s database. All logs are

Read More...