[JasperReport] JasperReport 報表設計套用 command 模式
預設報表須輸出 pdf,ods 兩種格式
需要
CommandProcessor interface
Command interface
設定 Processor 可以執行的 command,假設有三種
InputModel 為從前端 controller 所傳遞過來的屬性or資料
public interface CommandProcessor {
String TO_FILE = "toFile";
String TO_STREAM = "toStream";
String TO_BYTE_ARRAY = "toByteArray";
genReportToFile(InputModel inputModel)
genReportToStream(InputModel inputModel)
genReportToByteArray(InputModel inputModel)
}
2016年9月13日 星期二
2016年9月8日 星期四
[Spring] Annotation @Transactional 的各項 屬性
[Spring] Annotation @Transactional 的各項 屬性
用 spring 事務管理器,由spring來負責資料庫的打開,提交,回滾.
默認遇到運行期例外
(throw new RuntimeException();)會回滾:
用 spring 事務管理器,由spring來負責資料庫的打開,提交,回滾.
默認遇到運行期例外
(throw new RuntimeException();)會回滾:
[Java] Listener 簡易說明
[Java] Listener 簡易說明
相關類別
org.springframework.context.ApplicationEventPublisher
org.springframework.context.ApplicationEventPublisherAware
org.springframework.context.ApplicationEvent
org.springframework.context.ApplicationListener
2016年3月3日 星期四
[JAVA]轉換檔案編碼及內容亂碼轉換
[JAVA]轉換檔案編碼
分享三種方式
使用String 轉換-------
package charset;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
2015年11月20日 星期五
Scrum 課程綱要 2015.11.20(Final)
Scrum 課程綱要 2015.11.20(Final)
Scrum 一種敏捷的開發方式,協助於最短時間,最高商業價值的產出
三角色 Scrum Master / Product Owner / Team Member
三產出 Product backlog / Sprint backlog / Burndown Charts
五個價值 Courage(勇氣) / Openness(開放性) / Commitment(承諾) / Focus(專注) / Respect(尊重)
五個儀式 Ceremonies(儀式) :
.Sprint(衝刺) .Sprint Planning Metting .Daily Scrum .Sprint Review .Sprint Retrospective
Planning Pocker 時間估算工具
Scrum 一種敏捷的開發方式,協助於最短時間,最高商業價值的產出
三角色 Scrum Master / Product Owner / Team Member
三產出 Product backlog / Sprint backlog / Burndown Charts
五個價值 Courage(勇氣) / Openness(開放性) / Commitment(承諾) / Focus(專注) / Respect(尊重)
五個儀式 Ceremonies(儀式) :
.Sprint(衝刺) .Sprint Planning Metting .Daily Scrum .Sprint Review .Sprint Retrospective
Planning Pocker 時間估算工具
2015年11月9日 星期一
Scrum 課程綱要 2015.11.09
Scrum 課程綱要 2015.11.09
Time Box
釐清需求
Team
PO 插手團隊???
概念性驗證(Proof of Concept;POC) 重要!!!
2015年11月4日 星期三
Scrum 課程綱要 2015.11.04
Scrum 課程綱要 2015.11.04
Do Remember
Prioritization!!!! (優先權)
Planning
First Step
Estimating(估計)
=> by test case
=> by 規格推導....
scrum 一般使用 Planning Poker
=> 先重從簡單的開始估算
2015年11月2日 星期一
Scrum 課程綱要 2015.11.02
Scrum 課程綱要 2015.11.02
Besides Dev.Job
Scrum Runtime <Important>
Sprint Planning <--> Daily Scrum --> Sprint Review Metting --> Sprint Retrospective Meetting --> Spring Planning Metting
Backlog Refinement Metting
訂閱:
文章
(
Atom
)