albert's blog
2012/01/18
4 tips to improve performance of Java application with database
›
Java database performance tips 1: Find out how many database calls you are making and minimize those believe it or not if you see perf...
2012/01/17
Java Comparator Example
›
If you have a List of the employee objects then you need to use Collections.sort() method to sort the list holding employee objects. Below ...
2012/01/15
5 Skills for Tech Leads
›
1) Development You should be a developer, and a good one. 2) Release Management Your main job is to resolve needs and roadblock...
2012/01/13
How Larry Page Changed Meetings At Google After Taking Over Last Spring
›
Every meeting must have one clear decision maker. If there's no decision maker -- or no decision to be made -- the meeting shouldn...
2012/01/12
iReport 直式/橫式報表
›
需求 根據User所選擇要輸出橫式或直式的格式,分別輸出符合指定格式的報表 若user選擇列印格式為橫式 就輸出橫式報表 若user選擇列印格式為直式 就輸出直式報表 作法 - 橫式報表 由於iReport建立template後,...
Winners and Losers in Business Open-Source Software
›
Application Server/Web Server: Trending Up: Node.js and NGINX Trending Level: Tomcat and Apache HTTP Server Trending Down: JBoss and G...
2012/01/08
How to create barcode in iReport
›
Here is a simple example to create barcode in iReport Scenario 1. As user click "Preview" in iReport, it will show dialog to in...
2012/01/03
IO Error: Size Data Unit (SDU) mismatch:oracle.net.ns.NetException: Size Data Unit (SDU) mismatch
›
Problem As I would like to do query via JPA, I got this error message IO Error: Size Data Unit (SDU) mismatch:oracle.net.ns.NetException:...
1 comment:
2011/12/31
11 Things every Software Developer should be doing in 2012
›
1. Get on Twitter 2. Read StackOverflow Daily 3. Start a Blog 4. Get out there 5. Carry around a modern phone 6. Embrace Mob...
2011/12/30
Preventative medicine for Memory leaks in Java
›
How to avoid memory leaks? To avoid memory leaks, We must check our applications to make sure the below: Our app ought to release...
2011/12/29
Improve Software Quality with Tools and Processes
›
Choose a suitable process model and apply it correctly, ex. agile , scrum , iterative and incremental Control the version of each req...
2011/12/28
善用Oracle提供的function來提升系統效能
›
有關報表的日期欄位,資料庫是儲存成yyyMMDD or yyyMM。 根據現有需求,需formatting成 YYY/MM或者是YYY/MM/DD格式, 因為效能考量,此類的formatting應 在SQL裡頭做 ,不要放到AP level做。 舉個例子來說 ...
2011/12/22
Are You Making These 7 Productivity Mistakes?
›
Mistake #1: Cutting Back on Sleep Mistake #2: Multi-Tasking Mistake #3: Doing Everything Yourself Mistake #4: Focusing Solely on Numbe...
No output specified for the exporter
›
Problem As I would like to export pdf via JasperReports JRExporter, it throw " No output specified for the exporter " exception. ...
How to apply 1000 separator in data field
›
需求 在數字或者是金額等欄位,需要做到千分位隔開,如1000,要顯示1,000 作法 1. 到特定欄位按右鍵,選擇Field Pattern 2. 選擇Number, 將"User 1000 Separator"打勾,再按Apply ...
REPORT_COUNT vs. [group name]_COUNT
›
需求 在產出的報表的每筆資料的第一個column,指定序號 產出結果如下 一般來說,只要將REPORT_COUNT此欄位拉到iReport即可 但是在NIG071此張報表中,若到下一頁,他會把值reset,從1開始 會造成此問題的原因,是因為此報表有用到 ...
‹
›
Home
View web version