Java程序辅导

C C++ Java Python Processing编程在线培训 程序编写 软件开发 视频讲解

客服在线QQ:2653320439 微信:ittutor Email:itutor@qq.com
wx: cjtutor
QQ: 2653320439
COSC1174/75- CS484 – Suggested Tutorials/Labs for JacORB and Apache-SOAP 2003 
 
Week # Topic Tutorial & Lab Details 
1 Introduction 
to CORBA 
Setup of the JacORB environment. Requires setting up of 
properties files and settings, CLASPATH and ANT 
paths. Explanation of ANT build files and building a 
simple client/server to test the correct connectivity. 
2 IDL Creation of a moderately complex IDL file (eg string, 
short, long etc, perhaps structs) and compiling the IDL to 
create stubs, skeletons etc. Explanation of what 
stubs/skeletons are and explaining the IDL-to-Java type 
mappings. Implementation of POA servants using the 
IDL-generated code, and simple client and server. Use of 
string-to-object IOR stringification. At this point, 
depending on whether POA has been taught in lectures, 
maybe some skeleton code provided. Somewhere we 
need to sqeeze in the use of Exceptions – maybe too 
early??? 
3 Advanced 
IDL & 
Exception  
Explain how advanced IDL can be modeled along with 
User defined exception 
4 Object 
Reference 
(Naming) & 
POA 
Explain the purpose of Naming service. Perhaps need 
further setting changes to get NameService to work. Use 
of resolve_initial_references, explaining there are certain 
initial references known to CORBA (also root_POA) 
Change programs from previous week to use 
NameService and perhaps use naming contexts as well. 
 
5 POA & TIE Explain TIE and why we may need it (ie legacy and/or 
class hierarchy re-use) Creation of a server application 
using TIE, perhaps with a previously created client to 
prove that it is only server-side dependant. 
Explain why we want policies and concentrate on just a 
few. (Perhaps LifespanPolicy, ImplicitActivationPolicy, 
IdAssignmentPolicy??) 
Create server using using non-root POA and user defined 
policies. 
6 DII Create DII client for a simple server. Explain the 
different marshalling requirements at client side and why 
this is potentially less efficient then IDL-generated stuff. 
If we have not already done it, we need to introduce type 
ANY as this is required for DII marshalling. 
7 Demo 
Assignment 
1 
Marking assignment 1 
8 DSI Create DSI server to process client requests. Again use of 
type ANY needed, to insert/extract data. 
9 Introduction 
to SOAP 
Setting up the Apache-SOAP (SOAP over HTTP) 
environment. This includes setting up Jakarta-Tomcat as 
application server for rpcrouter and messagerouter to 
serve SOAP client server application. Finally, testing the 
installation. 
10 SOAP 
Message 
Exchange 
Introduction to SOAP and its message exchange 
structure. Develop a simple SOAP server and use telnet 
to access it as a client (i.e. demonstrating how SOAP 
Structure protocol works from the client view). Develop a simple 
SOAP client for it. 
11 RPC vs 
Messaging 
Explain different type of SOAP protocol. Develop a 
SOAP RPC client server. Then, recreate it to use 
Messaging based. 
12 Simple type 
vs Complex 
type 
Explain different type of variable in SOAP. Develop a 
SOAP client server using simple standard type other than 
string. Develop a SOAP client server using custom 
defined type (or object). 
13 SOAP 
WSDL 
Introduction to SOAP Interoperability and WSDL. 
Develop a SOAP client invoking Google.com’s Search 
Engine API (WSDL).