索安漏水报警器:Scooter Framework

来源:百度文库 编辑:中财网 时间:2024/04/29 05:45:07

Scooter Framework

Home | Documents | Screencasts | Download | About Us

Java web application development can be simple, fast and fun!

Yes! You can build a database-backed web application in Java in only three steps.

Step 0: Setup a customerservice_development database

CREATE DATABASE customerservice_development;USE customerservice_development;CREATE TABLE entries (  id int(11) NOT NULL auto_increment,  name       varchar(30),  content    text,  created_at timestamp,  PRIMARY KEY  (id));

Step 1: Create the app

scooter> java -jar tools/create.jar customerservice

Step 2: Generate scaffold code

scooter> java -jar tools/generate.jar customerservice scaffold entry

Step 3: Start the new web app and browse CRUDly http://localhost:8080/customerservice/entries

scooter> java -jar tools/server.jar customerservice

By typing an extra 5 characters in step 2, you can make this a single-page AJAX CRUD app.

A video is worth a million words

No more tedious compile, deploy, shutdown, and restart.

Just edit/save your Java code, and refresh your browser. No turnaround.

Note: all screencasts can be downloaded from here.

Latest news

November 25, 2011: Scooter Runs Faster! Introducing Scooter 1.2 Release (中文)

April 24, 2011: Be prepared to be shot when making a coding error! Introducing Scooter 1.1 Release (中文)

December 17, 2010: AJAX-backed, wiki-powered TODO list app in 2 minutes. See details.

December 10, 2010: Scooter1.0 is released, featuring Ajax app generation, File Browser, simplified app creation, rendering APIs, 50+ flexible static Active Record APIs and more.

April 13, 2010: InfoQ interview: Scooter Framework; Java Made CRUD And Simple

What is Scooter framework?

Scooter framework is a highly-productive, full-stack pure Java web framework.

Scooter brings you Rails-like simplicity and dynamism in J2EE development.

Scooter allows you to dynamically build an app without learning script languages.

  • Overview of Scooter framework
  • 15 lovely features you don't get from other J2EE frameworks
  • See how simple it is to say "Hello World"
  • You can build a blog web site in 15 minutes
  • How many lines of Java code to write a Twitter-like app? 173!
  • A RESTful ActiveRecord-backed pet clinic vs. Spring's dao-based pet clinic
  • Compare Ruby on Rails and Scooter