`
deadcow
  • 浏览: 49768 次
  • 性别: Icon_minigender_1
  • 来自: JM&ZH&HK
社区版块
存档分类
最新评论
文章列表
工作中的需要,  需要建一个middle ware,  用QuickFIXJ连接到Pats System FIX Gateway,去接收Market Data,由于network不稳定,在Dev的时候,经常收不到MarketData, 在decouple src code下,唯有用JMX把 QuickFIXJ 的IApplication 中的implementation exposed出来,再用RMI remote call,details as following: TODO, haha
工作中用到SpringDM depends on Spring 2.5.4, 不过遇到其中的一个bug,http://jira.springframework.org/browse/SPR-5577,是关于WeakReference,详细: http://www.ibm.com/developerworks/cn/java/j-refs/   因为DM里的enum class is loaded through WeakReference
    May 2009 Discuss this article Lazy loading in Hibernate means fetching and loading the data, only when it is needed, from a persistent storage like a database. Lazy loading improves the performance of data fetching and significantly reduces the memory footprint. When Hibernate initialize ...
Differences between data object's field and Java Bean property Posted by: Arseniy Taradonov on ?? 12, 2009 DIGG <script type="text/javascript"></script> In the Fishbolt data model, a data field is presented by the IDataField<T> interface. Its generic parameter T defines ...
1. read AMQP Spec first,  by now the lastest version is 0.10, understand the model of AMQP, the concepts of Exchange, Queue and Route key, the queue is different from the classic MQ queue.   2. official doc on http://qpid.apache.org/qpid-java-documentation.html   3.  client API on Java     TODO ...
https://mail.osgi.org/pipermail/osgi-dev/2008-October/001498.html   http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html

RCP remote debug

sometime need to remote debug RCP application add the following para: -vmargs -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
http://www.hibernate.org/109.html Equals and HashCode Java's Collections and Relational database (and thus Hibernate) relies heavily on being able to distinguish objects in a unified way. In Relational database's this is done with primary keys, in Java we have equals() and hashCode() methods on the o ...

M$ AD User view

    博客分类:
  • LDAP
AD Users View All Users It provides the details of all the users in the selected scope. How it works: This view is generated by querying the Directory Service with the filter “(&(objectCategory=person)(objectClass=user)(!sAMAccountType=805306370))” Users without Managers It provides the list of u ...

LDAP error

    博客分类:
  • LDAP
Active Directory LDAP Errors   Here is a list of Active Directory errors: 525 - user not found 52e - invalid credentials 530 - not permitted to logon at this time 532 - password expired 533 - account disabled 701 - account expired 773 - user must reset password LDAP: error c ...
TODO
based on http://docs.codehaus.org/display/MAVENUSER/Dealing+with+Eclipse-based+IDE   steps as following:   1. install Maven and setup Environment Variables. 2. a).maven is 2.0.8+, nothing changed the bat scripts.     b).maven is <2.0.08, add "set MAVEN_OPTS=-Xdebug -Xnoagent -Djava.compiler=N ...
转载:http://www.manageability.org/blog/stuff/open-source-statemachine-for-user-interfaces-written-in-java   Shocks - Shocks is a departure from previous servlet framework technologies. It is conceptually unique in that it does not attempt to implement the "MVC" design pattern. It uses a next ...

Annotation + AOP

Requirement: 在目标方法invoke 之前进行validation,通过就proceed.不通过就throw exception. @Validation(validationRule=***) public submit(Order order){} Approach: BeanPostProcessor 处理有Annotaion 的bean, 加入所需要的Advice 和PointCut, 当然不可以没有MethodInterceptor,(在这里处理Business Validation Logic),(MethodBeforeAdvice, AfterReturningA ...
FF+firebug IE+Web Development Helper
Global site tag (gtag.js) - Google Analytics