This book contains information about how to build distributed applications that run on Sybase EAServer.
The EAServer Programmer’s Guide is written for application developers who are familiar with their chosen programming languages, specifically Java, C++, C, or an ActiveX scripting language.
Though you do not need to know all of these languages to create EAServer components or clients, the chapters that pertain to each language assume a basic familiarity with that language.
For an overview of EAServer design concepts, and the application development process, see these chapters:
Chapter 1, “Creating Component-Based Applications” provides a level overview of a typical development process.
Chapter 2, “Understanding Transactions and Component Lifecycles” describes how EAServer manages multi-component transactions and component lifecycles.
For general information on developing components for EAServer, see these chapters:
Chapter 3, “Managing Applications and Packages in EAServer Manager” describes how to create applications and packages in EAServer Manager. These items are required vehicles for component deployment to EAServer.
Chapter 4, “Defining Components” describes how to define packages and components in EAServer Manager and configure component properties.
Chapter 5, “Defining Component Interfaces” describes how to create, view, and edit component interfaces in EAServer Manager.
For information on developing Enterprise Java Beans (EJB) components, see these chapters:
Chapter 6, “Enterprise JavaBeans Overview” introduces the EJB component model.
Chapter 7, “Creating Enterprise JavaBeans Components” describes how to create Enterprise JavaBeans components.
Chapter 8, “Creating Enterprise JavaBeans Clients” describes how to implement a client that uses the EJB client interfaces to call EAServer component methods.
Chapter 9, “EAServer EJB Interoperability” describes how to call non-EJB components from EJB clients or components, and how to call EJB components from non-EJB clients.
Chapter 10, “Creating Application Clients” describes how to create and deploy EJB application clients.
For information on developing components using the Java/CORBA model, see these chapters:
Chapter 11, “Creating CORBA Java Components” contains information about building CORBA-Java components.
Chapter 12, “Creating CORBA Java Clients” describes how to implement a client that uses EAServer’s CORBA-compatible Object Request Broker (ORB) to call EAServer component methods. This chapter is also useful to Java developers that use another vendor’s Java ORB to interact with EAServer components.
For information on developing components using the CORBA/C++ model, see these chapters:
Chapter 13, “CORBA C++ Overview” describes EAServer’s C++ support and explains how EAServer maps CORBA IDL datatypes to C++ datatypes.
Chapter 14, “Creating CORBA C++ Components” contains information about building C++ components.
Chapter 15, “Creating CORBA C++ Clients” describes how to develop C++ clients that connect to EAServer.
For information on developing EAServer components with PowerBuilder®, see these chapters:
Chapter 16, “Creating PowerBuilder Components” contains information about building PowerBuilder components.
Chapter 17, “Creating PowerBuilder Clients” describes how to develop PowerBuilder clients that connect to EAServer.
For information on developing ActiveX components, see these chapters:
Chapter 18, “ActiveX Overview” describes EAServer’s ActiveX support, including how EAServer maps CORBA IDL datatypes to ActiveX datatypes.
Chapter 19, “Creating ActiveX Components” contains information about building ActiveX components.
Chapter 20, “Creating ActiveX Clients” describes how to develop clients that connect to EAServer using the EAServer ActiveX client proxy server.
For information on developing, configuring, and running Web applications, servlets, and Java Server Page, see these chapters:
Chapter 21, “Creating Web Applications” describes how to define and configure Web applications.
Chapter 22, “Creating Java Servlets” describes how to create and run Java servlets in EAServer.
Chapter 23, “Using Filters and Event Listeners” describes how to create and install servlet request and response filters and event listeners for EAServer Web applications.
Chapter 24, “Creating JavaServer Pages” describes how to create and run Java ServerPages in EAServer.
For information on advanced component features, see these chapters:
Chapter 25, “Sending Result Sets” describes how to send result sets from a method coded in C, C++, or Java.
Chapter 26, “Using Connection Management” describes how to access connection caches from a method coded in C, C++, or Java.
Chapter 27, “Creating Entity Components” describes how to create CORBA or EJB components that manage data using the EJB entity bean model.
Chapter 28, “Configuring Persistence for Stateful Session Components” describes how to create stateful components that use a persistence mechanism to support passivation for single-server deployments and load balancing and failover for clustered server deployments.
Chapter 29, “Configuring Persistence Mechanisms” contains reference material that is useful in configuring stateful session components and entity components.
Chapter 30, “Configuring Custom Java Class Lists” describes how to configure custom Java class lists for components, Web applications, packages, J2EE applications, and servers.
Chapter 31, “Using the Message Service” describes how to use EAServer’s asynchronous messaging service to implement event- or message-driven application logic in clients and components.
Chapter 32, “Using the Thread Manager” describes how to create threads to perform asynchronous processing in EAServer components.
Chapter 33, “Creating Service Components” describes how to create components that run as EAServer services.
Chapter 34, “Creating and Using EAServer Pseudocomponents” describes EAServer’s C++ and Java pseudocomponent support.
Chapter 35, “Creating JavaMail” describes how to use the JavaMail API to access an Internet mail server from Java components or servlets.
Chapter 36, “Configuring Java XML Parser Support,” describes how to configure Java components, application clients, and Web applications to use standard APIs to parse XML.
If you have developed applications with Sybase Open Server™ or previous EAServer versions, you may be interested in these features explained in the Appendixes:
Appendix A, “Executing Methods As Stored Procedures” contains reference pages for invoking EAServer methods from any front-end tool that can execute Sybase® stored procedures.
Appendix B, “Migrating Open Server Applications to EAServer” explains how to adapt existing Open Server applications to run in EAServer.
Appendix C, “Creating C Components” contains information about building C components.
Finally, for information on generating stubs and skeletons with the command-line IDL compiler, see Appendix D, “Using the Command Line IDL Compiler”.
The formatting conventions used in this manual are:
Formatting example |
To indicate |
---|---|
commands and methods |
When used in descriptive text, this font indicates keywords such as:
|
variable, package, or component |
Italic font indicates:
|
File | Save |
Menu names and menu items are displayed in plain text. The vertical bar shows you how to navigate menu selections. For example, File | Save indicates “select Save from the File menu.” |
|
Monospace font indicates:
|
EAServer has been tested for compliance with U.S. government Section 508 Accessibility requirements. The online help for this product is also provided in HTML, JavaHelp, and Eclipse help formats, which you can navigate using a screen reader.
EAServer Manager supports working without a mouse. For more information, see “Keyboard navigation” in Chapter 2, “Sybase Central Overview,” in the EAServer System Administration Guide.
The WST plug-in for Eclipse supports accessibility features for those that cannot use a mouse, are visually impaired or have other special needs. For information about these features refer to Eclipse help:
Start Eclipse
Select Help | Help Contents
Enter Accessibility in the Search dialog box
Select Accessible user interfaces or Accessibility features for Eclipse
You might need to configure your accessibility tool for optimal use. Some screen readers pronounce text based on its case; for example, they pronounce ALL UPPERCASE TEXT as initials, and MixedCase Text as words. You might find it helpful to configure your tool to announce syntax conventions. Consult the documentation for your tool.
For additional information about how Sybase supports accessibility, see Sybase Accessibility. The Sybase Accessibility site includes links to information on Section 508 and W3C standards.
Core EAServer documentation The core EAServer documents are available in HTML format in your EAServer software installation, and in PDF and DynaText format on the Technical Library CD.
What’s New in EAServer summarizes new functionality in this version.
The EAServer Cookbook contains tutorials and explains how to use the sample applications included with your EAServer software.
The EAServer Feature Guide explains application server concepts and architecture, such as supported component models, network protocols, server-managed transactions, and Web applications.
The EAServer System Administration Guide explains how to:
Start the preconfigured Jaguar server and manage it with the EAServer Manager plug-in for Sybase Central™
Create, configure, and start new application servers
Define connection caches
Create clusters of application servers to host load-balanced and highly available components and Web applications
Monitor servers and application components
Automate administration and monitoring tasks with jagtool
The EAServer Web Services Toolkit User’s Guide describes Web services support in EAServer, including:
Support for standard Web services protocols such as Simple Object Access Protocol (SOAP), Web Services Description Language (WSDL), and Uniform Description, Discovery, and Integration (UDDI)
Administration tools for deployment and creation of new Web services, WSDL document creation, UDDI registration, and SOAP management
The EAServer Security Administration and Programming Guide explains how to:
Understand the EAServer security architecture
Configure role-based security for components and Web applications
Configure SSL certificate-based security for client connections using the Security Manager plug-in for Sybase Central
Implement custom security services for authentication, authorization, and role membership evaluation
Implement secure HTTP and IIOP client applications
Deploy client applications that connect through Internet proxies and firewalls
The EAServer Performance and Tuning Guide describes how to tune your server and application settings for best performance.
The EAServer API Reference Manual contains reference pages for proprietary EAServer Java classes, ActiveX interfaces, and C routines.
The EAServer Troubleshooting Guide describes procedures for troubleshooting problems that EAServer users may encounter. This document is available only online; see the EAServer Troubleshooting Guide.
Message Bridge for Java™ Message Bridge for Java simplifies the parsing and formatting of structured documents in Java applications. Message Bridge allows you to define structures in XML or other formats, and generates Java classes to parse and build documents and messages that follow the format. The Message Bridge for Java User's Guide describes how to use the Message Bridge tools and runtime APIs. This document is included in PDF and DynaText format on your EAServer Technical Library CD.
Adaptive Server Anywhere documents EAServer includes a limited-license version of Adaptive Server Anywhere for use in running the samples and tutorials included with EAServer. Adaptive Server Anywhere documents are available on the Sybase Web site.
jConnect for JDBC documents EAServer includes the jConnect™ for JDBC™ driver to allow JDBC access to Sybase database servers and gateways. The Programmer’s Reference jConnect for JDBC is available on the Sybase Web site.
Use the Sybase Getting Started CD, the SyBooks CD, and the Sybase Product Manuals Web site to learn more about your product:
The Getting Started CD contains release bulletins and installation guides in PDF format, and may also contain other documents or updated information not included on the SyBooks CD. It is included with your software. To read or print documents on the Getting Started CD, you need Adobe Acrobat Reader, which you can download at no charge from the Adobe Web site using a link provided on the CD.
The SyBooks CD contains product manuals and is included with your software. The Eclipse-based SyBooks browser allows you to access the manuals in an easy-to-use, HTML-based format.
Some documentation may be provided in PDF format, which you can access through the PDF directory on the SyBooks CD. To read or print the PDF files, you need Adobe Acrobat Reader.
Refer to the SyBooks Installation Guide on the Getting Started CD, or the README.txt file on the SyBooks CD for instructions on installing and starting SyBooks.
The Sybase Product Manuals Web site is an online version of the SyBooks CD that you can access using a standard Web browser. In addition to product manuals, you will find links to EBFs/Maintenance, Technical Documents, Case Management, Solved Cases, newsgroups, and the Sybase Developer Network.
To access the Sybase Product Manuals Web site, go to Product Manuals.
Technical documentation at the Sybase Web site is updated frequently.
Finding the latest information on product certifications
Point your Web browser to Technical Documents.
Select Products from the navigation bar on the left.
Select a product name from the product list and click Go.
Select the Certification Report filter, specify a time frame, and click Go.
Click a Certification Report title to display the report.
Creating a personalized view of the Sybase Web site (including support pages)
Set up a MySybase profile. MySybase is a free service that allows you to create a personalized view of Sybase Web pages.
Point your Web browser to Technical Documents.
Click MySybase and create a MySybase profile.
Finding the latest information on EBFs and software maintenance
Point your Web browser to the Sybase Support Page.
Select EBFs/Maintenance. If prompted, enter your MySybase user name and password.
Select a product.
Specify a time frame and click Go. A list of EBF/Maintenance releases is displayed.
Padlock icons indicate that you do not have download authorization for certain EBF/Maintenance releases because you are not registered as a Technical Support Contact. If you have not registered, but have valid information provided by your Sybase representative or through your support contract, click Edit Roles to add the “Technical Support Contact” role to your MySybase profile.
Click the Info icon to display the EBF/Maintenance report, or click the product description to download the software.
Each Sybase installation that has purchased a support contract has one or more designated people who are authorized to contact Sybase Technical Support. If you cannot resolve a problem using the manuals or online help, please have the designated person contact Sybase Technical Support or the Sybase subsidiary in your area.
Copyright © 2005. Sybase Inc. All rights reserved. |