Borland Software JBUILDER 2005 Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Software-Handbücher Borland Software JBUILDER 2005 herunter. Borland Software JBUILDER 2005 User's Manual [en] [es] Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 132
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen

Inhaltsverzeichnis

Seite 1 - JBuilder

JBuilder® 2005Developing Applications for J2EE™ Servers

Seite 2

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

Seite 3 - Contents

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

Seite 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

Seite 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

Seite 6

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

Seite 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

Seite 8

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

Seite 9 - Borland newsgroups

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

Seite 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

Seite 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

Seite 12

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

Seite 13

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

Seite 14

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

Seite 15 - How JBuilder can help

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

Seite 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

Seite 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

Seite 18

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

Seite 19

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

Seite 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

Seite 21 - Stand-alone clients

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

Seite 22 - Java client calling EJBs

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

Seite 23 - Business to business

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

Seite 24

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

Seite 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

Seite 26 - JBuilder Developer

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

Seite 27

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

Seite 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

Seite 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

Seite 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

Seite 31

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

Seite 32 - Setting up JDBC drivers

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

Seite 33 - /lib/ext directory

122 Developing Applications for J2EE Servers

Seite 34

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

Seite 35

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

Seite 36

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

Seite 37

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

Seite 38

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

Seite 39

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

Seite 40

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

Seite 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

Seite 42

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

Seite 43 - Changing the management port

12 Developing Applications for J2EE Servers

Seite 44

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

Seite 45

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

Seite 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

Seite 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

Seite 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

Seite 49 - Web module workarounds

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

Seite 50 - International issues

18 Developing Applications for J2EE Servers

Seite 51 - Using JBuilder’s CORBA tools

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

Seite 52

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

Seite 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

Seite 54

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

Seite 55

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

Seite 56 - Configuring the OrbixWeb ORB

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

Seite 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

Seite 58

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

Seite 59

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

Seite 60

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

Seite 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

Seite 62

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

Seite 63 - Using the CORBA wizards

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

Seite 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

Seite 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

Seite 66

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

Seite 67 - Service packs

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

Seite 68

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

Seite 69

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

Seite 70

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

Seite 71

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

Seite 72 - Working in JBuilder

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

Seite 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

Seite 74

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

Seite 75 - NAME>:<port number>

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

Seite 76

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

Seite 77

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

Seite 78

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

Seite 79

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

Seite 80

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

Seite 81

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

Seite 82

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

Seite 83 - Deploying

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 90

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

Seite 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

Seite 92

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

Seite 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

Seite 94

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

Seite 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

Seite 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

Seite 97 - JSP debugging

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

Seite 98

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

Seite 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

Seite 100 - <jbuilder>/

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

Seite 101

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

Seite 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

Seite 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

Seite 104

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

Seite 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

Seite 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

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

Seite 108

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

Seite 109

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

Seite 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

Seite 111 - Information Systems

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

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

Seite 113

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 122 - Class and resource filters

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 127 - Web modules

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

Seite 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

Seite 129 - Index 123

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

Seite 130

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

Seite 131 - Index 125

92 Developing Applications for J2EE Servers

Seite 132

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

Kommentare zu diesen Handbüchern

Keine Kommentare