Download presentation
Presentation is loading. Please wait.
1
The 21th Century Repairman Agenda Introduction J2EE - Interface Subcontractor Manager Subcontractor Demonstration
2
Goal of the Project The purpose of this project is: Investigate the possibilities with Java and Web technologies (JAXM, SOAP, XML) Try to integrate an interactive web service with a J2EE system Build a large distributed system
3
Pervasive Repairer We ended up with a system intended to support situated and distributed work of a repairer, who is working with large technological systems.
4
System overview Administrative worker Company Server (J2EE) The repair company The situated repairer Customers place Subcontractor companies DB Http Http/HTML Vendor Subcontractor Manager XMLSOAPXML Interactive web services Distributed Objects and PvC WI = Web interface WI
5
J2EE connection Architecture J2MEWebSMSSessionEntity Presentation Layer (Servlet/JSP) Business Layer (Session Beans) Model Layer (Entity Beans) J2ME HTTP Web HTTP / HTML SMS XML DB Container Managed Persistence Value Objects
6
Subcontractor Manager Vendor ConnectionSOAP ConnectionXML Connection RPC *
7
XML messages A global format (DTD) is used throughout the system for request and response- messages, respectively: Request :
8
XML messages Response:
9
SOAP Advantages –Separate data and meta information –Pack text and other data formats in one package. Disadvantages –Slow!!! –Bigger and more processing
10
Web Services A web service is constructed as a collection of: Java Servlets: handle functionality that the service offers to clients JSP Pages: presentation Java Bean classes: represent internal state of the service
11
Web Services Functionality accesible for clients: Get product info Order product Maintenance functions: Add and update product types (e.g. prices) Show product types in stock Show dispatched orders
12
Web Services Entity object model for a web service:
13
Future Work Further investigations into SOAP (to find some justification for it…) and other protocols (e.g. RPC). Adding functionality to Subcontractor Management Server: logic for automatic selection of a ’best’ subcontractor when ordering. Performance issues: caching; systematic experimentation with protocols; improvement of parsing
14
Demo 1.Communication stock admin. system – web services 2.Administration of a single webservice
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.