Apple Mac OS X Server v10.3 Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Software Apple Mac OS X Server v10.3 herunter. Apple Mac OS X Server v10.3 User Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken

Inhaltsverzeichnis

Seite 1 - Java Application Server Guide

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

Seite 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

Seite 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.

Seite 4 - Glossary 55

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 12

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

Seite 13 - Configuring Your Application

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

Seite 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

Seite 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

Seite 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.

Seite 17

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

Seite 18

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

Seite 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

Seite 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

Seite 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

Seite 22

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

Seite 23 - CHAPTER 3

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

Seite 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/

Seite 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

Seite 26

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

Seite 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

Seite 28

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

Seite 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

Seite 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

Seite 31 - Save the Application

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

Seite 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

Seite 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

Seite 34

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

Seite 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

Seite 36

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

Seite 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

Seite 38

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 43

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 49

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

Seite 50 - CHAPTER 5

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

Seite 51

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

Seite 52 - Test the Configuration

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

Seite 53 - Document Revision History

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

Seite 54

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

Seite 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

Seite 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

Kommentare zu diesen Handbüchern

Keine Kommentare