Total Pageviews

2008/11/05

Re: [jasperreports-questions] IS_IGNORE_PAGINATION parameter

Re: [jasperreports-questions] IS_IGNORE_PAGINATION parameter


I had faced the same problem regarding exprting report to pdf in browser but bring blank page.
The root cause is the IS_IGNORE_PAGINATION had been set into FALSE, so it cannot diaplay correctly.

2008/10/28

Highlighting Odd and Even Rows in JasperReports - Brian Burridge

Highlighting Odd and Even Rows in JasperReports - Brian Burridge: "new Boolean( $V{PAGE_COUNT}.intValue() % 2 ==0 )"

In order to highlight odd or even rows with a background color, in JasperReports, first create a rectangle element with a background of your color choice, and send it to the background (in JasperAssistant, right click on the rectangle, choose Arrange and then Send to Back). Second, use the following expression to set when the element should appear, by placing the expression in the Print When Expression field of the rectangle element. Where the $V{PAGE_COUNT} appears, you can use that, to base it on the row number on the page, or use $V{REPORT_COUNT} to base it on the row within the report. Also, if you are using a group, you can use $V{groupname_COUNT} where groupname is replaced with the name of your group. The expression below will then test the row number within the Page, Report, or Group (whichever you selected) and if its divisible by 2, it will display the rectangle element with the background color.

2008/10/25

CAS (Central Authentication Service) Enhancement

Agenda
  • Why SSO (Single-Sign On)?
  • Central Authentication Service (CAS)
  • CAS Installation
  • As-Is and To-be Process
  • Modification Process

http://www.slideshare.net/junyuo/cas-enhancement-presentation

2008/10/02

CAS Demo Application Installation

CAS Demo Application Installation

including troubleshooting (CAS Demo App. cannot be running correctly)

2008/09/20

Joda Time - Java date and time API - Home

Joda Time - Java date and time API - Home

Joda-Time provides a quality replacement for the Java date and time classes. The design allows for multiple calendar systems, while still providing a simple API. The 'default' calendar is the ISO8601 standard which is used by XML. The Gregorian, Julian, Buddhist, Coptic, Ethiopic and Islamic systems are also included, and we welcome further additions. Supporting classes include time zone, duration, format and parsing.

2008/09/19

Spring + JPA + TOPLink + DAO Step by Step

  1. Spring + JPA + TopLink + DAO Architecture
  2. Spring/Persistence Config File
  3. Implement DAO – CRUD
  4. Implement ServiceBean
  5. Implement Client Side Code

http://www.slideshare.net/junyuo/spring-toplinkjap-dao-step-by-step-presentation

2008/09/03

Spring + JPA + DAO Step by Step

Spring + JPA + DAO Step by Step
  1. Spring + JPA + DAO Architecture
  2. Spring Config File
  3. Implement DAO – CRUD 
  4. Implement ServiceBean
  5. Implement Client Side Code

2008/08/31

Java Persistence API (JPA) Step By Step

  • What is Java Persistence API
  • Primary Features
  • Five Steps to Implement JPA
  1. Download Hibernate Components
  2. Prepare Database, and Download JDBC Driver
  3. Implemented POJO entities and add annotations
  4. Persistence.xml
  5. Implemented client side code via EntityManager

http://www.slideshare.net/junyuo/java-persistence-api-jpa-step-by-step-presentation


2008/06/29

Applied MyEclipse and JUnit to do Hibernate Code Gen and Testing

• Hibernate Code Generation
• Code Gen Process
• Generate DAO for the four tables
• Artifacts
• Spring Configuration File
• Apply JUnit to do DAOs Test
• JUnit Framework
• How to Test with JUnit?
• Simplified Workflow of Applying JUnit
• Testing Process
• Generate Unit Test Result via Ant

http://www.slideshare.net/junyuo/applied-myeclipse-and-junit-to-do-hibernate-code-gen-and-testing/

Monitoring Development Statistics with StatSVN


Preemptive Error Detection with FindBugs


Visualizing a Database Structure with SchemaSpy

2008/06/20

2008/06/15

My First Web Services Example - XFire, Spring, SoapUI

  • Setup Web Services Environment
  • Setup Web Services IDE Environment
  • Install and Validation Process
  • Download Extra Jar Files
  • Buzzwords
  • Web Services Architecture
  • Scenario
  • Deployment descriptors of the Web application
  • Testing Procedure
http://www.slideshare.net/junyuo/my-first-web-services-example-xfire-spring-soapui/