I just moved “Arabic Text Editor” to
Moved this paper to the new Google Apps site on 2011.03.29
http://www.tek271.com/documents/others/into-to-neural-networks
I presented Google Guava at Cincinnati Java User Group (CinJug) on 2011.01.27.
Here are links to the material presented:
- Presentation as PDF
- Sample Java code as an Eclipse project (zipped)
Introduction
Play (playframework.org) is a Java framework that makes it very easy to build web applications. Here I show how to build a CRUD web app in a way that reminds me of RoR or Grails. You only need to know Java to follow this example. Play’s website contains excellent documentation and I will not repeat them here.
Some of the material here was presented at CoJug on 2010.06.08. The CoJug presentation contained more than what is provided here, and was presented by Nilanjan Raychaudhuri and myself.
Setup
- Java 1.5 or higher installed.
- Play installed, remember to add Play’s location to the path.
- Eclipse 3.5 installed. (This is a personal choice, you may use any IDE or text editor).
This will be a simple CRUD application which manages the following entities:
- A group of companies.
- Each Company can have 0 or more Department.
- Each Department can have 0 or more Employee.
Create App’s Skeleton
- From the command line, navigate to the directory which will contain the new application.
- Run this command:
play new corporations - You will be prompted to enter the application’s name, enter
Corporations - The above will create an empty Play application in the
corporationsdirectory. - To try what you created, run this command:
cd corporations
play run - In your web browser, go to http://localhost:9000/
- You should get a page titled “Your application is ready !”
- This proves that Play is running and that you application has started.
My notes about COUNTER and SUSHI
COUNTER: Counting Online Usage of Networked Electronic Resources. projectcounter.org
SUSHI: Standardized Usage Statistics Harvesting Initiative. www.niso.org/workrooms/sushi/
COUNTER is a standard used by libraries and publishers to report online usage statistics. The reports can be in CSV, spreadsheets, or XML. There are several types of reports; Journal, Database, and Consortium Reports. All reports are monthly.
SUSHI is a Web Service (SOAP) standard which allows requesting a COUNTER report in XML format. The web service request specifies what COUNTER report is needed, while the response will contain (embedded) the report. See SUSHI Tutorial.
The SUSHI web service should validate the request before responding. Validations could include:
- Client IP address. As a security measure.
- Customer ID.
- Report type.
- Date range.