bea.com | products | dev2dev | support | askBEA

Download Docs | Site Map | Glossary
Search

Release Notes
Upgrading
Samples and Tutorials
System Administration
Administration Console Online Help
Security
Programming
Deployment
Developer Tools
Reference
Web Services
What's New in the Next Service Pack?
Platform Contents WebLogic Server WebLogic Workshop WebLogic Integration WebLogic Portal
Samples and Tutorials
These samples and tutorials offer several approaches to learning about and working with WebLogic Server. Pet Store Java™ Pet Store 1.3 is a sample Java Platform, Enterprise Edition (J2EE™) reference application that showcases the main features of the J2EE™ platform. If installed, Pet Store is located in `WL_HOME\samples\server\src\petstore`, where WL_HOME is the top-level directory of your WebLogic Platform installation. Smart Ticket The Smart Ticket sample is a Java 2 Platform, Enterprise Edition Blueprints Application for wireless. It illustrates how the Java 2 Platform, Enterprise Edition interoperates with the Java 2 Platform, Micro Edition to create enterprise applications that serve mobile client devices, such as cell phones, two-way pagers, and palmtops. Click here to see how to deploy Smart Ticket on WebLogic! Examples Most code examples, if installed, are located in `WL_HOME\samples\server\src\examples`, where WL_HOME is the top-level directory of your WebLogic Platform installation. These examples are also available from the Start menu. The examples are grouped in the following categories: cgi: Set up a cgi servlet mapping for including CGI scripts to your Web application. cluster: Write applications for WebLogic Server clusters, including using load balancing and failover. dbKona: Query a database using the WebLogic Server dbKona API. ejb11: Use EJB 1.1 features such as stateless and stateful session beans, entity beans with container-managed persistence, entity beans with bean-managed persistence, read-only and read-write enterprise beans, and subclassing enterprise beans. ejb20: Use EJB 2.0 features such as local interfaces, the EJB 2.0 container-managed persistence model, home methods, and message-driven beans. i18n: Internationalize an application using simple XML message catalogs and write localized messages to a log. iiop: Connect between WebLogic Server and C++, Tuxedo, and RMI clients. io: Use the `weblogic.io.common` package to write to and browse files on the server. javamail: Call the JavaMail API from a servlet to create a mail session. jcom: Use WebLogic jCOM to access an EJB deployed on WebLogic Server from an Excel VBA client. jconnector: Use the J2EE Connector Architecture to create an interface to an Enterprise Information System (EIS). jdbc: Connect to various relational database systems using JDBC and setting up a server-side connection pool. jms: Use the Java Message Service, including sending and receiving messages, using the publish/subscribe model, and more. jndi: Obtain a WebLogic JNDI naming context from either the client or the server. jsp: Call an EJB and access a database from a JSP page, how to use a JSP tag library, and more. jta: Use the Java Transaction API (JTA) to handle distributed transactions with two resources or two database instances. rmi: Access a simple RMI client and use multiple RMI objects. security: Demonstrates authentication of clients, the Java Authentication and Authorization Service (JAAS) API, the Secure Sockets Layer (SSL) protocol, auditing of events and filtering of client connections. servlets: Adapt selected servlet examples provided with the Java Servlet API reference implementation for use with WebLogic Server. webapp: Write a Web application that uses cookies and another that uses authentication to restrict access to a specific directory. webservices: Create a WebLogic Web service based on a stateless session EJB. wtc: Use the WebLogic Tuxedo Connector so that WebLogic Server applications and Tuxedo services interoperate bidirectionally. xml: Parse XML documents using JAXP in SAX and DOM mode, and more.