Building Frameworks In Java: Component Development - PowerPoint PPT Presentation

1 / 22
About This Presentation
Title:

Building Frameworks In Java: Component Development

Description:

... In Java: Component Development. Nick Meshes. Schedule. Break into 4 ... Tomcat Website: http://jakarta.apache.org/tomcat. Contact Nick at nick_at_meshes.com ... – PowerPoint PPT presentation

Number of Views:50
Avg rating:3.0/5.0
Slides: 23
Provided by: tmb7
Category:

less

Transcript and Presenter's Notes

Title: Building Frameworks In Java: Component Development


1
Building Frameworks In JavaComponent Development
Nick Meshes
2
Schedule
  • Break into 4 5 groups
  • Match skilled Java programmers with new ones
  • Message group may be optional
  • Explanation of todays hands-on Presentation
  • Overview of framework well build
  • Work in groups
  • Meet with each group for five minutes

3
Schedule
  • Check-in after 1 hour, Allot additional time as
    needed
  • Merge code together and see the fruits of our
    labor
  • Each group presents technology
  • Leave and go about our lives
  • Total Time 3 Hours or Less

4
Break Up Into Five Teams
  • Servlets/JSP

XML/JAXP
JDBC
Email/SMTP
Regular Expressions
5
Explanation of Todays Hands-On Presentation
  • What is trial by fire?

Its how the real world works!
  • Youre given a project to work on.
  • Once you complete the project
  • Youre smarter
  • Youve learned it better than someone just
    telling you
  • Youve built character as well as experience
  • After completing the project, well present what
    we learned

6
Overview of Framework Well Build
CAMPAIGN FULFILLMENT
A Tool For Getting the Right Information To The
Right People
  • Back-End Engine for processing data and sending
    information to people
  • XML-based
  • Database Connectivity (MS Access in this version,
    CSV in future)
  • Email-delivery capability (Postal mail and fax in
    Version 2.0)
  • Web Interface to Campaign Fulfillment Engine

7
Process User Interface
  • User submits Job Request as an XML Document

8
Process Delegation to Business Logic
  • Servlet creates a Job Manager to handle the job

9
Process Controller initiates Job Processing
  • Job Manager creates a relationship to a XML
    Document Manager and passes the document

XML Doc Manager
XML Doc
10
Process Creation of Components from XML
  • During operation, the XML Document Manager will
    create appropriate component objects from the XML
    Definition

11
Process Data Retrieval
  • Job Manager utilizes the XML Doc Manager and the
    DS Manager to build a list of records

Record List
1 Record Field List
12
Process Setup the Message Handler
  • The XML Doc Manager creates a Message Manager,
  • which holds the message to send and can replace
    parameters in the message if needed.

13
Process Setup the Delivery Mechanism
  • The XML Document Manager creates a Delivery
    Manager, which can send the message to your
    intended audience.

14
Process Campaign Fulfillment
  • For each record to be sent, the Job Manager tells
    the Message Manager to format the message and
    tells the Delivery Manager to send it.

15
Your Mission, Should You Choose To Accept It
  • Servlet Group creates web interface using Tomcat
  • XML Group creates objects from XML
  • DB Group retrieves data from Access DB
  • Message Group manages and builds the message
  • Delivery Group sends email through JavaMail

But its not as hard as you might think!
16
Work In Groups
  • Servlets Group

XML Group
Message Group
Data Source Group
Email Group
Ask for Help as Necessary
17
Set-up Information
  • Create a folder under the C drive called
    seminar (C\seminar)
  • Download the Java Building Frameworks
    Resources into C\seminar
  • Extract the zip file into C\seminar
  • Open a DOS window (Start button, then one of
    below)
  • type cmd in a Run window and hit ENTER
  • Programs ? Accessories ? Command Prompt

18
Set-up Information
  • In the handout is more information about
    compiling,
  • testing, and the contents of the Seminar zip
    file.

19
Whats Going On?
  • Were still working!

Were merging!
It runs!
Time to Present!
20
Group Presentations
  • Servlets Group

XML Group
Data Source Group
Message Group
Email Group
21
The Model is your Friend
22
Resources
  • Java Website http//java.sun.com
  • Tomcat Website http//jakarta.apache.org/tomcat
  • Contact Nick at nick_at_meshes.com
Write a Comment
User Comments (0)
About PowerShow.com