Profile

Cover photo
Peng Xu
Works at Bayleaf Software Inc.
Attended Xi'an Institute Of Technology
Lived in Vancouver
32 followers|252,868 views
AboutPostsPhotosYouTube

Stream

Peng Xu

Shared publicly  - 
1

Peng Xu

Shared publicly  - 
 
Regex Cheatsheets
In most regex dialects there are a set of convenient character summaries you can use for this kind of thing - these are good ones to remember: \w - Matches any word character.  \W - Matches any nonword character.  \s - Matches any white-space character.  \S...
1

Peng Xu

Shared publicly  - 
 
DCEVM - A JRebel free alternative
Dynamic Code Evolution VM http://ssw.jku.at/dcevm/binaries/ source: http://javainformed.blogspot.ca/2014/01/jrebel-free-alternative.html DCEVM - A JRebel free alternative Those of you who work with web application development on a daily basis know very well...
Those of you who work with web application development on a daily basis know very well that reloading is annoying. With Tomcat and Eclipse for example, when you make just a small change in your Java class, it still takes at l...
1

Peng Xu

Shared publicly  - 
1

Peng Xu

Shared publicly  - 
 
How to specify ant build file name and pass parameter
ant -buildfile mybuild.xml -Dpara=abc in mybuild.xml, it will use para like below. "${para}
1

Peng Xu

Shared publicly  - 
 
Spring Certificate Study Notes
#1 constructor Injection vs properties Inject constructor: pro: accountRepository promote immutation; concise; constructor-arg can be in any order con: optional; describle; inherited automatically; cyclic references; #2 How to implement factory bean:  facto...
1
In his circles
37 people
Have him in circles
32 people
Bradley Clark's profile photo
Maricel Berganio's profile photo
Marc Semkow's profile photo
Sharon Qiao's profile photo
jason zhang's profile photo
Dave Marchuk's profile photo
Alba Gomez's profile photo
Yu Tao's profile photo
Frank Chang's profile photo

Peng Xu

Shared publicly  - 
1

Peng Xu

Shared publicly  - 
 
A language where the code is written with folders
https://github.com/rottytooth/Folders Not sure someone, we might use it :)
1

Peng Xu

Shared publicly  - 
 
When to use an assertion and when to use an exception
use exceptions when checking parameters passed to public or protected methods and constructors use exceptions when interacting with the user or when you expect the client code to recover from an exceptional situation use exceptions to address problems that ...
1

Peng Xu

Shared publicly  - 
 
How do I call one constructor from another in Java?
Believe it or not, I don't know this before. find it from stackoverflow as below, http://stackoverflow.com/questions/285177/how-do-i-call-one-constructor-from-another-in-java Yes, it is possible: public class Foo { private int x ; public Foo () { this ( 1 )...
1

Peng Xu

Shared publicly  - 
 
Learning book "Practical Unit Testing with JUnit and Mockito" written by Tomek
SUT: System under Test DOC: depended on component Phases of a Unit Test: arrange, act, assert TDD Rhythm #1 Write a test that fails(Red) #2 Make the code work( Green) #3 Eliminate redundancy(Refactor) rule: Never write code without a failing test!
1

Peng Xu

Shared publicly  - 
 
plumbing, a term in computer world
I often saw word ' plumbing' in the technical related book and never really know what does it mean. Today, it seems that I found the answer myself. source:  http://mindprod.com/jgloss/plumbing.html plumbing The technical term for the code that manages data ...
1
People
In his circles
37 people
Have him in circles
32 people
Bradley Clark's profile photo
Maricel Berganio's profile photo
Marc Semkow's profile photo
Sharon Qiao's profile photo
jason zhang's profile photo
Dave Marchuk's profile photo
Alba Gomez's profile photo
Yu Tao's profile photo
Frank Chang's profile photo
Work
Occupation
Software Developer
Employment
  • Bayleaf Software Inc.
    Application Develooper, 2011 - present
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Previously
Vancouver - Shen Zhen - Shang Hai - Xi'an - Yu Shan
Links
YouTube
Contributor to
Story
Introduction
A Java Developer currently reside in Vancouver,Canada with wife and kids. I have been in software development for over 10 years now specializing primarily in Java and the popular open source frameworks.
Education
  • Xi'an Institute Of Technology
    1996 - 2000
Basic Information
Gender
Male
Other names
Sebastian Xu