1 45 package org.openejb.webadmin.main; 46 47 import java.io.IOException ; 48 import java.io.PrintWriter ; 49 50 import org.openejb.webadmin.HttpRequest; 51 import org.openejb.webadmin.HttpResponse; 52 import org.openejb.webadmin.WebAdminBean; 53 54 58 public class HomeBean extends WebAdminBean { 59 60 61 public void ejbCreate() { 62 this.section = "Home"; 63 } 64 65 71 public void postProcess(HttpRequest request, HttpResponse response) throws IOException {} 72 73 79 public void preProcess(HttpRequest request, HttpResponse response) throws IOException {} 80 81 87 public void writeBody(PrintWriter body) throws IOException { 88 body.println( 89 "Welcome to the OpenEJB Web Administration website. This website is designed to help automate"); 90 body.println( 91 "many of the command line processes in OpenEJB. Please begin by selecting from one of the menu"); 92 body.println("options.<br><br>"); 93 body.println( 94 "We encourage our users to participate in giving suggestions and submitting code and documentation"); 95 body.println( 96 "for the improvement of OpenEJB. Because it's open source, it's not just our project, it's everyone's"); 97 body.println( 98 "project! <b>Your feedback and contributions make OpenEJB a better project for everyone!</b> "); 99 body.println("Future revisions of the OpenEJB Web Administration will contain:"); 100 body.println("<ul type=\"disc\">"); 101 body.println("<li>Better bean deployment</li>"); 102 body.println("<li>Container Managed Persistance Mapping</li>"); 103 body.println("<li>EJB Jar Validator</li>"); 104 body.println("<li>More system information</li>"); 105 body.println("<li>Better menu orginization</li>"); 106 body.println("<li>Addition of an extensive help section and documentation</li>"); 107 body.println("<li>Your suggestions!!</li>"); 108 body.println("</ul>"); 109 body.println("<br>"); 110 body.println( 111 "If you have any problems with this website, please don’t hesitate to email the OpenEJB users list: "); 112 body.println( 113 "<a HREF=\"mailto:user@openejb.org\">user@openejb.org</a> and we’ll"); 114 body.println("respond to you as soon as possible."); 115 } 116 117 125 public void writeHtmlTitle(PrintWriter body) throws IOException { 126 body.println(HTML_TITLE); 127 } 128 129 136 public void writePageTitle(PrintWriter body) throws IOException { 137 body.println("Web Administration Home"); 138 } 139 140 160 public void writeSubMenuItems(PrintWriter body) throws IOException {} 161 162 } 163 | Popular Tags |