KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > tableappclient > TableAppClient


1 /*
2  * tableAppClient
3  *
4  * Enhydra super-servlet
5  *
6  * Prozone
7  *
8  */

9
10 package tableappclient;
11
12 import com.lutris.appserver.server.*;
13 import com.lutris.appserver.server.httpPresentation.*;
14 import com.lutris.appserver.server.session.*;
15 import com.lutris.util.*;
16
17 /**
18  * The application object.
19  *
20  * Application-wide data would go here.
21  */

22 public class TableAppClient extends StandardApplication {
23
24     /*
25      * A few methods you might want to add to.
26      * See StandardApplication for more details.
27      */

28     public void startup(Config appConfig) throws ApplicationException {
29         super.startup(appConfig);
30         // Here is where you would read application-specific settings from
31
// your config file.
32
}
33     public boolean requestPreprocessor(HttpPresentationComms comms)
34                    throws Exception JavaDoc {
35         return super.requestPreprocessor(comms);
36     }
37
38     /**
39      * This is an optional function, used only by the Multiserver's graphical
40      * administration. This bit of HTML appears in the status page for this
41      * application. You could add extra status info, for example
42      * a list of currently logged in users.
43      *
44      * @return HTML that is displayed in the status page of the Multiserver.
45      */

46     public String JavaDoc toHtml() {
47         return "This is <I>tableAppClient</I>";
48     }
49 }
50
51
Popular Tags