Borland Software JBUILDER 2005 Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Softwarové příručky Borland Software JBUILDER 2005. Borland Software JBUILDER 2005 User's Manual [en] [es] Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 132
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků

Shrnutí obsahu

Strany 1 - JBuilder

JBuilder® 2005Developing Applications for J2EE™ Servers

Strany 2

4 Developing Applications for J2EE ServersDeveloper support and resourcesUsenet newsgroupsThe following Usenet groups are devoted to Java and related

Strany 3 - Contents

94 Developing Applications for J2EE ServersUsing JBuilder with TomcatTo view Tomcat configurations,1 Choose Enterprise|Configure Servers. The Configur

Strany 4

Chapter 10: Using JBuilder with Tomcat 95Selecting Tomcat as your project’s web serverIf you’d like more information about Tomcat or would like to run

Strany 5 - Building J2EE modules 115

96 Developing Applications for J2EE ServersRunning your servlet or JSP with TomcatRunning your servlet or JSP with TomcatBefore you run your web appli

Strany 6

Chapter 10: Using JBuilder with Tomcat 97Running your servlet or JSP with TomcatChanging Tomcat’s port numberOccasionally, you may run into a problem

Strany 7 - Introduction

98 Developing Applications for J2EE ServersRunning your servlet or JSP with TomcatDebugging JSPs with Tomcat 4.1Tomcat 4.1 does not support JSP debugg

Strany 8

Chapter 11: Editing J2EE deployment descriptors 99Chapter11Chapter11Editing J2EE deploymentdescriptorsJBuilder has a Deployment Descriptor Editor, als

Strany 9 - Borland newsgroups

100 Developing Applications for J2EE ServersDisplaying the DD Editormodules and editing the deployment descriptors, see Chapter 12, “Integrating with

Strany 10 - Reporting bugs

Chapter 11: Editing J2EE deployment descriptors 101Standard and server-specific pagesexpandable. When this node is expanded, you can see the entity be

Strany 11 - Enterprise Edition

102 Developing Applications for J2EE ServersAdding to and deleting from a deployment descriptorClick any server-specific tabs and fill in each of thes

Strany 12

Chapter 11: Editing J2EE deployment descriptors 103Validating a deployment descriptor entryA new page appears in the content pane that corresponds to

Strany 13

Chapter 2: Programming for the Java 2 Platform, Enterprise Edition 5Chapter2Chapter 2Programming for the Java 2 Platform,Enterprise EditionThe Java™ 2

Strany 14

104 Developing Applications for J2EE ServersValidating a deployment descriptor entryIf errors or warnings exist, they will appear on a Validation page

Strany 15 - How JBuilder can help

Chapter 12: Integrating with Enterprise Information Systems 105Chapter12Chapter 12Integrating with EnterpriseInformation SystemsThe J2EE Connector arc

Strany 16 - Other J2EE technologies

106 Developing Applications for J2EE ServersCreating a connector module node in the project paneTo begin creating a connector module node that contain

Strany 17 - Learning about J2EE

Chapter 12: Integrating with Enterprise Information Systems 107Creating a connector module node in the project pane3 Specify a name to identify the ne

Strany 18

108 Developing Applications for J2EE ServersCreating a connector module node in the project pane7 Select which Connector specification you are using f

Strany 19

Chapter 12: Integrating with Enterprise Information Systems 109Creating a connector module node in the project pane4 Specify a name to identify the ne

Strany 20 - Client-server applications

110 Developing Applications for J2EE ServersViewing the connector module deployment descriptors3 Click Next to go to the next page:4 Specify the name

Strany 21 - Stand-alone clients

Chapter 12: Integrating with Enterprise Information Systems 111Editing the resource adapter descriptors Resource Adapter Version: Specify the version

Strany 22 - Java client calling EJBs

112 Developing Applications for J2EE ServersEditing the resource adapter descriptorsFor more information about resource adapters and the J2EE Connecto

Strany 23 - Business to business

Chapter 12: Integrating with Enterprise Information Systems 113Editing the resource adapter descriptorsConfiguration Property pageConnector modules ha

Strany 24

6 Developing Applications for J2EE ServersWhy are J2EE applications desirable?was “served up” by a server. This approach initially promised improved s

Strany 25 - Configuring the target server

114 Developing Applications for J2EE ServersServer-specific pagesServer-specific pagesAs you work with pages in the Connector Module DD Editor, you ma

Strany 26 - JBuilder Developer

Chapter 13: Building J2EE modules 115Chapter13Chapter 13Building J2EE modulesThis chapter presents specific information about packaging J2EE modules i

Strany 27

116 Developing Applications for J2EE ServersSetting module build propertiesConnector Module wizard. Compiling a connector module creates a RAR (Resour

Strany 28 - Adding a service pack

Chapter 13: Building J2EE modules 117Adding custom file types A connector module RAR by default contains only descriptors. Classes in the project’s ou

Strany 29 - The created libraries

118 Developing Applications for J2EE ServersSample build scenariosTo select file types to be copied over to the project’s output path and the module d

Strany 30 - Selecting a server

Chapter 13: Building J2EE modules 119Sample build scenariosEJB JAR without EJB designer XML descriptorsFollow these steps:1 Right-click the EJB module

Strany 31

120 Developing Applications for J2EE ServersSample build scenariosEAR with custom filesThis sample adds .dat files along with the archives and descrip

Strany 32 - Setting up JDBC drivers

Chapter 13: Building J2EE modules 121Improving module build performanceImproving module build performanceTo improve module build performance, try thes

Strany 33 - /lib/ext directory

122 Developing Applications for J2EE Servers

Strany 34

Index 123Aapplication client modules 99Application Module wizard 11application modules 11, 99application servers 19Borland target 19configuring target

Strany 35

Chapter 2: Programming for the Java 2 Platform, Enterprise Edition 7Why are J2EE applications desirable?This expanded diagram shows you the various co

Strany 36

124 Developing Applications for J2EE ServersDeveloper Support 3disabled EJB wizards 24distributed applicationsCORBA 45VisiBroker ORB 45wizards 57docum

Strany 37

Index 125Nnewsgroups 3Borland and JBuilder 3public 4Usenet 4OORB (Object Request Broker) 45default 47, 51properties 47, 50setting up 47, 51OrbixWeb OR

Strany 38

126 Developing Applications for J2EE Serversweb serversconfiguring 19Tomcat 93WebLogic 66DD Editor 67setting EJBC options 67target application server

Strany 39

8 Developing Applications for J2EE ServersWhy are J2EE applications desirable?Benefits of the multi-tier modelThe multi-tier approach adopted by the J

Strany 40

Chapter 2: Programming for the Java 2 Platform, Enterprise Edition 9How JBuilder can helpHow JBuilder can helpJBuilder Enterprise Edition has many fea

Strany 41

10 Developing Applications for J2EE ServersHow JBuilder can helpmanipulate data from a database so you can build data-aware servlets and JSPs. For inf

Strany 42

Chapter 2: Programming for the Java 2 Platform, Enterprise Edition 11Learning about J2EE Extensible Markup Language (XML)Although not really a J2EE te

Strany 43 - Changing the management port

12 Developing Applications for J2EE Servers

Strany 44

Chapter 3: Creating applications with J2EE technologies 13Chapter3Chapter 3Creating applications with J2EEtechnologiesThe Developing Web Applications,

Strany 45

Borland Software Corporation100 Enterprise WayScotts Valley, California 95066-3249www.borland.comRefer to the file deploy.html located in the redist d

Strany 46 - Remote deploying

14 Developing Applications for J2EE ServersClient-server applicationsHere’s the diagram from the previous chapter showing the multiple tiers used in m

Strany 47 - Remote debugging

Chapter 3: Creating applications with J2EE technologies 15Multi-tier applicationshandle business logic, all on the client tier. You would use JDBC or

Strany 48 - Edition 5.2.1 is running

16 Developing Applications for J2EE ServersStand-alone clientsConsumers of dynamic web contentOne type of stand-alone client is a Java application or

Strany 49 - Web module workarounds

Chapter 3: Creating applications with J2EE technologies 17Web-centric applicationsWeb-centric applicationsThere are times when your application just d

Strany 50 - International issues

18 Developing Applications for J2EE Servers

Strany 51 - Using JBuilder’s CORBA tools

Chapter 4: Configuring the target server settings 19Chapter4Chapter 4Configuring the target serversettingsBefore you begin creating enterprise applica

Strany 52

20 Developing Applications for J2EE ServersSetting up servers within JBuilderSetting up servers within JBuilderThis is a feature ofJBuilder Developera

Strany 53 - -Dvbroker.agent.port=14000

Chapter 4: Configuring the target server settings 21Setting up servers within JBuilderdialog box when not all required values are set or selecting ano

Strany 54

22 Developing Applications for J2EE ServersAdding a service packCreating a duplicate configuration to editOnce you’ve created a server configuration,

Strany 55

Chapter 4: Configuring the target server settings 23The created librariesThe created librariesWhen you configure the server settings, one or more libr

Strany 56 - Configuring the OrbixWeb ORB

iContentsChapter 1Introduction 1Documentation conventions . . . . . . . . . . . . . 1Developer support and resources. . . . . .

Strany 57 - Adding a new configuration

24 Developing Applications for J2EE ServersSelecting a serverJBoss 3.x+ JBoss 3.x+ Client: JARs needed to run a client. JBoss 3.x+ Servlet: Used for w

Strany 58

Chapter 4: Configuring the target server settings 25Selecting a server To use different servers for different services,1 Select the Modular Services P

Strany 59

26 Developing Applications for J2EE ServersSetting up JDBC driversData Source information is persisted in config.xml. DataSource entries are removed w

Strany 60

Chapter 4: Configuring the target server settings 27Updating projects with the latest server settings5 Click OK to close the file browser. This displa

Strany 61 - _tie classes will be

28 Developing Applications for J2EE ServersUpdating from an earlier version of JBuilderUpdating from an earlier version of JBuilderPrevious versions o

Strany 62

Chapter 5: Using JBuilder with Borland servers 29Chapter5Chapter 5Using JBuilder with Borland serversThis chapter explains how to set up and use Borla

Strany 63 - Using the CORBA wizards

30 Developing Applications for J2EE ServersConfiguring Borland servers in JBuilder Home Directory: The directory where Borland Enterprise Server AppSe

Strany 64 - HTML CORBA Client wizard

Chapter 5: Using JBuilder with Borland servers 31Configuring Borland servers in JBuilder User Name: The name you use to identify yourself to the serve

Strany 65 - Use CORBA Interface wizard

32 Developing Applications for J2EE ServersConfiguring Borland servers in JBuilder3 Select the Enable Server option at the top of the dialog box.Check

Strany 66

Chapter 5: Using JBuilder with Borland servers 33Configuring Borland servers in JBuilder Partition Name: The name of the partition in which the server

Strany 67 - Service packs

iiSetting and viewing IDL build properties . . . . . . . 55Using the CORBA wizards . . . . . . . . . . . . . . 57Sample IDL wizard

Strany 68

34 Developing Applications for J2EE ServersMaking the ORB available to JBuilderMaking the ORB available to JBuilderYou use the CORBA node of the Enter

Strany 69

Chapter 5: Using JBuilder with Borland servers 35Configurations, partitions, partition services, and J2EE APIsBorland Enterprise Server AppServer Edit

Strany 70

36 Developing Applications for J2EE ServersConfigurations, partitions, partition services, and J2EE APIs4 For Borland Enterprise Server 6.0, change th

Strany 71

Chapter 5: Using JBuilder with Borland servers 37Configurations, partitions, partition services, and J2EE APIsrun configuration for the partition (Edi

Strany 72 - Working in JBuilder

38 Developing Applications for J2EE ServersStarting the configuration or serverStarting the configuration or serverBefore any server related actions (

Strany 73 - Starting the server

Chapter 5: Using JBuilder with Borland servers 39Starting the configuration or serverThe libraries to be copied can be set with the Libraries To Deplo

Strany 74

40 Developing Applications for J2EE ServersRemote deployingNote By default, all services associated with a partition are started. This could cause the

Strany 75 - NAME>:<port number>

Chapter 5: Using JBuilder with Borland servers 41Remote debuggingRemote debuggingBefore you can debug your application remotely, you need to configure

Strany 76

42 Developing Applications for J2EE ServersRemote debugging3 Look for the JPDA element and edit attribute values as follows:enable-jpda-debug="tr

Strany 77

Chapter 5: Using JBuilder with Borland servers 43Web module workaroundsRemote debugging in JBuilderOnce either edition of the Borland Enterprise Serve

Strany 78

iiiChapter 13Building J2EE modules 115J2EE modules . . . . . . . . . . . . . . . . . . . 115Setting module build properties . .

Strany 79

44 Developing Applications for J2EE ServersDisplaying the Borland Management Console in JBuilderIf you are working on a named context but have the roo

Strany 80

Chapter 6: Using JBuilder’s CORBA tools 45Chapter6Chapter 6Using JBuilder’s CORBA toolsThis chapter explains the CORBA (Common Object Request Broker A

Strany 81

46 Developing Applications for J2EE ServersHow JBuilder and the VisiBroker ORB work togetherthe Internet or through local intranets. The VisiBroker OR

Strany 82

Chapter 6: Using JBuilder’s CORBA tools 47Setting up JBuilder for CORBA applicationsSetting up JBuilder for CORBA applicationsThis section explains ho

Strany 83 - Deploying

48 Developing Applications for J2EE ServersSetting up JBuilder for CORBA applicationsConfiguring VisiBroker stand-aloneFollow the steps in this sectio

Strany 84 - WebSphere Server 4.0

Chapter 6: Using JBuilder’s CORBA tools 49Setting up JBuilder for CORBA applications5 The Library For Projects field defines the library location of t

Strany 85 - Enabling remote debugging

50 Developing Applications for J2EE ServersSetting up JBuilder for CORBA applications2 Make sure VisiBroker is selected as your IDL compiler.3 Enter t

Strany 86 - WebSphere Single Server 4.0

Chapter 6: Using JBuilder’s CORBA tools 51Setting up JBuilder for CORBA applications4 The Path For ORB Tools field allows JBuilder to access ORB tools

Strany 87 - -Djava.compiler=NONE

52 Developing Applications for J2EE ServersSetting and viewing ORB build propertieslocation of the ORB tools. The library is necessary for compiling t

Strany 88

Chapter 6: Using JBuilder’s CORBA tools 53Setting and viewing ORB build propertiesMake sure the IDL Compiler field is set to VisiBroker or VisiBroker

Strany 90

54 Developing Applications for J2EE ServersSetting and viewing ORB build properties Set the Java2IIOP Strict Portable Code Generation (Java2IIOP) opti

Strany 91

Chapter 6: Using JBuilder’s CORBA tools 55Setting and viewing IDL build properties3 Choose the Paths node in the Project Properties dialog box. Make s

Strany 92

56 Developing Applications for J2EE ServersSetting and viewing IDL build propertiesThe tie mechanism offers an alternative when it is not convenient o

Strany 93

Chapter 6: Using JBuilder’s CORBA tools 57Using the CORBA wizards3 Click the OK button to set the options to be used by the VisiBroker idl2java compil

Strany 94

58 Developing Applications for J2EE ServersUsing the CORBA wizardsThe CORBA Client Interface wizard looks like this:CORBA Server Interface wizardThe C

Strany 95 - Deploying locally

Chapter 6: Using JBuilder’s CORBA tools 59Using the CORBA wizardsThe Enter Application Details page of the HTML CORBA Client wizard looks like this. T

Strany 96

60 Developing Applications for J2EE ServersUsing the CORBA wizardsThe first page of the Use CORBA Interface wizard, where you choose whether to use an

Strany 97 - JSP debugging

Chapter 7: Using JBuilder with BEA WebLogic servers 61Chapter7Chapter 7Using JBuilder with BEA WebLogicserversThis chapter explains how to use to set

Strany 98

62 Developing Applications for J2EE ServersConfiguring JBuilder for WebLogic serversdialog box when not all required values are set or selecting anoth

Strany 99 - Using JBuilder with Tomcat

Chapter 7: Using JBuilder with BEA WebLogic servers 63Configuring JBuilder for WebLogic servers Web Browser Path: Specify the path and file name of th

Strany 100 - <jbuilder>/

Chapter 1: Introduction 1Chapter1Chapter 1IntroductionDeveloping Applications for J2EE Servers introduces you to the various technologies that make up

Strany 101

64 Developing Applications for J2EE ServersSelecting a serverCreated librariesWhen you configure JBuilder to target a WebLogic server, required librar

Strany 102 - Stopping Tomcat

Chapter 7: Using JBuilder with BEA WebLogic servers 65Selecting a serverYou can click the Help button on this page for assistance using this page to s

Strany 103 - Changing Tomcat’s port number

66 Developing Applications for J2EE ServersWorking in JBuildermeans the archive is exploded into a directory as its contents are deployed instead.If y

Strany 104

Chapter 7: Using JBuilder with BEA WebLogic servers 67Starting the serverCreating WebLogic entity beans in JBuilderJBuilder’s EJB designer has support

Strany 105 - Editing J2EE deployment

68 Developing Applications for J2EE ServersRemote deploying3 Select Server from the Type drop-down list.4 In the Name field, enter a name, such as Ser

Strany 106 - Displaying the DD Editor

Chapter 7: Using JBuilder with BEA WebLogic servers 69Remote deploying Deploying from the project pane:a Right-click the module you want to deploy in

Strany 107

70 Developing Applications for J2EE ServersRemote deploying5 Select the Map Project EJB Modules At Runtime option:6 Choose OK to close the dialog box.

Strany 108

Chapter 7: Using JBuilder with BEA WebLogic servers 71Remote debuggingA few WebLogic Server properties, such as field groups and other CMP WebLogic-sp

Strany 109

72 Developing Applications for J2EE ServersUpdating projects with the latest server settings4 Launch the WebLogic server with debug parameters. To do

Strany 110 - 4 Choose OK

Chapter 8: Using JBuilder with IBM WebSphere servers 73Chapter8Chapter 8Using JBuilder with IBM WebSphereserversThis chapter explains how set up and u

Strany 111 - Information Systems

2 Developing Applications for J2EE ServersDeveloper support and resourcesJBuilder is available on multiple platforms. See the following table for a de

Strany 112 - 2 Click Next to see Step 2:

74 Developing Applications for J2EE ServersConfiguring JBuilder for WebSphere servers4 If you want to change any of the settings, click the ellipsis (

Strany 113

Chapter 8: Using JBuilder with IBM WebSphere servers 75Selecting a server Add An Administrative Scripting Item To The Enterprise Menu: Checking this c

Strany 114

76 Developing Applications for J2EE ServersStarting the serverthe WebSphere 4.0 Advanced Edition only. If you are using one edition of WebSphere 4.0 a

Strany 115

Chapter 8: Using JBuilder with IBM WebSphere servers 77DeployingBy default in WebSphere 5.x, the stdout and stderr streams are redirected to log files

Strany 116 - Connector1 RAR

78 Developing Applications for J2EE ServersDeploying8 Set the Host field to the host name where the Deployment Manager is running.9 Set the Port field

Strany 117

Chapter 8: Using JBuilder with IBM WebSphere servers 79Enabling remote debuggingYou can also deploy a module to a remote server from JBuilder’s projec

Strany 118 - Authentication Mechanism page

80 Developing Applications for J2EE ServersEnabling remote debugging2 Edit the launch script and add the following remote debug parameters to the java

Strany 119 - Security Permission page

Chapter 8: Using JBuilder with IBM WebSphere servers 81Container-managed persistence (CMP) 1.1 and 2.0 in WebSphere 5.x5 In the dialog box that appear

Strany 120 - Server-specific pages

82 Developing Applications for J2EE ServersContainer-managed persistence (CMP) 1.1 and 2.0 in WebSphere 5.xTo change the default CMP mapping behavior

Strany 121 - Building J2EE modules

Chapter 9: Using JBuilder with JBoss servers 83Chapter9Chapter 9Using JBuilder with JBoss serversThis chapter explains how set up and use the JBoss ap

Strany 122 - Class and resource filters

Chapter 1: Introduction 3Developer support and resourcesContacting Borland Developer SupportBorland offers several support programs for customers and

Strany 123 - Adding custom file types

84 Developing Applications for J2EE ServersSelecting a server5 Click the Custom tab to view fields unique to the server. Change or fill in these field

Strany 124 - Sample build scenarios

Chapter 9: Using JBuilder with JBoss servers 85Creating a JBoss service module2 Decide whether you are creating an empty JBoss service module that you

Strany 125 - WAR with custom file types

86 Developing Applications for J2EE ServersCreating a JBoss service module3 Click Next.4 Specify a name to identify the new module in the Name field.5

Strany 126 - EAR with custom files

Chapter 9: Using JBuilder with JBoss servers 87Creating a JBoss service module4 Specify a name to identify the new JBoss service module in the Name fi

Strany 127 - Web modules

88 Developing Applications for J2EE ServersEditing the JBoss service module deployment descriptorEditing the JBoss service module deployment descripto

Strany 128

Chapter 9: Using JBuilder with JBoss servers 89Deploying locally3 Select Server from the Type drop-down list.4 In the Name field, enter a name, such a

Strany 129 - Index 123

90 Developing Applications for J2EE ServersDeploying exploded web modulesBoth the Server Deployment dialog box and the Deployment page of the Project|

Strany 130

Chapter 9: Using JBuilder with JBoss servers 91JSP debuggingJSP debuggingTomcat or Jetty do not support JSP source debugging, but you can remedy this

Strany 131 - Index 125

92 Developing Applications for J2EE Servers

Strany 132

Chapter 10: Using JBuilder with Tomcat 93Chapter10Chapter 10Using JBuilder with TomcatWeb Development is afeature of JBuilderDeveloper andJBuilder Ent

Komentáře k této Příručce

Žádné komentáře