- 浏览: 126871 次
- 性别:
- 来自: Singapore
最新评论
-
houzhe11:
<property name="proxyTa ...
AOP usage -- BeanNameAutoProxyCreator usage
文章列表
For HSI, MHI & HHI Futures Markets only:
Order Placements
The main objective of the pre-market mechanism is to establish the Calculated Opening Price (COP) before market open, so as to establish an orderly market open and enhance market efficiency.
Three trading sessions, namely the P ...
- 2009-02-23 17:07
- 浏览 1192
- 评论(0)
Index Futures and Options
The series name standards are illustrated below:
Root Symbol
HSI – Hang Seng Index
MHI – Mini-Hang Seng Index
HHI – Hang Seng China Enterprises Index
MCH – Mini-Hang Seng China Enterprises Index
For details, refer to the Instrument Explorer win ...
- 2009-02-23 16:35
- 浏览 1492
- 评论(0)
----------------------------------------------------------------------
Declaration Example 1:
public enum Size { SMALL, MEDIUM, LARGE, EXTRA_LARGE };
----------------------------------------------------------------------
Declaration Example 2:
enum Size{ SMALL("S"), MEDIUM("M ...
mvn install : build application
mvn site : generate application site
mvn test : run unit test. (Put your test in src/test/java; add a test-scoped dependency on either TestNG or JUnit)
mvn -v : check maven version, java version, os info
mvn help:describe -Dplugin=help : ...
- 2009-02-19 16:22
- 浏览 683
- 评论(0)
转载自这里
和Bash的环境设定有关的文件有/etc/profile (主要)$HOME/.bash_profile (主要)$HOME/.bash_login$HOME/.profile$HOME/.bash_logout (主要)$HOME/.bashrc (主要)/etc/bashrc
说明如下:
登入(login)时
先执行 /etc/profile
接着bash会检查使用者的自家 ...
- 2009-02-17 09:26
- 浏览 1234
- 评论(0)
Original usage
Originally, our application use the org.springframework.beans.factory.config.PropertyPlaceholderConfigurer in this way.
In Spring config file:
<bean id="initializationBean" class="com.citigroup.eqtg.exchangesim.InitializationBean">
- 2009-02-16 11:43
- 浏览 1124
- 评论(0)
If you want to look up a single changelist you can: p4win: Use the menu option "Changelist -> Describe Changelist..." p4v: Use the menu "Edit -> Go To..." or <ctrl>-G
- 2009-02-11 14:35
- 浏览 860
- 评论(0)
All you need to do is to config the following 2 beans in your spring config file.
<!-- Hibernate configuration -->
<bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource"
destroy-method="close">
- 2009-01-15 12:25
- 浏览 746
- 评论(0)
say, you set up all the variables in one shell --- env.ksh, as below
export JAVA_HOME=/usr/java/jdk1.5.0_09/export M2_HOME=/home...
export ANT_HOME=/home/apache-ant-1.7.0export PERFORCE_HOME=/home/perforceexport PATH=$JAVA_HOME/bin:$M2_HOME/bin:$ANT_HOME/bin:$PERFORCE_HOME/bin:$PATHexport P4PORT=. ...
- 2009-01-13 18:28
- 浏览 812
- 评论(0)
Step 1) Find where perforce is installed on the unix box.
Say this folder: /home/pvprapp1/opt/perforce
Step 2) Export the environment variable.
Issue command: export PATH=$PATH:$HOME/opt/perforce/bin
Issue command: export P4PORT=...net:1999
you can also export variables ...
package test;
import java.util.Date;import org.quartz.JobDetail;import org.quartz.Scheduler;import org.quartz.SchedulerException;import org.quartz.SchedulerFactory;import org.quartz.SimpleTrigger;import org.quartz.Trigger;import org.quartz.TriggerUtils;
public class Test{
public static void main(Str ...
- 2009-01-07 14:51
- 浏览 952
- 评论(0)
by Robert Cowham, Perforce Consulting Partner
http://www.vaccaperna.co.uk/scm/branching.html
Introduction
This web page gives an introduction to Perforce branching mechanisms and explains some aspects that may not be obvious at first sight (well they weren't to me anyway!).
This pa ...
- 2008-12-18 11:57
- 浏览 959
- 评论(0)
%m 输出代码中指定的消息
%p 输出优先级,即DEBUG,INFO,WARN,ERROR,FATAL %r 输出自应用启动到输出该log信息耗费的毫秒数 %c 输出所属的类目,通常就是所在类的全名 %t 输出产生该日志事件的线程名 %n 输出一个回车换行符,Windows平台为“\r\n”,Unix平台为“\n” %d 输出日志时间点的日期或时间,默认格式为ISO8601,也可以在其后指定格式,比如:%d{yyy MMM dd HH:mm:ss,SSS},输出类似: 2002年10月18日 22:10:28,921 %l 输出日志事件的发生位置,包括类目名、发生的线程,以及在代码中的行数。举 ...
- 2008-12-16 10:26
- 浏览 770
- 评论(0)
The PropertyPlaceholderConfigurer is used to externalize property values from a BeanFactory definition, into another separate file in the standard Java Properties format.
========Spring Config snippet==================
<bean class="org.springframework.beans.factory.config.PropertyPlac ...
- 2008-12-09 10:43
- 浏览 894
- 评论(0)
Setup Eclipse development environment
=====================================
For Eclipse IDE for Java Developers 3.4
- Start eclipse with options "-vm <JDK 5 PATH>/bin/javaw" (not JRE PATH)
- Setup maven plugin (please refer to http://www.sonatype.com/book/reference/ecl ...
- 2008-12-03 09:24
- 浏览 1061
- 评论(0)