Original address: http://jefferson.iteye.com/blog/68604In the section above on the use of JSR94 API, we use the implementation of the specific engine is a commercial product, if you want to understand the use of drools, here is an introductory reference article: http://blog.csdn.net/tigerflower/ Archive/2006/09/06/1185922.aspx. Since there are few articles on blaze, here is a brief introduction to its implementation based on experience.Blaze is a prod
, @ hint list, etc)Compared to memcached simple key-value storage, Redis's numerous data structures (list,set,sorted Set,hash, etc) make it easier to cache various business data, as well as memcached performance.Note:rpush Pagewviews.user:EXPIRE pagewviews.user:60//Note to update timeout4. Anti-spam system (comments, release items, forum posts, etc)As an e-commerce site by a variety of spam attacks is less unavoidable (spam reviews, release junk goods, ads, brush their own product rankings, etc.
Technological breakthroughs
Quick Development Platform R DWorkflow replacement, jdpm-> Web-based configuration development, tracking debugging, and Performance OptimizationRule Generation, drools-> Development Based on Web Settings, tracking debugging, and Performance Optimization
Objective: To create a 80% or more automatic generationCodeSystem.System = database + FunctionAlgorithm(Workflow + rule) + InterfaceHow can I adjust the system through
Java
JBoss Drools Tutorial for Beginners
Other
A Simple File System
Reborndb:the Next Generation Distributed Key-value Store
Testing in Go
Code review-best practices-improving Code Reviews
Autocomplete using Tries
. NET
Running ASP. NET on Ubuntu
A complete List of Microsoft SDKs for Download
A complete List of. NET Open Source Developer Projects
Writing a simple decompiler for. Net
unavoidable (spam reviews, spam, advertising, brush home products rankings, etc.)
Develop a series of anti-spam rules for these spam, some of which can be used for real-time analysis using Redis
For example: 1-minute reviews must not exceed 2 times, 5-minute reviews less than 5 times (more mechanisms/rules need to be combined with drools)Regular sorted set records the last day of user action(Why not all records?) Save memory, all operations will be r
of the preceding scenario, the basic solutions are the same. The difference is that the detailed process of business processing is inconsistent.
For example, BPM-process monitoring, ESB-typical bus data exchange, ETL-typical data extraction, batch-Batch Processing (periodic rule mechanism ), drools-judgment mechanism queue-queue, cache-Cache Mechanism, which can be combined to provide a variety of solutions. The implementation mechanisms in these sol
general generative domain model. The model consists of three parts:
1. Specify system family members (problem space)
2. Assemble the implementation components of each member (solution space)
3. Configure the knowledge ing between the problem space and the solution space (configuration knowledge)5.1. Development and reuse for Reuse
Generative programming is generated, such as: AOP (aspectj), DSL (drools)
Generative programming is a combination,
1. The
the displayed dialog box, enter the name, as shown below:
6. Import the Jar package exported in Eclipse and click "Upload" to Upload it:
7. after successfully importing Jar, click com. sample package, you can see that org. sample. sales JavaBean (also called Model in Drools) can be used to create business rules, as shown below:
8. Create a New Business Rule named DiscountRule as follows:
9. Edit the business rule as follows:
10. This business rule is
In the project, you need to customize the process and find several open-source workflows, Bonita and jbpm. Now we will describe the jbpm demo installation and deployment process:
1. Install JDK 1.5 + (set as java_home) and ant 1.7 +.
Java:Http://java.sun.com/javase/downloads/index.jspAnt:Http://ant.apache.org/bindownload.cgi
2.download jbpm-javasversionapps-installer.zip
Address is http://sourceforge.net/projects/jbpm? Source = DLP
3. Execute the installation scriptProgram
Ant instal
This article describes how to deploy mule ESB on Linux. Mule is a lightweight messaging framework and integration platform centered on java. It is implemented based on EIP (Enterprise integeration patterns, a book written by hohpe And Woolf. The core component of mule is UMO (universal message objects, which has been replaced by componse since mule2.0). UMO implements the integration logic. UMO can be pojo or JavaBean. It supports over 30 transmission protocols (such as file, FTP, UDP, TCP, emai
Programmatic programming, Declarative Programming and Generative programmingDevelopment programming, Declarative Programming, and Generative programming
Author: Anders JamesSynchronized from: http://www.blogjava.net/AndersLin/archive/2006/08/31/66968.html
Development Programming is encoded, such as Java and C #Declarative Programming is parsed, for example, ant (XML such as spring is different. They are static descriptive and less verb)Generative programming is generated, such as: AOP (aspec
update database schemas, run Hibernate query statements, and create mapping documents. The user can synchronize a Java class with a related mapping file.Jbosstools.Jbosstools 3.2X supports Jboss,hibernate,drools,xhtml,seam and so on. (update URL-http://download.jboss.org/jbosstools/updates/jbosstools-2.1.2.ga)Other feature pluginsasm– Binary Preview plug-inThe ASM bytecode outline plugin can display the decomposed binary code of the current Java file
electric dealer site by a variety of spam attacks are less unavoidable (spam comments, release of junk goods, advertising, brush their own commodity rankings, etc.)
A series of anti-spam rules are developed for these spam, some of which can be used for real time analysis using Redis
For example: 1 minutes review must not exceed 2 times, 5 minutes comment less than 5 times, etc. (more mechanisms/rules need to be combined with drools)General sorted s
devices and browsers, it must be tested for compatibility.
#6, there is no business rule that may change frequently. such as tax law, government or industry-related requirements, classification law, etc. You can use an engine such as Drools to handle business rules that help you to get out of these business rules by storing them in a database or Excel form. By mastering these business rules, companies can quickly respond to tax laws or related requi
P4eclipse absorbs the expertise of the Perforce management system. It provides a developer-driven set of capabilities and supports many agile open process and traditional development processes.
Framework Development Plug-in
Spring Tool Suite
The Spring Tool Suite provides a development environment and tools such as an XML file preview and a graphical spring configuration editor, which makes development easier.
Spring IDE
The Spring IDE helps you develop the spring application, which provi
Multithreaded Development package
19.SmartPagination Paging data paging processing 20. DOM4J XML Parsing class
20.xml analysis of four modes dom,sax,jdom,dom4j
21.SLF4J log processing software package, the bottom can support log4j,commonlog,jdklog and so on.
22.Apache MINA TCP/IP communication non-blocking Framework, can achieve high-performance NIO communication mechanism.
23.JBossNetty provides an open source framework with 22,jboss for high concurrent connections.
24.httpclient Open So
only one method call, and the logic is clear.Currently used so much, the landlord can refer to.
--------
Enumerations can have their own methods, and the implementation of each method can be different, of course, the enumeration is not omnipotent, but also can solve a part of the problem
Using switch or enum, if the project is large or involves the rationality of the system, use design pattern is also a good choice, such as the responsibility chain design mode: http://4ujava.javaeye.com/blog/54
://retrotranslator.sf.net clearly, you can convert the jar, you can also convert the class directory.More specifically, there is a verify option to ensure that you do not use the JDK5 API that it temporarily does not support (remember to join JDK1.4 Rt.jar in classpath).Attached: Springside war14 Task BriefWhen War14 is packaged, it invokes/misc/jdk14/build.xml, generates a jdk1.4 version for Drools,compas,easymock2, and several jars that use JDK1.5 t
://retrotranslator.sf.net clearly, you can convert the jar, you can also convert the class directory.More specifically, there is a verify option to ensure that you do not use the JDK5 API that it temporarily does not support (remember to join JDK1.4 Rt.jar in classpath).Attached: Springside war14 Task BriefWhen War14 is packaged, it invokes/misc/jdk14/build.xml, generates a jdk1.4 version for Drools,compas,easymock2, and several jars that use JDK1.5 t
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.