⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.nt

📁 TUXEDO例子
💻 NT
字号:
#	(c) 2003 BEA Systems, Inc. All Rights Reserved.#Copyright (c) 1995 Novell, Inc.#All rights reserved#ident	"@(#) samples/atmi/simpapp/README.nt	$Revision: 1.4 $"This is a brief description of the TUXEDO Simple Application.A more comprehensive look can be found in the TUXEDO SystemApplication Development Guide.The Simple Application consists of a single server offering a singleservice.  The service is called TOUPPER.  The client is run witha single argument, which is a string to convert to upper case.The client calls the service, which returns the converted string.The client then prints that string.Example: simpcl "Hello World"Returned string is: HELLO WORLDThis application runs a single server on a single machine.  It isdesigned so that it can be up and running within minutes afterinstalling the TUXEDO software.You should probably copy the simpapp files to your own directory,since the configuration file must be edited and you might alsowant to experiment with the client and server code.You need to set several environment variables before usingTUXEDO or running any TUXEDO application:	TUXDIR - base directory of the TUXEDO software	APPDIR - base directory of the sample program	PATH - must include %TUXDIR%\bin	TUXCONFIG - full pathname of binary tuxconfig file	WSNADDR - This is only needed on workstation clients. Refer to the	Workstation Documentation or the WSL man page for the format of the 	address.Edit the script setenv.cmd, which sets all of these variables.The sample configuration file, ubbsimple, must be edited to replacethe bracketed items with values appropriate to your installation.Your TUXDIR and TUXCONFIG environment variables must match thevalues in the configuration file. At this point you should build the server and client executables using simpapp.nt.After editing ubbsimple, create the binary TUXCONFIG file with the command:	tmloadcf ubbsimple	(Answer "y" if it asks you whether it should proceed)You can build the server and client executables using the makefile simpapp.nt.An alternative way to do this is as follows:	buildclient -o simpcl -f simpcl.c	buildserver -o simpserv -f simpserv.c -s TOUPPERThe Simple Application can be booted with the command:	tmboot -yThen you can run "simpcl" as shown in the example above.Simpcl can be run as many times as you wish.When you are done, you can shut down the Simple Application withthe command:	tmshutdown -ySuggested next steps:	Run more than one copy of the "simpserv" server, all operating	from a single queue (Hint: See the RQADDR parameter in ubbconfig 	man page).	Configure a networked application, where the client and server	run on different machines.	Try the administrative command, "tmadmin", to display and	modify the parameters of the running application.  (Try	suspending the TOUPPER service, and then running the client.)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -