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.
December 17, 2010: AJAX-backed, wiki-powered TODO list app in 2 minutes. See details.
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