原创 Batch script to delete file older than N days

There is a requirement to remove log files generated before N days. Initially, I plan to develop it using java program

原创 Spring v3.0.2 Learning Note 14 - Send Email with Spring

Reference Library%SPRING%/dist/org.springframework.core-3.0.2.RELEASE.jar%SPRING%/dist/org.springframework.asm-3.0.2.RE

原创 How to add shortcut icon

I am not so sure how to name it. just call it shortcut icon, what is shortcut icon? The icon in front of the URL at ad

原创 Spring v3.0.2 Learning Note 11 - XML-based Transaction Management

<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans"     xmlns:xsi="http:/

原创 Weblogic 10.3 insallment and Cluster setup - 1

--- weblogic installment ---env: jdk 1.6.0_23 window server 2008 enterprise 64-bit OS server ip 192.1

原创 用Axis2開發web service #3 - Custom Fault Message

public interface UserServices {    UserInfoResp getUserInfo(String userId) throws WebServiceFault;    UserInfoResp auth

原创 Weblogic 10.3 insallment and Cluster setup - 3

--- cluster setup --- 1.start new doman admin console 2. open admin console URL http://localhost:7001

原创 Develop Web Service With Axis2 #9 - HTTP Basic Authentication in Weblogic

My Environment:JDK v1.6.xAxis2 V1.5.4Weblogic v1.031) add 'user'/'user group' in weblogiclogin weblogic server administ

原创 Weblogic 10.3 insallment and Cluster setup - 4

--- verify and troubleshoot ---add these configuration in window host file 192.168.0.84            vm.

原创 用Axis2開發web service #4 - Axis2 Style Interceptor

If you are familiar with struts2, you would know there are a few of interceptors work together in strut2 framework. Sim

原创 用Axis2開發web service #5 - Custom Soap Header on Stub side

1) if only add a simple string to header  --- stub codeOMFactory omFactory =OMAbstractFactory.getOMFactory();OMNamespac

原创 Weblogic 10.3 insallment and Cluster setup - 2

Thursday, December 1, 2011 Weblogic 10.3 insallment and Cluster setup - 2 --- create a new domain --- 1. install

原创 用Axis2開發web service #1 - 從生成WSDL文件開始

- Contrast-First VS Code-FirstContract-first 開發方式是先定義XML Schema/WSDL契約,然後再寫代碼。Code-first 開發方式是根據源代碼,對於java來講,通常是個interf

原创 用Axis2開發web service #6 - Workaround Solution for Custom "Header" on Skeleton/Stub side

It is not straightforward to add <soap:header> to response message on skeleton in axis2.Someone suggests to write own m

原创 Develop Web Service With Axis2 #8 - 在部署axis2時的問題和解決辦法

我的應用環境如下: JDK  v1.6.x Axis2  v1.5.4 Ant  v1.7.1 Hibernate  v3.3.1 Tomcat  v6.0.26 Weblogic v1.03 1) 當部署axis2 war文件到to