- 博客(51)
- 资源 (11)
- 收藏
- 关注
原创 Job Series: O's Activiti Extensions and Toughest Case
PART 1: Extensions1. External form rendering with jQuery and DHTML2. Users and Groups, never utilize activiti's internal mechanism, LDAP applied?3. Administrator Console, a lot of specific f
2012-12-28 15:51:43 873
原创 JSR 330 And Spring
1. Warmup: @AutoWired is Spring proprietary, @Inject conforms to JSR 330 specification.We'd like to abide by the standard rather than Spring's specific grammar.2. Introduction to JSR330Refer
2012-12-27 09:10:36 765
原创 Source Taste: Activiti: StartProcessInstanceClickListener
Full Name: org.activiti.explorer.ui.process.listener.StartProcessInstanceClickListenerpublic class StartProcessInstanceClickListener implements ClickListener { private static final long serialV
2012-12-26 18:17:25 1186
原创 Frequent Open Questions During Job Hunting
1. LinkedIn: How would you summarize yourself and your objectives?
2012-12-26 17:25:08 666
原创 HTML5: What You Have To Know For Interview
1. Most Wanted StrengthDrag & Drop Files in browsers.Background: A lot of legacy applications based on Lotus Notes in Client/Server mode, which has very poor performance when accessed from oversea
2012-12-26 13:10:16 455
原创 Enterprise HTML5 I Met
1. JIESHUN, status: research2. GONGJI, status: research3. YINGYUEXING, status: research
2012-12-26 12:22:53 630
转载 Unit of Work in ORM
PART 1:Reference: http://stackoverflow.com/questions/3532258/unit-of-work-pattern-and-historyThe concept of Unit Of Work is a central concept of ORMs and has been described by Scott Ambler in hi
2012-12-24 18:43:00 850
原创 Source Taste: Hibernate/JPA: StatefulPersistenceContext
org.hibernate.engine.internal.StatefulPersistenceContextPART 1:
2012-12-24 17:55:15 1574 1
原创 Source Taste: Hibernate/JPA: AbstractSessionImpl & SessionImpl
org.hibernate.internal.SessionImplPART 1:public final class SessionImpl extends AbstractSessionImpl implements EventSource { // todo : need to find a clean way to handle the "event source" r
2012-12-24 16:36:48 1416
原创 Source Taste: Hibernate/JPA: AbstractEntityManagerImpl
PART 1: static clause(static block)static { entityManagerSpecificProperties.add( AvailableSettings.LOCK_SCOPE ); entityManagerSpecificProperties.add( AvailableSettings.LOCK_TIMEOUT ); enti
2012-12-24 11:02:25 999
原创 Source Taste: Hibernate/JPA: PersistenceContextType & PersistenceUnitTransactionType
package javax.persistence;/** * Specifies whether a transaction-scoped or extended * persistence context is to be used in {@link PersistenceContext}. * If not specified, a transaction-scoped pers
2012-12-24 10:42:13 805
原创 Oracle 11g XE & PLSQL Developer 9
OS: Windows 71. Install Oracle 11g XE2. Install PLSQL Developer 93. ProblemAfter Step 2, got this problem:The OracleXETNSListener service on Local Computer started and then stopped.Solut
2012-12-22 08:17:08 2005
原创 Spring/Activiti/JPA(Hibernate) Integration
1. scriptTarget DB: Oracle 11g XE on Windows 7Scripts Location: D:\activiti-5.10\apps\apache-tomcat-6.0.32\work\Catalina\localhost\activiti-explorer\loader\org\activiti\db\createactiviti.ora
2012-12-21 17:49:21 4825
原创 JSPA
JSPA: JSP AliasAlias or shortcut to a Java Servlet (.JSP) file; used by the Struts2/WebWork Web application framework for online forums and related services; may execute one or more JSP pages when c
2012-12-21 15:01:13 5271
原创 POM of SSH Activiti Integration
1. Environment Profile:Struts 2.3.7, Hibernate 4.1.8, Spring 3.1.3, Activiti 5.10In addition, Maven 3 and Nexus 2 Applied2. POM 4.0.0 com.derek.struts2 simple 0.0.1-SNAPSHOT war
2012-12-21 13:44:12 1474
原创 Spring JPA Integration
1. persistence.xml<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.co
2012-12-21 13:24:58 1096
原创 Case Study: Activiti & JSF
Reference: 1. Process <startEvent id="startEvent" name="Start"activiti:formKey="taskForm_newOrder.jsf" />Note that activiti:formKey is an activiti extension attribute to BPMN 2.0.2.
2012-12-21 10:45:29 1792
原创 Source Taste: Activiti: The Journey of Submit StartForm
1. org.activiti.engine.impl.FormServiceImpl public ProcessInstance submitStartFormData(String processDefinitionId, Map properties) { return commandExecutor.execute(new SubmitStartFormCmd(pr
2012-12-20 18:12:38 2160
原创 Source Taste: Activiti: org.activiti.engine.impl.form.JuelFormEngine
//WHY Juel HERE? Take a look at the footnotepublic class JuelFormEngine implements FormEngine { public String getName() { return "juel"; } //At last, have an idea of formkey, and how to b
2012-12-20 16:40:46 2409
原创 Source Taste:Command Pattern in Activiti
public interface CommandExecutor { T execute(Command command);}
2012-12-20 15:37:47 654
原创 mappedBy in Hibernate/JPA
Quoted from JPA/EJB 3.0 Specification: The following rules apply to bidirectional relationships:• The inverse side of a bidirectional relationship must refer to its owning side by use of the map
2012-12-20 10:15:02 908
原创 Case: Hibernate: Value Type
Example in : Item's Images.Example in Filed Experience: Supplier Site's Contacts.Another possible example: Attachment?Quoted from :More formally, an entity is any class whose instanc
2012-12-19 15:57:34 422
原创 Source Taste: JPA: InheritanceType
package javax.persistence;/** * Defines inheritance strategy options. * * @since Java Persistence 1.0 */public enum InheritanceType { /** A single table per class hierarchy. */ SINGLE_
2012-12-19 10:28:41 527
原创 Field, Property, Attribute
Field can be accessed directly, whereas property must be accessed by acessor method.
2012-12-19 09:46:39 510
原创 Annotation Note
1. Convenient to refactor! Whereas XML is not friendly to refractoring function provided by IDE.
2012-12-18 14:33:22 424
原创 Python Note
1. Programs are usually created by typing definitions into a separate file called amoduleorscript. This file is saved on a disk so that it can be used over and over again.2. Technically, Python us
2012-12-18 12:01:29 653
原创 Case: How To Clean Up Large Table
We have a large interface table with more than 12m records, unfortunately, most of them are useless, we’d like to clean it up for performance optimization.Delete useless data by ‘delete from ’ and
2012-12-18 09:41:04 523
原创 Supplier Data Model Stuff
1. Supplier Header1.1 Supplier Name(Basic Validation Involved)1.2 Supplier Alias Name1.3 Supplier Type(Business Type)Adminstration, IOI, Engineering, Production1.4 CEGPop up for CEG Tree
2012-12-18 09:23:15 636
原创 UDA
Reference: http://docs.oracle.com/cd/E18727_01/doc.121/e13108/T381249T381418.htm
2012-12-18 08:48:00 946
原创 Frequent Used Command
1. Windows1.1 mstsc /v:10.88.50.62 /console2. Jenkins2.1 http://ftp.osuosl.org/pub/jenkins/
2012-12-17 18:50:09 457
转载 Servlet Specification 3.0 Note
1. A servlet container may place security restrictions on the environment in which a servlet executes.2. High-end application servers may limit the creation of a Thread objectto insure that other co
2012-12-17 16:56:46 440
原创 Aggregation and Composition
Reference:The "no sharing" rule is the key to composition.Composition is a good way of showing properties that own by value, properties to value objects, or properties that have a strong and somew
2012-12-14 09:54:31 476
转载 Big Data and CDN: Content Delivery Network
Reference: http://www.csdn.net/article/2011-08-15/303104Reference: http://baike.baidu.com/view/21895.htm
2012-12-14 08:28:50 512
原创 MongoDB Note
Reference: MongoDB in Action1. Secondary IndexSecondary indexes in MongoDB are implemented as B-trees. Because MongoDB and most RDBMSs use the same data structure for their indexes, advice for
2012-12-13 11:47:50 459
原创 Enterprise Python I Met
1. HSBC Global Technology (GLT)Location: GuangzhouPosition: Senior Software Engineer (Java dev, on late shift)Candidate Specifications:- Excellent analysis and design skills from a software
2012-12-12 16:49:32 374
原创 Source Taste: Struts 2:ModelDrivenInterceptor
PART 1: public class ModelDrivenInterceptor extends AbstractInterceptor { protected boolean refreshModelBeforeResult = false; public void setRefreshModelBeforeResult(boolean val) {
2012-12-11 13:39:26 643
原创 Source Taste: Struts 2: ValueStack
Give some thought to this question: from an architect's perspective, why we have to need a stack strucutre in Struts 2? Why not Map instead? I see nothing about this topic in books like Struts 2 in Ac
2012-12-10 16:17:08 677
原创 Source Taste: Struts 2: com.opensymphony.xwork2.interceptor.ParametersInterceptor
PART 2:Notice that:(1) Coupe of callbacks with 'instanceof''s help take place in the setParameters() method;(2) Utilizing TreeMap via Comparator;(3) for (Map.Entry entry : acceptableParameters
2012-12-09 22:24:26 6099
原创 Source Taste: Struts 2 org.apache.struts2.dispatcher.Dispatcher
PART 1:/** * A utility class the actual dispatcher delegates most of its tasks to. Each instance * of the primary dispatcher holds an instance of this dispatcher to be shared for * all requests
2012-12-09 21:37:12 2884
The Art of Monitoring-James Turnbull(2016)
2018-10-25
Data and Information Quality_Dimensions, Principles and Techniques
2018-10-25
Enterprise Information Management in Practice_Managing Data
2018-10-25
An Undergraduate Introduction to Financial Math
2018-10-25
c design patterns and derivatives pricing
2018-10-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人