Java Applet Architecture

The discussion that follows is general with respect to Applets that communicate through sockets with remote servers.  It is oriented, however, toward the Comp 118 Assignment 1.


Basic WWW/Applet Architecture

 

HTML Required to Load Applet

<html>

<head>
<title>jbsServerThreaded</title>
</head>

<body>
<center>
<font color=AA0000>
<h3>jbsServerThreaded Running on Tomcat,  Host 152.2.128.10, port 8902</h3>
<h3>Applet Tag for jbsClientApplet Returned</h3>
</font>
</center>

<applet code=jbsClientApplet.class codebase=http://152.2.128.10:8888/Courses/comp118/applets/jbsClientApplet width=50 height=50>
<param name=host value=152.2.128.10>
<param name=port value=8902>
</applet>

</body>

</html>
    

 

 

 

 


WWW/Applet/Servlet Architecture

 

Example

 

 

 

 

 


Layered Architecture

 

Issues

 

 

 

 

 


Layered Applet

as might be applied to WWW/Applet/Servlet Architecture

 

 

 

 

 


Layered Applet

additional details

 

 

 

 

 


User Interface Layer

Major Function

Issues

 

 

 


Facade Layer

Major Function

Issues

 

 

 


Communication Layer

Major Function

Issues