Apple Mac OS X Server v10.3 Manual de usuario

Busca en linea o descarga Manual de usuario para Software Apple Mac OS X Server v10.3. Apple Mac OS X Server v10.3 User Manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir

Indice de contenidos

Pagina 1 - Java Application Server Guide

Java Application Server GuideFor Version 10.3 or Later2005-08-11

Pagina 2

In Mac OS X Server, JBoss is configured to use Tomcat (using the AJP connector) as its web serverand servlet container. In addition, HTTP and HTTPS (t

Pagina 3 - Contents

Before you can deploy an application on an application server, you have to start the application serverand then configure or assemble the application.

Pagina 4 - Glossary 55

2. In the Computers & Services list, select Application Server.12Starting the Application Server2005-08-11 | © 2003, 2005 Apple Computer, Inc.

Pagina 5 - Figures and Tables

3. In the configuration pane, click Settings. From Configuration Name pop-up menu, choose theappropriate configuration.4. Click the Start Service tool

Pagina 6 - FIGURES AND TABLES

Starting the JBoss Deployment ToolTo start the deployment tool, double-click DeploymentTool.woa in /Library/JBoss/Applicationsor enter the following c

Pagina 7 - Organization of This Document

After the deployment tool loads the application, it displays the Loaded Application window,shown in “Figure 3-2”.Figure 2-2 The Loaded Application win

Pagina 8 - See Also

Figure 2-3 The deployment-tool main window“Figure 3-3” shows the components of the petstore.ear archive. The following list describes someof the items

Pagina 9 - Application Server Overview

Configuring Your Application’s ComponentsTo configure a component, you choose it from the main window by clicking the appropriate link.This causes the

Pagina 10 - CHAPTER 1

Figure 2-5 A module-settings windowAfter configuring the elements in a pane, you click Update to confirm the changes. Keep in mind thatthe changes are

Pagina 11 - Configuring Applications

Enter the destination of the configured application in the text field of the Save Application window,and click Save Application.Deploying Your Applica

Pagina 12

Apple Inc.© 2003, 2005 Apple Computer, Inc.All rights reserved.No part of this publication may bereproduced, stored in a retrieval system, ortransmitt

Pagina 13 - Configuring Your Application

20Deploying Your Application2005-08-11 | © 2003, 2005 Apple Computer, Inc. All Rights Reserved.CHAPTER 2Configuring Applications

Pagina 14 - Loading Your Application

Pet Store is a sample J2EE application from Sun Microsystems. Pet Store showcases the power andflexibility of the J2EE platform. This chapter provides

Pagina 15 - CHAPTER 2

c. Click Install and then click Start.d. Quit MySQL Manager.3. Create the Pet Store Tables:a.In Terminal, run the mysql command-line tool.b.Enter use

Pagina 16

5. In the Connect to Server window, enter the host name and the port of the application server. (Bydefault the host is localhost and the port is 1099.

Pagina 17

4. Close the window.Configure the AsyncSender Enterprise Bean1. Under AsyncSenderEJB (EJB), click Enterprise Beans. Then click AsyncSenderEJB.2.In the

Pagina 18

6. Click Update to finish configuring the Catalog enterprise bean, and close the window.Configure the Customer ModuleThe following sections guide you

Pagina 19 - Deploying Your Application

5.From the Entity Command Name pop-up menu, choose no-select-before-insert.The advantage of configuring the database and the data-source mapping at th

Pagina 20

10. Set Auto Increment to yes.11. Click the CMP - Relationships tab.12. Configure the relationships.“Table 4-1” lists the relationship information for

Pagina 21 - Set Up the Environment

f. Click Update to finish configuring the relationship role.g. Click Update to finish configuring the relationship.13. Click Update to finish configur

Pagina 22

Configure the CreditCard Enterprise Bean1. Under Enterprise Beans under CustomerJAR (EJB), click CreditCardEJB.2.From the Table Name pop-up menu in th

Pagina 23 - CHAPTER 3

ContentsIntroductionIntroduction to Java Application Server Guide 7Organization of This Document 7See Also 8Chapter 1Application Server Overview 9JBos

Pagina 24

4.In the JBoss Resource Refs list, select url/CatalogDAOSQLURL, and click Edit.5.In the Resource URL text field, enter http://localhost:8080/petstore/

Pagina 25 - Configure the Customer Module

6. Click Update to finish configuring the Counter enterprise bean, and close the window.Save the ApplicationTo save the configured PetStore applicatio

Pagina 26

Configure the Supplier ModuleThe following sections explain how to configure the SupplierJAR module.Configure the Module Settings1. Under SupplierJAR

Pagina 27

4.In the JBoss Resource Refs list, select jms/TopicConnectionFactory, and click Edit.5.From the Jndi Name pop-up menu, choose /ConnectionFactory, and

Pagina 28

Configure the ContactInfo Enterprise Bean1. Under Enterprise Beans under SupplierPurchaseOrderJAR (EJB), click ContactInfoEJB.2.From the Table Name po

Pagina 29

2.In the JBoss Resource Env Refs list, select jms/opc/InvoiceTopic, and click Edit.3.From the Jndi Name pop-up menu, choose /topic/opc/InvoiceTopic, a

Pagina 30 - Configure the SignOn Module

36Deploy and Test the Application2005-08-11 | © 2003, 2005 Apple Computer, Inc. All Rights Reserved.CHAPTER 3Configuring and Deploying Sun’s Pet S

Pagina 31 - Save the Application

Application-server management involves configuring the services available in an application server,turning services on and off, deploying applications

Pagina 32 - Configure the Supplier Module

There are two types of users with the authority to use the management tool: administrator users(which are members of the appserveradm group) and monit

Pagina 33 - Configure the Module Settings

5.Replace new_value with the appropriate user name.6. Save the changes and restart your computer.Choosing a TaskAfter logging in to the management too

Pagina 34

Configure the SupplierPurchaseOrder Module 33Configure the Supplier Web Application Module 34Save the Application 35Deploy and Test the Application 35

Pagina 35

Managing Application ServersTo manage an application server, enter the JNDI port of the application server you want to manage(by default, 1099) in the

Pagina 36

Figure 4-3 The JBoss Management Console window showing the Security Configuration pane of the log-inconfiguration serviceWhen you’re managing the serv

Pagina 37 - CHAPTER 4

Figure 4-4 The JBoss Management Console window showing the Statistics pane of the Pet StoreShoppingCart enterprise beanWhen you’ re done managing, cli

Pagina 38

Configuring Application ServersTo configure local application servers, choose the configuration you want to modify from the “Modifyconfiguration” pop-

Pagina 39 - Choosing a Task

Figure 4-6 The JBoss Management Console window showing the statistics of the Deploy ServiceStarting and Stopping ServicesYou can start and stop servic

Pagina 40 - Managing Application Servers

Figure 4-7 The JBoss Management Console window showing the Start or Stop Services paneCreating a Data SourceYou can create a data source while managin

Pagina 41

3. In the Topic or Queue Name text field, enter the name of the topic or queue.4. Enter the name of the file in which the topic or queue configuration

Pagina 42

HTTP load balancing provides a way to distribute user load among a group of application servers.The application servers can be standalone or configure

Pagina 43

Figure 5-1The WebApp window of the petstore.ear archiveLoad Balancing and ClusteringLoad balancing provides a way to distribute user load among applic

Pagina 44

5. Double-click the appropriate site in the list (by default there’ s only one), which should be enabled.6. Click the Options tab, and deselect Perfor

Pagina 45 - Creating a Topic or a Queue

Figures and TablesChapter 2Configuring Applications 11Figure 2-1 The Load Application window of the deployment tool 14Figure 2-2 The Loaded Applicatio

Pagina 46 - Deploying Applications

The file as configured in Mac OS X Server is shown in “Figure 6-2”.Figure 5-2The workers.properties file in /etc/httpd13. Change line 2 to:worker.list

Pagina 47 - Sessions

worker.JBoss2.port=900718. Change line 27 so that it references the second node. It should look similar to this:worker.JBoss2.host=node2.mydomain.com1

Pagina 48 - Load Balancing and Clustering

Test the ConfigurationFollow these steps to make sure that client requests are balanced among the application servers:1. Start the Web service in the

Pagina 49

This table describes the changes to Java Application Server Guide.NotesDateChanged the title from "Mac OS X Server Java Application ServerAdminis

Pagina 50 - CHAPTER 5

542005-08-11 | © 2003, 2005 Apple Computer, Inc. All Rights Reserved.REVISION HISTORYDocument Revision History

Pagina 51

application server JBoss instance, which is startedthrough Server Admin.CMP (container-managed persistence) Enterprisebean persistence model in whic

Pagina 52 - Test the Configuration

562005-08-11 | © 2003, 2005 Apple Computer, Inc. All Rights Reserved.GLOSSARY

Pagina 53 - Document Revision History

62005-08-11 | © 2003, 2005 Apple Computer, Inc. All Rights Reserved.FIGURES AND TABLES

Pagina 54

Note: This document was previously titled Mac OS X Server Java Application Server Administration.JBoss is a powerful Java-based open-source applicatio

Pagina 55 - Glossary

See AlsoTo use this document to its fullest, you should download its companion files, which are packaged inApplication_Server_companion.zip, located i

Pagina 56 - GLOSSARY

JBoss is an open-source highly popular Java-based application server. Based on the Java 2, EnterpriseEdition (J2EE) platform, JBoss provides an afford

Comentarios a estos manuales

Sin comentarios