Archive for October, 2010

Open-source solutions commonly used in Java UI development

Friday, October 29th, 2010

Format is:

For each third party library:

1) Name of all the third party software used in your components.

2) Version

3) Website where I can get that tool.

4) One line summary.

Here is the list:

Simple Logging Facade for Java (SLF4J)

rev=”1.5.8″;

www.slf4j.org/

The Simple Logging Facade for Java or (SLF4J) serves as a simple facade or abstraction for various logging frameworks, e.g. java.util.logging, log4j and logback, allowing the end user to plug in the desired logging framework at deployment time.

PrimeFaces

rev=”0.8.3″

http://www.primefaces.org/

PrimeFaces is a lightweight open source component suite for Java Server Faces 2.0 featuring 100+ rich set of JSF components. Additional TouchFaces module features a UI kit for developing mobile web applications.

hibernate

rev=”3.2.3.ga”

www.hibernate.org/

Hibernate an open source Java persistence framework project. Perform powerful object relational mapping and query databases using HQL and SQL.

click framework

rev=”2.1.0-RC1-incubating”

click.apache.org/

Click Framework is a modern JEE web application framework, providing a natural rich client style programming model.

Apache Tomcat

rev=”6.0.14″

tomcat.apache.org/

Apache Tomcat (or Jakarta Tomcat or simply Tomcat) is an open source servlet container developed by the Apache Software Foundation (ASF).

JSP/JSF Expression Language Implementation

rev=”1.0″

download.java.net/maven/glassfish/org/glassfish/web/el-impl/

A JSP/JSF Expression Language Implementation

Nanjing University in USA government archive

Thursday, October 7th, 2010

File Unit: Federal Assistance Award Data System, Third Quarter FY 1991, 4/1/1991 - 6/30/1991
in the Series: Records About Grants, Insurance, Loans, Subsidies and Other Economic Assistance Awarded by Federal Agencies, created 10/1/1981 - 9/30/2006, documenting the period 10/1/1981 - . - Record Group 29 (info)

Brief Scope: This series contains selected, standardized data on grants, insurance, loans, subsidies and other economic assistance awarded by Federal agencies.

FULBRIGHT_HAYS TRAINING GRANTS_GROUP PROJECTS ABROAD
FEDERAL AGENCY NAME DEPARTMENT OF EDUCATION - OFFICE OF POSTSECONDARY EDUCATION

COOPERATIVE CHINESE LANGUAGE AND STUDY PROGRAM AT PEKING UNIVERSITY AND AT NANJING UNIVERSITY. (ADVANCED LANGUAGE TRAINING) 1135619649A1

The full record can be found at usa goverment archived record:

http://aad.archives.gov/aad/record-detail.jsp?dt=114&mtch=1&cat=all&tf=F&q=nanjing+university&bc=&rpp=10&pg=1&rid=149105

Under Series 29 (FAQ)

Lullaby

Thursday, October 7th, 2010

Played by Claire on Oct 6 2010

whitewater falls

Thursday, October 7th, 2010

Located in NC, this is a great place to immerse yourself in mother nature.

You never saw this BestBuy

Wednesday, October 6th, 2010

Located inside a grocery store, this BestBuy is very unique. It only has a vey small showroom.

The art of String manipulation in bash: Substring Removal

Wednesday, October 6th, 2010
  1. #!/bin/bash
  2.  
  3. stringZ=abcABC123ABCabc
  4. #       |—-|          shortest
  5. #       |———-|    longest
  6.  
  7. #Deletes shortest match of $substring from front of $string.
  8. echo ${stringZ#a*C}      # 123ABCabc
  9. # Strip out shortest match between ‘a’ and ‘C’.
  10.  
  11. # ##a*c: Deletes longest match of $substring from front of $string, from a to longest C
  12. echo ${stringZ##a*C}     # abc
  13. # Strip out longest match between ‘a’ and ‘C’.
  14. #src: http://tldp.org/LDP/abs/html/string-manipulation.html
  15.  
  16. echo ============================
  17.  
  18. echo "LINKING WEB MODULES"
  19.         WEBDIR="/opt/SUNWappserver/domains/domain1/autodeploy"
  20.  
  21.                 ADDONS_DIR=/usr/local/my/addons
  22.                 ADDONS=`ls $ADDONS_DIR/*.war 2>/dev/null`
  23.  echo "addons:$ADDONS"
  24.                 #if [[ "$ADDONS_DIR" ]]; then
  25.                 for WARFILE in $ADDONS; do
  26. echo $WARFILE
  27. echo ${WARFILE##*/}
  28.                 rm -f $WEBDIR/${WARFILE##*/} &>/dev/null
  29.                 ln -s $WARFILE $WEBDIR/${WARFILE##*/}
  30. echo  {WARFILE##*/}:${WARFILE##*/}
  31.         done

How to copy only .war files in a folder to another folder(autodeploy)

Wednesday, October 6th, 2010
  1. # Create addons dir
  2. ADDONS_DIR=/usr/local/somefolder/addons
  3. if [ ! -d "$OS_ADDONS_DIR" ]; then
  4. mkdir -p $OS_ADDONS_DIR
  5. fi
  6.  
  7. ADDONS=`ls $ADDONS_DIR/*.war 2>/dev/null`
  8. #if [[ "$ADDONS_DIR" ]]; then
  9. for WARFILE in $ADDONS; do
  10. rm -f $WEBDIR/${WARFILE##*/} &>/dev/null
  11. ln -s $WARFILE $WEBDIR/${WARFILE##*/}
  12. done

Supported language formatting:
http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi#Supported_languages

Grouping Exercise (Chinese, drag and drop)

Wednesday, October 6th, 2010

http://blog.dengsoft.com/m/webapps/iWebKit5.04/Framework/dd.html

第194周周末中文竞赛 (2010年9月27日到2010年10月3日) 结果揭晓

Wednesday, October 6th, 2010

Here is the winners list for last week:

国际中文实验室自2006年12月10日起,已成功举办194届网上周末中文竞赛(免费),来自
世界各地的中文学习爱好者参加了我们的每周中文竞赛。
第194周周末中文竞赛 (2010年9月27日到2010年10月3日) 结果已经揭晓。优胜者是:

Willie Jin, Richard Zhang, Laura L.