KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > edu > rice > rubbos > servlets > Config


1 /**
2  * RUBBoS: Rice University Bulletin Board System.
3  * Copyright (C) 2001-2004 Rice University and French National Institute For
4  * Research In Computer Science And Control (INRIA).
5  * Contact: jmob@objectweb.org
6  *
7  * This library is free software; you can redistribute it and/or modify it
8  * under the terms of the GNU Lesser General Public License as published by the
9  * Free Software Foundation; either version 2.1 of the License, or any later
10  * version.
11  *
12  * This library is distributed in the hope that it will be useful, but WITHOUT
13  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
15  * for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public License
18  * along with this library; if not, write to the Free Software Foundation,
19  * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
20  *
21  * Initial developer(s): Emmanuel Cecchet.
22  * Contributor(s): ______________________.
23  */

24
25 package edu.rice.rubbos.servlets;
26
27 /**
28  * This class contains the configuration for the servlets like the path of HTML
29  * files, etc ...
30  *
31  * @author <a HREF="mailto:cecchet@rice.edu">Emmanuel Cecchet </a> and <a
32  * HREF="mailto:julie.marguerite@inrialpes.fr">Julie Marguerite </a>
33  * @version 1.0
34  */

35
36 public class Config
37 {
38
39   /**
40    * Creates a new <code>Config</code> instance.
41    */

42   Config()
43   {
44   }
45
46   public static final String JavaDoc HTMLFilesPath = "/home/margueri/RUBBoS/Servlet_HTML";
47   public static final String JavaDoc DatabaseProperties = "/home/margueri/RUBBoS/Servlets/mysql.properties";
48
49   public static final int AboutMePoolSize = 10;
50   public static final int BrowseCategoriesPoolSize = 6;
51   public static final int BrowseRegionsPoolSize = 6;
52   public static final int BuyNowPoolSize = 4;
53   public static final int PutBidPoolSize = 8;
54   public static final int PutCommentPoolSize = 2;
55   public static final int RegisterItemPoolSize = 2;
56   public static final int RegisterUserPoolSize = 2;
57   public static final int SearchItemsByCategoryPoolSize = 15;
58   public static final int SearchItemsByRegionPoolSize = 20;
59   public static final int StoreBidPoolSize = 8;
60   public static final int StoreBuyNowPoolSize = 4;
61   public static final int StoreCommentPoolSize = 2;
62   public static final int ViewBidHistoryPoolSize = 4;
63   public static final int ViewItemPoolSize = 20;
64   public static final int ViewUserInfoPoolSize = 4;
65 }
Popular Tags