Total Pageviews

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/

2008/04/03

Subclipse - the Subversion plugin for Eclipse

  1. What is Subclipse ?
  2. Subclipse Installation
  3. Import Source Code From SubVersion
  4. Troubleshooting

http://junyuo.googlepages.com/Subclipse-TheSubversionPluginForEcli.rar

2008/03/02

2007/12/21

Ports and protocol which had been used by Windchill

Http: 80
JavaRMIServlet: 5001~5010
ProjectLink Meeting port: 5620~5660

Therefore, network administrator should open these ports.

2007/12/13

Check Windchill failed queue how-to

1. Go to Site tag and click Utils
2. Go to Queue Manager page
3. Choose failed queue, ex. WfUserWorkQueue
4. pickup one queue entry which had been marked as server, and select 'show' option in dropdown list
5. check error message, ex. wt.workflow.robots.WfInternalMethod:135596
6. used sql statement to figure out which object cause this failed queue.
select t2.businessobjreference, t2.name from WfInternalMethod t1, wfprocess t2 where t1.ida2a2 = 135596 and t1.ida3parentprocessref = t2.ida2a2
7. we can get information from step6.
businessobjreference is VR:wt.doc.WTDocument:136558
name is TPV - Release Workflow_0000000046 - Electronic Component Sample Request Operation Quide A
8. go to search page: apply 0000000046 to number to be our search criteria,
then we can check the related workflow to check what's wrong

2007/12/05

Utilized JAXB to generate POJOs automatically -- Green Integration Part II

Utilized JAXB to generate POJOs automatically -- Green Integration Part II

Agenda
  • Scenario
  • JAXB (Java Architecture for XML Binding)
  • Implementation steps in Green Integration
  • JAXB Usage
  • JAXB Limitations