Ajuda applet

Eu tenho um servidor na empresa q roda java mas para que funcione teria q ser applet.
eu tenho uma classe normal q utiliza nossa biblioteca e eu keria saber como fazer uma interface applet q chama a funcao dessa classe

segue abaixo a classe


import OAJUtil.*;
import java.applet.*;
import java.io.*;
import java.net.*;
import java.awt.*;
import java.awt.Graphics; 
import javax.swing.JApplet;

public class Client implements JatConstants 
{
	static ServerSocket serverSocket = null;
	   static Socket clientSocket = null;
	   public static PrintWriter out = null;
	   
	public static void main( String args[] )
	{
		
		try
		{
			JatSystem EttOAJSystem = JatSystem.createJatSystem("3.00");
			MinJatMsgHandler firstMsgHandler = new MinJatMsgHandler();
			
			MinJatMsgConfHandler firstMsgConfHandler = new MinJatMsgConfHandler();
			MinJatMsgConfRespHandler firstMsgConfRespHandler = new MinJatMsgConfRespHandler();
			//MinJatAlarmHandler firstAlarmHandler = new MinJatAlarmHandler();
			EttOAJSystem.addService( firstMsgConfHandler);
			EttOAJSystem.addService( firstMsgConfRespHandler);
			EttOAJSystem.addService( firstMsgHandler);
			
			//EttOAJSystem.addService( firstAlarmHandler);
			EttOAJSystem.execute();
				JatMessage pageobj = new JatMessage(USER_RESPONSE_ACCEPT_REJECT);
				pageobj.setCallNumber("4407");
				pageobj.setBody( "Adriel e o cara!!!" );
				pageobj.send();
				
				
		}
		
		
		
		catch( Exception e)
		{
			
		}
		
	}
		
}

Olá adrieldri, sem querer ser chato mas vc pode colocar seu código entre as tags [ code ] … [ /code ] mostrada acima. Fica mais fácil pra quem vai ler seu post.

Grato!

Ah entao oq eu preciso seria esse codigo rodando na web como faço?