<% /*
   * dbXML Core - Example Code
   *
   * Copyright (c) 1999-2001 The dbXML Group
   *
   * Permission is hereby granted, free of charge, to any person obtaining a copy
   * of this software and associated documentation files (the "Software"), to
   * deal in the Software without restriction, including without limitation the
   * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
   * sell copies of the Software, and to permit persons to whom the Software is
   * furnished to do so, subject to the following conditions:
   *
   *    The above copyright notice and this permission notice shall be included
   *       in all copies of substantial portions of the Software.
   *
   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
   * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
   * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
   * IN THE SOFTWARE.
   *
   * $Id: index.jsp,v 1.1 2001/08/08 04:56:22 kstaken Exp $
   */
%>

<%@ page import="javax.servlet.*, javax.servlet.http.*" %>


<%@ include file="header.jsp" %>

<B>
   <FONT SIZE="+2">
      <CENTER>dbXML Sample Address Book Application</CENTER>
   </FONT>
   <BR />
   
   <blockquote>
   <p>   
      The Address Book sample application serves as a very simple example of         
      the applications that can be constructed using dbXML. All data in the         
      application is stored as XML and the database is queried using XPath.
   </p>
   
   <p>
      This application isn't intended to show what is unique about an XML   
      database, rather it is intended to be familiar and accessible to
      developers who are used to working with other data storage technologies.
      You can view the source code for this application as part of the dbXML
      distribution and it should give you a basic idea of what XML database      
      applications look like.
   </p>

   <p>
      The address book data entries look something like the following.
   </p>
   </blockquote>
   <CENTER>
   
   <%
   // Setup person bean to show example xml record
   person.setFname("Homer");
   person.setLname("Simpson");
   person.setWorkPhone("123-456-7890");
   person.setHomePhone("234-567-8901");
   person.setCellPhone("456-789-0123");
   person.setHomeEmail("Homer@home.com");
   person.setWorkEmail("Homer@work.org");
   person.setHomeAddress("1234 W. Springfield");
   person.setWorkAddress("34 N. Atom Way");
   %>
      
   <%@ include file="showXMLInfo.jsp" %>
   
   <BR />
   <BR />
   
   Questions or Comments?  Email us at <A HREF="mailto:info@dbxmlgroup.com">Info@dbXML.com</A>
   
</B>

<%@ include file="footer.jsp" %>


