Search This Blog

Google Analytics

Thursday, April 12, 2007

J2EE Practices

Taken from the book: More Java Pitfalls

Client Tier

  • Use the new Preference API to store preferences instead of Properties.
  • Take advantage of interfaces when hiding implementation detail.
  • Be wary of not handling exceptions properly. Instead of returning a value from a method (such as false or null), thinks about the cause of your returning these values. If there could be multiple causes, throw an exception.
  • Instead of taking some information from one exception and placing it in a new exception, take advantage of the new JDK 1.4 changes to Throwable and add the original exception to your new exception.
  • Make use of the Java Assertion Facility instead of putting a lot of print statement.
  • When using assertion, follows the following rules:
    • Do use assertions to test postconditions on methods.
    • Do use assertions to test places where you believe control flow should not execute.
    • Do not use assertions to test preconditions on public methods.
    • Do use assertions to test preconditions on helper methods.
    • Do not use assertions that affect the normal operation of the code.
  • Use Xpath expression to search a DOM.
  • Use Apache Ant to facilitate application builds and deployments.
  • Other opensource tools:
    • Use Junit for unit test.
    • Use BugRat to track issues.
    • Use CVS for code repositories.
    • Use Jdepend to generate metric measurement to determine the software quality.
    • Use JavaNCSS to detect noncommented code.
    • Use checkstyle to ensure that previously established coding rules are incorporated into each individual source code components.
    • Use CruiseControl to automate the build process.
  • When deciding whether to create a Singleton class, first ask yourself the following questions:
    • Does there needs to be one global entry point to this class?
    • Should there be only one instance to this class in the VM?

If answer is yes, then use Singleton. If no, don’t use.

  • When using Singleton, make sure to:
    • Use private constructor.
    • Synchronize methods that need to be synchronized.
  • Don’t use Singleton as global variables and never let Singletons to become non-Singleton.

Web Tier

  • It is a good practice to make use of a Web tier framework to implements Web application. While it is possible to implements application using independent servlet and jsp, it will be a maintenance nightmare.
  • Be careful about your use of HttpSession in servlets. Be aware of the collision problem that could await you in regard to naming data objects with putVaue (). Avoid using common names to storing types in HttpSession with the putValue method.
  • Use removeValue instead of invalidate () when removing object specific to the application from HttpSession.
  • When building distributed business systems, keep in mind that transactional data should be handled in a database instead of LDAP which don’t have transactional protections. LDAP should be used to organize and search for relatively static information in an efficient manner, while database systems can accommodate frequent fluctuations in data.
  • Make use of the Java Regular Expressions introduced in Jdk 1.4 for form field validation.
  • Don’t declare instance variables in Servlet as it may cause concurrent issues.

Enterprise Tier

  • A J2EE application does not need to have EJB tier in it. The EJB tier is necessary if:
    • You need to deal with distributed or complex transaction scenarios (multiple systems, phased transactions).
    • Reliability (how well the system responds to something going wrong) is a major concern.
    • When your applications need to be spread over several containers in a transparent way to support things like clustering, load-balancing, and failover.
  • When design network applications:
    • Abstract details from the client.
    • Abstract things in a multi-tired solution.
    • When the network has the potential to be a bottleneck, use the “plan and execute” strategy - it is often better to send one large message with lots of information than to send smaller messages over the network.
  • Use local interface to improve performance of the EJB tier. Use local interface if your Web container and EJB container are in the same process.
  • Be aware of using more than one ResultSet at once. While many JDBC drivers will support the use of multiple concurrent ResultSet objects many will not. Many databases will exceed the number of maximum open cursors. To achieve maximum portability, rethink your design so that you only have one open at a time.
  • Don’t use Entity bean because you need a object persistence mechanism. Consider JDO as it is lightweight, minimizes database transaction implementation, and it supports reuse, particularly with Java components.
  • Don’t spawn thread in EJB.
  • Avoid using file operation in EJB.

Sunday, April 08, 2007

Remove Dual Boot Menu After Uninstalling Windows Vista

I just realized even if you have formatted drive having Windows Vista and making sure boot.ini is correct, Dual Boot Menu just stays there. Windows Vista is using a different boot loader!

To remove boot menu, follow below steps.
  1. Boot your computer in to Windows XP.
  2. Ensure you have the Vista DVD image emulated or in the DVD drive.
  3. Go to “Start” and “Run”. Type in “e:\boot\bootsect.exe /nt52 ALL /force” (without quotes, and replacing e: with the drive letter of your Vista DVD).
  4. Restart the computer, and you will notice the boot selection menu is gone.
  5. Format the partition/drive where you had Vista installed.
  6. Remove two files (Boot.BAK & Bootsect.BAK) on your XP drive’s root folder (C:), these were backup files of your previous bootloader, now no longer useful.
  7. Optional: Restart to ensure it still works.
  8. Use your partition software to merge your partitions together.

Extracted from http://www.istartedsomething.com/20060622/installing-and-uninstall-vista-beta-2-for-dual-boot-with-xp/

My Brinkster Website Reached Its Limit Yet Again!

I got below email from Brinkster few days ago.

Dear Brinkster Member,

This is an automated message generated to inform you that yesterday your site[hongjun] reached its maximum daily data transfer/bandwidth limit of 16.7 MB andwas stopped at or about 3/29/2007 10:35:00 AM(EDT).

Don't worry! All stopped sites restart automatically at midnight, EDT.

With the General (free) Solution, you are allowed a generous 16.7 MB per day of data transfer/bandwidth (500 MB per month). Brinkster defines bandwidth as the overall amount of data (or bytes)transferred.

If you have received this message more than once, you may wish to take steps toprevent your site from using up its bandwidth too quickly. Alternatively, youmay wish to consider upgrading your account to either our Premium X4 or GeneralSE Solution.

The General SE Solution ($3.95 per month, $3.95 setup) offers 2000 MB ofbandwidth per month (68 MB per day), ftp access and access to Premium e-mailsupport via premiumsupport@brinkster.com.

Friday, April 06, 2007

So so sad

I sent out my personalized farewell email to every single one in IT Development Department.
That was my very last email sent out using my company's mail account before leaving for Hong Kong. In Hong Kong, I tried to login to my mail account but it has been disabled. I am not able to read any replies :'(

Google's SearchMash & Yahoo's Alpha

Google's SearchMash
http://www.searchmash.com
http://hongjun.blogspot.com/2006/10/searchmash-new-google-search-site.html
http://hongjun.blogspot.com/2006/11/googles-searchmast-update.html

Yahoo's Alpha
http://au.alpha.yahoo.com/

Yahoo's Alpha is so similar to Google's SearchMash.

Anothr Beta

Anothr is a Skype/Gtalk/MSN-based robot which can provides just-in-time alerts for your favorite blog and news feeds.

User can simply input any RSS/Atom feed link to the bot on Skype/Gtalk/MSN to subscribe, then to be notified in the future.

I have tried it myself. I feel Anothr is useful for feeds that don't expect many updates per day. If feeds get updated very frequently, I feel a RSS reader like NetVibes would be more useful.

http://www.anothr.com/

Send a Fax By Email

TPC Fax
http://www.tpc.int/faxbyemail.html

Country Code List (Singapore is supported)
http://www.tpc.int/servers/iddd.html

Gmail Paper

I still cannot see this feature for me. I guess I need to wait a while.
http://mail.google.com/mail/help/paper/
http://mail.google.com/mail/help/paper/more.html

Google as a Symbol of Excellence

http://googlesystem.blogspot.com/2007/03/google-as-symbol-of-excellence.html
http://www.google.com/search?q=%22*+is+the+google+of+*%22&num=100

Hong Kong Trip

I am back from my Hong Kong Trip (31st Mar - 4th Apr).
It's a bit short because I need to be back to attend my brother's ROM which falls on 5th Apr.

Monday, March 26, 2007

Overwhelming Things to Do

My To-Do List is getting pretty long and they are to be done asap hopefully by this coming Friday.
  1. Documentation for handover session
  2. Summary Report for the Documentation Department
  3. Project Closure
  4. Ad-hoc incidents

Saturday, March 17, 2007

Pulau Ubin Trip Tomorrow

Handover Session

I hope I can come out with detailed user manuals, system manuals, and whatever documentations which may of use to Remus and Ellen as soon as possible. Remus and Ellen will be taking over my systems after I left my current company.

Next week, I hope to be able to come out with all necessary documents.

Do you need to turn off your PC at night?

http://www.microsoft.com/smallbusiness/resources/technology/hardware/do_you_need_to_turn_off_your_pc_at_night.mspx

Saturday, March 10, 2007

Moving On

My days in RCL Feeder Pte Ltd is numbered. On 22nd February 2007, I tendered my resignation. 30 working days later, 31st March 2007, will be my last day of employment. I will definitely miss the many lame people in my department.

My new job will be for ST Electronics (Info-Software Systems) Pte Ltd. However, I will be attached to DSO to work on a project. 9th April 2007 will be my 1st day of employment for ST Electronics.

QuickEE Task List

Wonder if there is anyone out there interested in this Open Source project.
https://sourceforge.net/pm/task.php?group_id=190246&set=custom&group_project_id=51659&_assigned_to=100&_status=1&SUBMIT=Browse

Wikipedia Founder Says Intends to Challenge Google, Yahoo

Remember the times when Google challenge Yahoo and Altavista many years ago
http://www.pcmag.com/article2/0,1759,2102337,00.asp?kc=PCRSS03069TX1K0001121

Sunday, March 04, 2007

No Internet At Home

Since last Thursday, I have been living without internet access at home.
Living like ancient man.

Wednesday, February 21, 2007

Gates Sets Limits on Kids' Online Time

Parental Guidance Control Mechanism in Windows Vista
http://www.pcmag.com/article2/0,1759,2097075,00.asp?kc=PCRSS03069TX1K0001121

Happie Piggie Year!

Human = eat + sleep + work + enjoy
Pigs = eat + sleep
Hence, Human = Pigs + work + enjoy
if, Human - enjoy = Pigs + work
in other words,
Human that don't know enjoy = pigs that work
Men = eat + sleep + earn money
Pigs = eat + sleep
Hence, Men = Pigs + earn money
if Men - earn money = Pigs
in other words,
Men that don't earn money = Pigs

Women = eat + sleep + spend
Pigs = eat + sleep
Hence, Women = Pigs + spend
if, Women - spend = Pigs
In other words,
Women that don't spend = Pigs
Summary:
Men earn money not to let women become pigs!
Women spend not to let men become pigs!

Men + Women = 2 Pigs
Wish all the pigs happy forever.

Minimum wage for Philippine maids overseas may upset supply

IMHO, this move will cause more harm than good.
http://www.channelnewsasia.com/stories/singaporelocalnews/view/259802/1/.html

Tuesday, February 20, 2007

Happy CNY 2007

Hope it is not too late to wish all a "Happy Chinese New Year"

Monday, February 12, 2007

Sunday, February 04, 2007

Saturday, February 03, 2007

Decision Made

A decision has been made - I am not going to Bangkok to work.
So, what's my next move?

Wednesday, January 31, 2007

Watch Bill Gates & Co Present Windows Vista

Quite fascinating
http://www.microsoft.com/winme/0701/29339/GA_Launch_MBR.asx

Official Launch of Windows Vista

In 1983, Microsoft announced their 1st Microsoft Windows.
12 years later, the 1st 32 bit Microsoft Windows 95 came and now long filenames is possible.
12 years later (Year 2007), Microsoft Windows Vista is launched.

Sunday, January 28, 2007

How Brain Works

Brain is so complicated. Try out below:

  1. WITHOUT anyone watching you (they will think you are GOOFY.....) andwhile sitting where you are at your desk in front of your computer, liftyour right foot off the floor and make clockwise circles.
  2. Now, while doing this, draw the number " 6" in the air with youright hand.

Continue making the 6 in the air.......
Your foot will change direction. It works every time.

Explanation from "Infinity08", Experts-Exchange member.

"Those two movements are very basic, but your brain is not accustomed to doing them together. It can't consciously do two different things at the same time : in this case clockwise and anti-clockwise movements of foot and hand ON THE SAME SIDE of the body.However, you can train yourself to do this correctly, by doing it so often that it becomes an unconscious action. When you start to think about it actively (consciously), it fails.

Compare it to learning to drive a car. Driving a car requires a lot of different actions executed at the same time : handling the pedals, steering wheel, gear shifter, while at the same time looking around and having a global view of traffic around you. When you start learning, you'll have a lot of difficulties doing any two of these actions at the same time (eg. steering while shifting gear etc.). After a while though, when you've driven around for a while, those actions become "second nature" to your brain, and you don't even realise that you're doing them (because they're handled by the unconscious).

I mentioned earlier that the foot and hand have to be at the same side of the body (right or left) for this to work (or better : fail). Try the same exercise with your left foot and right hand and it shouldn't be a problem. The reason for this is that the right part of your body is controlled by the left half of your brain, and vice versa."

Amazon Web Services

Trying now
http://www.amazon.com/AWS-home-page-Money/b/105-4477430-1226022?ie=UTF8&node=3435361

How to Open Password Protected PDF Documents

This is interesting
http://labnol.blogspot.com/2007/01/how-to-open-password-protected-pdf.html

Friday, January 26, 2007

Googlebombing

I guess many have already heard of getting George Bush, US President as the top result in a Google search using keyword "Miserable Failure". This is an exploit in "breaking" Google's search algorithm known as "GoogleBombing".

Related articles
http://googleblog.blogspot.com/2005/09/googlebombing-failure.html
http://en.wikipedia.org/wiki/Political_Google_bombs
http://googlesystem.blogspot.com/2007/01/google-tries-to-make-googlebombs.html

Tuesday, January 23, 2007

How to Disable GPRS on Your PDA Phone?

Install PHM Registry Editor

You will need to first install a registry editor. Windows Mobile does not come together readily with a Registry Editor. Do not ask me the reason as to why the decision was made like this/that because I don't know why. Nevertheless, there is a freeware downloadable from the Internet that provides us with a GUI to "mess" with the registry. Download and install PHM Registry Editor now. Perform a soft reset after installation.

PHM Registry Editor: http://www.freewarepocketpc.net/ppc-download-phm-registry-editor-v0-70.html

Tweak your registry
  1. Open your registry editor
  2. Go to the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}\Connections\IDEAS Internet (GPRS)\Enabled
  3. Edit the key 'Enabled' by double-tapping or otherwise.
  4. Change its DWORD Data from '1' to '0'.
  5. Go to the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}\Connections\IDEAS WAP (GPRS)\Enabled
  6. Edit the key 'Enabled' by double-tapping or otherwise.
  7. Change its DWORD Data from '1' to '0'.
  8. Soft-reset.
If you really really hate GPRS, u might as well rid urself of the MMS function as well:

  1. Open your registry editor
  2. Go to the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}\Connections\IDEAS MMS\Enabled
  3. Edit the key 'Enabled' by double-tapping or otherwise.
  4. Change its DWORD Data from '1' to '0'.
  5. Soft-reset.

http://www.ppcsg.com/lofiversion/index.php/t49904.html

Sunday, January 21, 2007

Run Ad-Aware In Background (Save CPU Juice)

This may already be known to some who actually explore Ad-Aware options. But I thought it is good to post it.
http://www.tech-recipes.com/rx/1994/ad_aware_reduce_cpu_usage_scan_in_background

Google Search History

Now, you can search your previously keywords search using the new Google History (Beta). Pretty cool. To stop tracking, click on "Pause".
http://www.google.com/searchhistory/

Wednesday, January 17, 2007

Fake Google Belarus Homepage

Try doing a search for keyword Google Belarus.

The top result turns out to be a site that mimics Google's Homepage. This site though is a copy of Google, it is not a malicious site. A search made on the copy site will simply do a post to genuine Google.

Google Mimic
http://www.google.by/

Google's Localized Version for Belarus (Genuine)
http://www.google.com/intl/be/

Live.Com Is Trying To Be Simple

It seems like Microsoft's own Live.Com is trying to portray a clean and simple landing page and be like Google. My personal opinion is the interface is just too simple.
http://www.live.com/

Sunday, January 14, 2007

Shopping for CNY

Today is so tired.

Met up with Regine at Takashimaya Coffee Bean at 10.30am for breakfast before kicking off our CNY shopping spree. We did our shopping at Takashimaya, Bugis, and Queensway Shopping Centre.

All in all, I bought a pair of black leather shoes at Takashimaya and 2 shirts at Queensway Shopping Centre.

Thursday, December 28, 2006

O $ P $

Going to hang Pig's Head le.
Still pending $1,100.
Not even 50% is bank-in to my account.

Friday, December 22, 2006

Going to Clear My Sch Fees By Next Week

Shiok man!
All my school fees debt is going to be cleared by next week before end of year 2006!

It is going to be record breaking! It is going to take me less than a year to clear.

Thursday, December 21, 2006

Fauxto... like photo.

Create and edit your picture files online for free!
Another innovative product.
http://www.fauxto.com/

Wednesday, December 20, 2006

PayPal Integration Completed

Finally PayPal integration is completed and this marks completion of my freelance project, excluding some initial support should there need to be any changes.

I can finally catch some sleep :)

Sunday, December 17, 2006

Fast Typing Skills Training

See how fast you can type.

To play, type the name of the enemies you see and then hit RETURN.
I am ranked 38th (Difficulty level: Medium).
Username is hongjun
http://cognitivelabs.com/word_shoot.htm

Saturday, December 16, 2006

Hokkien man trying to take a photo

Summary of Blogs Mentioning EditGrids

Just so happen to find the below link and realize my blog is mentioned!
The reason as to why my blog is mentioned is because I actually quoted "EditGrid" as one of my entries previously. The below link actually points correctly to my previous post - http://hongjun.blogspot.com/2006/08/gsheet-google-spreadsheet-and-writely.html.

Internet is so threatening. No one can hide anything once something has posted live on the Internet.

Check it out!
http://www.editgrid.com/tnc/cliff/Summary_of_blogs_mentioning_EditGrid

Friday, December 08, 2006

Sunday, December 03, 2006

Knoppix 5.0 OS

I finally finished downloading 600 over MB of files yesterday.
Had a try on this bootable OS on a CD-ROM and realized I almost forgotten how to use Linux!
It has been almost 2 years since I used a Linux.

Overall Rating: Good

Friday, December 01, 2006

Interview On Myself

hongjun joined Experts Exchange (EE) in Sep 1999, and has been a long time contributor in the ASP topic area. He has also achieved over a dozen other topic areas to reach the 1,000,000 point level, so we asked him what keeps him going.

How did you first find Experts Exchange?
Well, I first get to know Experts-Exchange during my poly days. A friend of mine introduced EE to me when we were stucked with some C Programming logic.

First EE question asked by me: Simple scanf question (C Programming)

What made you start answering questions?
Ever since I asked my first question, I often rely on EE to get quality and prompt replies to my technical questions.

Few months later, I realized there are some questions out there where I can also provide my assistance. I realized the need to give back to the community and to share knowledge.

First EE question answered by me: string requires char type but how to add all entries and get total? (C++ Programming)

What do you get out of answering questions?
In short: Knowledge
When I attempt to answer questions, I actually go through the process of looking for solutions all over the place. Through this process, I begin to know where to get the right solution at the right place at the fastest time. I also get to know a problem can be solved by many different methods and which is truely the most efficient and effective.

I must admit my bookmarks database is rather huge.

EE Profile
http://www.experts-exchange.com/M_237966.html
http://www9.brinkster.com/hongjun/ee/ee-profile.asp

Free Wireless@SG

News
http://www.ida.gov.sg/idaweb/marketing/infopage.jsp?infopagecategory=&infopageid=I3967&versionid=3

iCell Network
http://www.icellnetwork.com/

QMax
http://www.qmax.com.sg/wirelessatsg/index.html

SingTel
http://home.singtel.com/wirelessSG/wsg_index.htm

Coverage
http://www.ida.gov.sg/idaweb/marketing/infopage.jsp?infopagecategory=factsheet:wireless&versionid=1&infopageid=I3929

Thursday, November 30, 2006

Knoppix 5.0

This tool is fantastic! One can use this for both good and bad.
Good - Learn Linux
Bad - Hack into one's Windows and copy out the entire harddisk contents.

http://www.knopper.net/knoppix/index-en.html
http://linux.softpedia.com/get/System/Operating-Systems/Linux-Distributions/KNOPPIX-Live-DVD-2621.shtml

Got Myself A Free Book

I just got myself a free book by raising my hands and answering a question in a seminar.
It took me 3 tries on 3 separate questions before they finally gave me that book.

Book Link from Amazon (Cool right)
http://www.amazon.com/Programming-Microsoft-ASP-NET-Core-Reference/dp/0735621764

Search Engine With Visual Effects

Yet another innovative idea (But I don't really like this idea)
http://www.pagebull.com/

Wednesday, November 29, 2006

Today is VS and SQL 2005 1 Year Birthday

Today marks 1 year birthday for Microsoft Visual Studio 2005 and Microsoft SQL Server 2005.
On 29th Nov 2005, these 2 products were officially launched in Singapore.

Hacking Email: 99 Email Security and Productivity Tips

Everyday, and some not everyday tips, on how you can keep your email safe and secure.
http://www.itsecurity.com/features/99-email-security-tips-112006/

Saturday, November 25, 2006

Will you stay in India?

If given a chance to go overseas for work for 6 months, will you agree to it?
If the place to attach to is India, Pune, will you?

Albert Einstein Quote

"When you are courting a nice girl an hour seems like a second. When you sit on a red-hot cinder a second seems like an hour. That's relativity."

Thursday, November 23, 2006

Statement Of Attainment (1)

I just got my certificate for the below
ES-WPS-1CRM0 COMMUNICATION AND RELATIONSHIP MANAGEMENT
- OPERATIONS LEVEL

This certificate is issued by the Singapore Workforce Development Agency (WDA).

Friday, November 17, 2006

We Live In Singapura

Very funny.
Don't forget to watch the youtube equivalent too!
http://www.deviantart.com/deviation/43025356/

Find out who gives away your email address with Gmail trick

When you give your email address to a website, you hope that they don't sell or trade your address to a bunch of spammers. Well if they do, here is a simple way to see what sites are responsible for what particular piece of email. This requires you have a Gmail account.

If your Gmail login name was username@gmail.com and you went to samplesite.com to fill out a registration form, instead of just entering username@gmail.com as your email, enter it as username+samplesitecom@gmail.com instead. When Gmail sees a "+" in an email address, it uses all the characters to the left of the plus sign to know who to send it to. In this example it would still send it to username@gmail.com.

Now whats cool is if you search Gmail for username+samplesitecom, you will see all massages that were sent to that email address.

To see who is responsible for sending a specific message click the Show Details link and you will see the complete address.

http://www.hedir.com/introduction/about17942.html

Sunday, November 12, 2006

How I Celebrated My Birthday

8th Nov 2006 - My 25th Birthday.

All was planned by Regine and my job was just to follow.

We met at HarborFront MRT at around 7pm before heading to Bugis.A small hint from her was that dinner would be near Fortune Centre. I was left making guesses on where would be the place for dinner. I have no idea. We finally reached a place which till now I don't even know what is the name of the restaurant. There wasn't any sign of any signboard nor name of the restaurant written on the menu. I would grade the restaurant highly for their ambience.

After we finished our main course, we were served with ice cream and brownie (both were heart shaped) by one of the waiters. On top of the brownie was a lighted candle. This arrangement was preplanned and well-timed. I appreciate Regine's effort for this planning.

We left for home early after the dinner because we still need to work the next day. Oh ya.. I got a birthday card, a bear (she also has got one), and a wallet from Regine as my birthday gift. I love all of these gifts.

8th Nov 2006 - A memorable Wednesday.

Tuesday, November 07, 2006

Friday, November 03, 2006

Windows Live Messenger 8.1 Beta

New Features:

• Redesigned, smarter contact cards give you more data about and easier access to your friends
• Your display name, status and personalization roam with you to any computer
• Try PC-to-phone calling with two free calls to virtually any phone in the world*
• Better server performance
• Automatic updates
• Improved sign-in performance

http://ideas.live.com/programpage.aspx?versionid=39014087-6c05-4de9-98ac-b37d7ccd5617

Online file conversion with Zamzar

http://www.lifehacker.com/software/conversions/online-file-conversion-with-zamzar-211968.php
http://www.zamzar.com/

8 Simple Rules For Developing More Secure Code

  1. Habit #1: Take Responsibility
  2. Habit #2: Never Trust Data
  3. Habit #3: Model Threats against Your Code
  4. Habit #4: Stay One Step Ahead
  5. Habit #5: Fuzz!
  6. Habit #6: Don't Write Insecure Code
  7. Habit #7: Recognize the Strategic Asymmetry
  8. Habit #8: Use the Best Tools You Can

http://msdn.microsoft.com/msdnmag/issues/06/11/SecureHabits/

Popular Posts