How to programmatically create users in SAP NetWeaver Portal

This article demonstrates how to programmatically change user passwords in SAP NetWeaver Portal using available API. For applications with very high number of users, they may be better off keeping some references to portal users in their databases. For instance, an application can cache user ids in its database when new users are created. In that that way, it has readily available list of users at its disposal. Certain non-critical queries can be delegated to the RDBMS to reduce hits to the portal.

How to configure Maven to use proxy to connect to the network

Background This article demonstrates how configure Apache Maven to use proxy to connect to the network. [wp_ad_camp_1] Software Environment Windows 7 Professional SP1 Apache Maven 3.1.1 Java 1.7 (1.7.0_67 – Windows x86) Modify conf/settings.xml [wp_ad_camp_2] Download the Apache Maven from http://maven.apache.org/

How to determine the current size of a MySQL Database

Background [wp_ad_camp_1] Sometimes you may need to limit the size of a particular MySQL specially for demo applications. Limiting the size of a database requires determining its current size before any insert operation. This article demonstrates how to use SQL

How to create MD5 checksum for Jar Files using Apache Ant

Background This article demonstrates how to create an MD5 checksums for jar files using Ant. This is useful to verify if correct jar files have been used to deploy in some environment by other team, e.g., SQA. [wp_ad_camp_1] Software Environment

How to Zip a file or the contents of a Directory in PHP

Background This article demonstrates how to archive the contents of a directory in PHP using ZipArchive class. [wp_ad_camp_1] Software Requirements Windows 7 Professional SP1 PHP 5.5.9 / Zend Engine v2.5.0 NetBeans IDE 8.0.1 Zip a file

Zip a Directory

How to Trace Program Flow using Log4j2

Do you not hate it to log method with “entry” and “exit” texts? Should you use “start” or “entry”? This article demonstrates how to use Log4j2 API to perform flow tracing without the need to provide texts.