0% found this document useful (0 votes)
962 views

Developing Webapps Faster With Appfuse: Matt Raible

Matt Raible developed AppFuse to help developers create web applications faster using open source technologies like Spring, Hibernate, and Struts. AppFuse is a code generation tool that sets up the infrastructure and provides a starting point for a web application. It allows developers to focus on their application logic rather than dealing with configuration of the frameworks. The presentation demonstrated creating a sample Person object, database table, and data access object using AppFuse to persist data with Hibernate. Future enhancements to AppFuse could include support for additional MVC frameworks and IDE plugins.

Uploaded by

Kushan B Gandhi
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
962 views

Developing Webapps Faster With Appfuse: Matt Raible

Matt Raible developed AppFuse to help developers create web applications faster using open source technologies like Spring, Hibernate, and Struts. AppFuse is a code generation tool that sets up the infrastructure and provides a starting point for a web application. It allows developers to focus on their application logic rather than dealing with configuration of the frameworks. The presentation demonstrated creating a sample Person object, database table, and data access object using AppFuse to persist data with Hibernate. Future enhancements to AppFuse could include support for additional MVC frameworks and IDE plugins.

Uploaded by

Kushan B Gandhi
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

Developing webapps faster with AppFuse

Matt Raible [email protected]

!ww.raibledesigns.co"

Who is Matt Raible?


Developing websites since 1994 (before Netscape 1.0) Developing in Java since 1999

Committer on several open source projects: Roller


for J2EE and web development Pro JSP (Apress)

Weblogger, Struts Menu, Display Tag, AppFuse, Struts Resume

Have a weblog (http://raibledesigns.com) with tips n tricks Author: Spring Live (SourceBeat) and contributor to
!ww.raibledesigns.co"

Audience Questions
Your Experience with webapps? What do you want to get from this
presentation?

Open Source experience with Ant, XDoclet,


Struts, Hibernate, Spring?

!ww.raibledesigns.co"

Presentation Agenda
What is AppFuse? Open Source Dependencies Demo of Features HowTo: Create Person object and DAO to
persist

Questions?
!ww.raibledesigns.co"

AppFuse - what is it?


History - how it came to be Powered by Ant, glued together with Spring,
persisted by Hibernate and controlled with Struts MySQL

Easy setup (ant setup) for Tomcat and Testing on all tiers: DAOs, Business
Delegates, Struts Actions and JSPs
!ww.raibledesigns.co"

Dependencies

!ww.raibledesigns.co"

Demo of Features
Container Managed Authentication - easily
switch from JDBC to LDAP or Windows domain authentication

Remember Me and Self Registration GZip Compression Built-in Testing environment ready to go, Anthill
ready

http://demo.raibledesigns.com/appfuse
!ww.raibledesigns.co"

Create database, table, POJO and DAO


A Quick HowTo

!ww.raibledesigns.co"

Use instructions at: http://

Development Environment Setup

raibledesigns.com/wiki/Wiki.jsp? page=DevelopmentEnvironment 1.4.2, Tomcat 5.0.19, Ant 1.6.1, MySQL 4.0.18 Smart CVS

Recommended Tools: Eclipse 3.0 M8, JDK Windows: HomeSite, TopStyle, Cygwin,

OS X: Intellij IDEA, BBEdit, Cocoa MySQL,


Tortoise CVS, MySQL CC / Administrator
!ww.raibledesigns.co"

Part I: Create database and table


Create appfuse database with Ant Create Person.java POJO and generate
Hibernate mapping le with XDoclet object

Congure Spring to be aware of Person Create person table from POJO using Ant
!ww.raibledesigns.co"

Part II: Create DAO


What is a DAO? Create PersonDAOTest - Test First! Create PersonDAO Interface Create PersonDAOHibernate
implementation class

Congure PersonDAO in Spring Run JUnit Test


!ww.raibledesigns.co"

Part III: More Tutorials


Create PersonManagerTest, PersonManager
interface and implementation class transactions

Congure in Spring and add declarative Create PersonAction and JSPs (including
Tiles and Validation) tutorials

Online at http://raibledesigns.com/appfuse/
!ww.raibledesigns.co"

AppFuse Roadmap
Add MVC Framework options: Spring,
WebWork, Tapestry and JSF Creator Support

Pipe Dreams: MyEclipse or Java Studio Other things youd like to see?

!ww.raibledesigns.co"

Questions?
AppFuse Ofcial Homepage: http://raibledesigns.com/appfuse AppFuse Demo: http://demo.raibledesigns.com/appfuse This Presentation: http://raibledesigns.com/downloads/
AppFuse-OJUG.pdf
!ww.raibledesigns.co"

You might also like