?? index5.jsp
字號(hào):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>BEA WebLogic Server Out-of-the-Box Examples Index Page</TITLE>
<META http-equiv=Content-Type content=text/html;CHARSET=iso-8859-1>
<META content="BEA WebLogic Server" name=description>
<META content="BEA WebLogic Server" name=keywords>
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY vLink=#9999cc aLink=#0000cc link=#3366cc bgColor=#ffffff><!-- CONTENT -->
<%
String url = "http://" + request.getServerName() + ":" + request.getServerPort();
%>
<div align="center">
<table cellpadding=0 cellspacing=0 border=0 width=95%>
<tr>
<td>
<img src="images/header.gif" width="495" height="49" alt="" border="0" vspace=10>
<P>Created by zhanghz.
<P>The following set of examples demonstrates a variety of tasks using
WebLogic Server. They can be run right out-of-the-box.
<BR>
<P> For more examples, see <A
href="file:///D:/J2EE/weblogic700/samples/server/src/examples/overview-summary.html"><B>WebLogic Server Code Examples Index</B></A>.</P>
<P> For details on configuring and running the examples, see <A
href="file:///D:/J2EE/weblogic700/samples/server/src/examples/examples.html"><B>WebLogic Server Examples Guide</B></A>.</P>
<p>To configure the examples server, go to <A href="<%=url%>/console" target=_blank><B>Administration Console</B></A>.</p>
<P>See the <A href="index.jsp#Notes"><b>Notes</b></a> section below to disable this startup page.</P>
<P><B>XML</B>
<BR>These examples illustrate how to generate and
parse XML data using SAX, DOM, and customized parsers.
<P>
<UL>
<LI><A href="<%=url%>/examplesWebApp/OrderParser.jsp?xmlfile=D:/J2EE/weblogic700/samples/server/src/examples/xml/orderParser/order.xml"
target=_blank><B>Order Parser using XMLInputStream API</B></A> <A href="<%=url%>/examplesWebApp/OrderParser.jsp?xmlfile=D:/J2EE/weblogic700/samples/server/src/examples/xml/orderParser/order.xml"
target=_blank><img src="images/launch.gif" width="110" height="20" alt="" border="0" align=top hspace=5></A>
<BR>This example illustrates how to use the WebLogic XML Streaming API
to parse an XML document and bind its elements to Java business objects.
To view the order xml file, go to <A href="file:///D:/J2EE/weblogic700/samples/server/src/examples/xml/orderParser/order.xml"><B>order.xml</B></A>. You may edit this file to change the results of the parser output.
<BR><a href="file:///D:/J2EE/weblogic700/samples/server/src/examples/xml/orderParser/package-summary.html" target=_blank><B>Example instructions</B></a></LI></UL>
<P>
<P>
<B>Web services</B>
<BR>
These examples demonstrate Web service features of WebLogic Server.
<UL>
<LI><A href="<%=url%>/examplesWebApp/WebservicesEJB.jsp"
target=_blank><B>Accessing EJBs through Web services</B></A> <A href="<%=url%>/examplesWebApp/WebservicesEJB.jsp"
target=_blank><img src="images/launch.gif" width="110" height="20" alt="" border="0" align=top hspace=5></A>
<BR>This example shows how to access stateless session ejbs through a Web service. When this EJB is converted into a Web service, the two methods become public operations defined in the WSDL of the Web service.
The client application uses JAX-RPC style client APIs to create SOAP messages that invoke the operations.
<BR><a href="file:///D:/J2EE/weblogic700/samples/server/src/examples/webservices/complex/statelessSession/package-summary.html" target=_blank><b>Example instructions</b></a></LI></UL>
<P>
<B>Enterprise Java Bean</B> <BR>These
WebLogic Enterprise Java Bean (EJB) examples demonstrate both entity and session
EJBeans; using finders and WebLogic extensions; using EJBeans with servlets and jsps; and
accessing integrated WebLogic services such as JNDI Servers.
<P>
<UL>
<LI><A
href="<%=url%>/examplesWebApp/EJBeanManagedClient.jsp"
target=_blank><b>Bean Managed</b></A><A
href="<%=url%>/examplesWebApp/EJBeanManagedClient.jsp"
target=_blank><img src="images/launch.gif" width="110" height="20" alt="" border="0" align=top hspace=5></A><BR>An entity EJB with bean-managed JDBC
persistence. The code in the EJB directly access the data storage. Client
examples include a single client and jsp.
<BR><a href="file:///D:/J2EE/weblogic700/samples/server/src/examples/ejb20/basic/beanManaged/package-summary.html" target=_blank><b>Example instructions</b></a></LI></UL>
<P><B>Java Server Pages</B> <BR>How to embed Java within HTML pages to provide
dynamic web content. Also includes examples on writing custom JSP tag
extensions.
<P>
<UL>
<LI><A href="<%=url%>/examplesWebApp/InteractiveQuery.jsp"
target=_blank><b>InteractiveQuery</b></A> <A href="<%=url%>/examplesWebApp/InteractiveQuery.jsp"
target=_blank><img src="images/launch.gif" width="110" height="20" alt="" border="0" align=top hspace=5></A><BR>Connects to a database, and displays
its contents in a table. You can click on an entry in the table, which makes
another query to this JSP page. The page interprets the request differently
since there are HTTP query parameters present, and displays the name of the
entry you selected.
<BR><a href="file:///D:/J2EE/weblogic700/samples/server/src/examples/jsp/package-summary.html" target=_blank><b>Example instructions</b></a></LI></UL>
<P>
<P><B>Servlets</B> <BR>These examples use adaptations of selected JavaSoft
Servlets to demonstrate how to write servlets.
<UL>
<LI><A href="<%=url%>/examplesWebApp/SessionServlet"
target=_blank><b>SessionServlet</b></A> <A href="<%=url%>/examplesWebApp/SessionServlet"
target=_blank><img src="images/launch.gif" width="110" height="20" alt="" border="0" align=top hspace=5></A><BR>Shows how to store and retrieve user data
in a session. The example allows you to add or delete name/value attributes to
and from an HTTP session, much the same as a shopping cart would work. The
same session containing the user values is retrieved each time the browser
revisits the web page, and is displayed in a list. This is achieved using
session cookies.
<BR><a href="file:///D:/J2EE/weblogic700/samples/server/src/examples/servlets/SessionServlet.html" target=_blank><b>Example instructions</b></a></LI></UL>
<P>
</td></tr>
<tr><td>
<A name="Notes"><B>Notes</B></A>
<UL>
<LI>Please provide feedback on our newsgroup: <A href="http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=xover&group=weblogic.developer.interest.examples" target=_blank><b>weblogic.developer.interest.examples</b></a>.</LI>
<LI>To disable this startup page, go to the "Startup & Shutdown" section in the <A href="<%=url%>/console" target=_blank><b>Admin Console</b></A>.
Select "StartBrowser" and under the "Target" tab deselect "examplesServer" from the "Chosen" box by highlighting it and then clicking the left pointing arrow.
Be sure to "Apply" your changes.</LI>
</UL>
<BR>
</td></tr>
<!-- FOOTER -->
<tr><td bgcolor=#cc0000><img src="images/transparent.gif" width="300" height="1" alt="" border="0"></td></tr>
<tr><td>
<BR>
<BR>
<span class="copyright">?2002, BEA Systems, Inc. All rights reserved. </span>
</td></tr></table></BODY></HTML>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -