My buddy Steve sent me an article today that contained some important data shared by 4 startups companies. I like this article a lot as it reflects what I have experienced since I started my online wedding company - JustProposed.com. Being an entrepreneur, I found out it was way more difficult than I thought. You [...]
Archive for June, 2007
Memory leak is possible in Java
I previously thought that if I pick Java for programming, I don’t need to worry about allocating and free up memory as in C++. Certainly, Java memory management does help us to minimize the chance of memory leak. However, it does not eliminate it. It is confusing right? The key is the definition of memory leak. If [...]
AOP - injecting behavior to your object
Introduction of AOP
Aspect oriented programming (AOP) is the great solution for the cross-cutting concerns like logging, security, auditing, exception handling, transaction and etc. Without AOP, those cross-cutting concern’s codes are spreading all over your system. Now, with AOP, you can dynamically inject behavior to your class (weaving) or object (proxy-based). The injection process is illustrated below:
Pointcut - language [...]
Continue reading " AOP - injecting behavior to your object "
Use Maven for your build process
I see Maven as an abstraction layer of build process. If you look into the available plugins it provides like reporting and test, you may see it as an infrastructure for project collaboration. Confused? OK, let me cut the crap and get into a bit of what it does. In designer perspective, Maven is a [...]
Linux Commands
Grep
Pattern matching against a set of files
grep [options] “pattern” [filename or wildcard]
options:
-n : show line number
-v: negative result
-l: list out the matched filenames
-i: case-insensitive
-x: exact match
-r: recursively over the directory.
grep does not support + and ? and | operators. Use egrep instead.
Regular expression for pattern (reference visits here)
/^Mary/ : beginning of the line
/Mary$/ : end of the [...]
Transaction and Concurrency
For resource (database and cache) needs to be managed for concurrent access to avoid damaging data integrity, it is often time achieved by locking mechanism (read and write lock). For a transaction to be isolated from other transactions, this mechanism is very important. There are 5 different isolation levels that can be achieved via read [...]
Hibernate - Caching
Hibernate uses three different caches for objects to reduce SQL calls:
First-level cache - Session on a per-transactinal basis. That is to say, if an object is modified several times within the same transaction, Hibernate will generate only one SQL UPDATE at the end of tx.
Second-level cache - Session Factory (cache available between transactions - cluster [...]
Data warehouse 101
To build data warehouse, you will use the techniques of dimensional modeling. Here are the guidelines you can follow:
Divide the world into measurements and context.
Numeric measurements place in Fact table whereas context are broken down into Dimensions. A fact table in a pure star schema consists of multiple foreign keys, each paired with a primary [...]
Flex - Cairngorm Microarchitecture
What is Cairngorm?
Adobe Consulting Group has defined an architectural framework for Flex application, named "Cairngorm". The framework has borrowed quite a bit of design patterns from GOF and J2EE. Its goal is to help us to layout the groundwork for complicated RIA. It is interesting to see how those patterns work together in a seamless [...]
How to build your data warehouse
Operational databases are most commonly designed using normalized modeling, often using third-normal form or entity-relationship modeling. Normalized database schemas are tuned to support fast updates and inserts by minimizing the number of rows that must be changed when recording new data.Â
Example: Order-Management Schema for operational database
Data warehouses differ from operational databases in the way they [...]
Search
Advertisment
Tags
- acegi advertisement AMF AOP Apache architecture aspect authentication authorization BI BlazeDS business intelligence caching connection pool crm flex garbage collection Google HotSpot Java JVM JXplorer Kettle LDAP lucene pentaho performance plugin profiling remoting reporting rpc salesforce security session solr spring syntax highlight system Tomcat tuning visualforce web service wordpress wysiwyg editor
Categories
- Uncategorized (5)
- 02. Build your site (13)
- 01. Monetization idea (5)
- 04. Get traffics (1)
- 05. Scale your site (15)
- 06. Monitoring (1)
- 03. Powerful UI (16)
- 08. Enrich site content (1)
- 07. Analyze your data (7)
- 09. Protect your site (1)
- 10. Unleash your system (9)
- 11. Architect Corner (21)
- 12. Secure your site (1)
- 13. Ad Space (3)
- 15. Database Performance (6)
- 16. Salesforce (3)
Links
- Analytic - Avinash Kaushik - Web analytic guru
- Entrepreneur - Guy Kawaskai - Inspirer
- Finance - Paranoid Brain
- Flex - Brendan Meutzner - Flex Guru
- Flex - James Ward
- Flex - Nico
- Flex - Peter Ent - Flex 2 guru
- Flex - Philter - Flash/Flex Expert
- Pentaho - Roland Bouman
- SEO - Andy Beal - SEO expert























(3.67 out of 5)