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
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.
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
This post shows how to use Micronaut applications that use OAuth2 with Keycloak in a Microservice context. Furthermore, it uses two Micronaut applications. The first application allows users (or programs)
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.
Let’s say you have a list of 10 items you want to display but these items are randomly chosen items. In MySQL, you use the rand() function in the ORDER BY clause. This article demonstrates how to list a specific number of random rows my MySQL.
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
This article demonstrates how to use Hibernate 4.3.x with MySQL 5.6.16 in Java using JDBC.
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.
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