1 by: john keleher, cynthia willi, michael foulke authenticated file transfer application server
DESCRIPTION
3 Original Solution Plan Client User name Password Resource Display Resource Server / Resource manager Com. Module DBR. M. Ticket T They MatchTRANSCRIPT
1
By: John Keleher, Cynthia Willi, & Michael Foulke
Authenticated File Transfer Application
Server
2
The Development ProcessConsidered and analyzed specificationsDeveloped original solution planDiscussed with professors and peersRevised solution planResearchedModular development
3
Original Solution PlanClient User name
PasswordResource
Display Resource
Server / Resource manager
Com. Module
DBR. M.
Ticket
TicketT
They Match
4
Discussion: Profs & Peers
DatabaseFTP Server vs. Java ServerSocketsRMISwing vs. AWTIDEs and Editors
5
Revised Solution PlanServer Client
Javax.swing
6
ResearchJava Unleashed - Sams.net PublishingBeginning Java 2 – Ivon HartonJava Switch – John Lewis & L. Will LoftusChat Application – Jeffrey KohlorJava How to Program – H.M. Deitel & P.J. DeitelJava 2 Platform, S.E. v1.3 API SpecificationJFC Unleashed - Michael Foley & Mark McCulley
7
Server• Listen for connection
• open‘ServerSocket’• wait
• Managing threads of control • Starting• Stopping• Joining
• Reading and responding to client requests• ‘Socket’ I/O streams• ‘File I/O’
• Authentication process• ‘Validate username and password’
8
G. U. I.• Provide text entry and user interface
• ‘Swing components’
• Connect to the server• ‘Socket’
• Communicate with client• ‘Inner class’
9
Client• Listen for user input
• ‘ActionListeners’
• Send user requests and read server response• ‘Socket I/O streams’
• File Read• ‘File I/O’