JEUS WebT Copyright 2004 Tmax Soft Co., Ltd. All Rights Reserved.

Size: px
Start display at page:

Download "JEUS WebT Copyright 2004 Tmax Soft Co., Ltd. All Rights Reserved."

Transcription

1 JEUS WebT Copyright 2004 Tmax Soft Co, Ltd All Rights Reserved

2 Copyright Notice Copyright 2004 Tmax Soft Co, Ltd All Rights Reserved Tmax Soft Co, Ltd ) Restricted Rights Legend This software and documents are made available only under the terms of the Tmax Soft License A greement and may be used or copied only in accordance with the terms of this agreement No part of this document may be reproduced, transmitted, or translated in any form or by any means, electr onic, mechanical, manual, or optical, without the prior written permission of Tmax Soft Co, Ltd TmaxSoft,, TmaxSoft Co, Ltd,,,,, Trademarks Tmax, WebtoB, WebT, and JEUS are registered trademarks of Tmax Soft Co, Ltd All other product names may be trademarks of the respective companies with which they are assoc iated Tmax, WebtoB, WebT, JEUS TmaxSoft Co, Ltd Document info Document name: JEUS WebT Document date: Manual release version: 2 Software Version: JEUS 42 2 Tmax Soft

3 JEUS WebT JEUS WebT WebT WebT WebT Java API WebT-Server System WebT webtproperties webtproperties WebT API WebtConnection WebtConnectionGroup WebtConnectionPool WebtRemoteService WebtDialogueService WebtEventConnection WebtEventHandler WebtTransaction WebtConnectionInfo Tmax Soft 3

4 JEUS JEUS WebT 5 WebT (Synchronous Communication) make (Asynchronous Communication) make (Conversational Communication) make Unsolicited Message Service make JSP 58 4 Tmax Soft

5 JEUS WebT JEUS make Servlet make Applet make EJB make RQ make (Asynchronous Event Service) Tmax Soft 5

6 JEUS JEUS WebT 5113 make WebT-Server System WebT-Server System WebT Server WebT-Server Binary EJB jtmax Startup/Shutdown jtmax Operation Environment Configuration FieldKey JEUSGW WebT-Server Tmax JEUS WebT-Server A 113 WebT API Reference 115 A1 115 A2 Package [tmaxwebt] 115 class WebtAttribute 115 abstract class WebtBuffer 120 class WebtConnection 131 class WebtConnectionGroup Tmax Soft

7 JEUS WebT JEUS class WebtConnectionInfo 139 class WebtConnectionPool 141 class WebtRemoteService 151 class WebtRQService 159 class WebtEventConnection 168 Interface WebtEventHandler 175 class WebtDialogueService 176 class WebtTransaction 179 class WebtSystem 183 class WebtFDLKeyTable 185 class WebtField 187 Interface WebtFieldElement 201 class WebtFieldSet 205 class WebtException 226 class WebtDialogueException 230 class WebtTXException Tmax Soft 7

8 JEUS JEUS WebT Java WebT Tmax Server Tmax server Client/Server program JEUS Web Application JEUS WebContainer manual Tmax Application program manual : WebT 2 WebT : WebT 3 WebT : WebT 4 WebT : WebT 5 WebT : WebT Web 6 WebT Server System: WebT Server 7 A WebT API Reference 8 Tmax Soft

9 JEUS WebT JEUS J2EE 13 Specification Servlet 23 Specification JSP 12 Specification JEUS Web Container WebT18 Application Guide Tmax Application Guide Tmax RQ Application Guide CTRL+C public class myclass { Java <SystemConfig> XML / Configuration GUI jeusadmin nodename [] Tmax Soft 9

10 JEUS JEUS WebT OR?, +, * XML,,,, XML 1 Asynchronous communication A B B C forward, Web 10 Tmax Soft

11 JEUS WebT JEUS FDL Field Definition Language FDL (Field Buffer) C FDL JEUS Tmax Soft Co, Ltd JAVA Enterprise User Solution JEUS JeusGW Tmax JEUS (JeusGW) (Gateway) jtmax jtmax WebT-Server, Tmax JEUS EJB JEUS, JEUS Tmax RQ Reliable Queue,,, Tmax RQ RQ Tmax Soft 11

12 JEUS JEUS WebT Synchronous communication, Tmax TP TP-monitor Tmax Soft Co, Ltd TP monitor Transaction Processing Monitor,, TP - Client/Server TP -,, - Unsolicited message, 12 Tmax Soft

13 JEUS WebT JEUS WebT WebT Web Transaction, Java Tmax JEUS WebT-Server WebT-Server Tmax JEUS WebT Java Tmax, WebT-Server Tmax JEUS EJB Tmax Soft 13

14 JEUS JEUS WebT Korea Tmax Soft Co, Ltd 18F Glass Tower, 946-1, Daechi-Dong, Kangnam-Gu, Seoul South Korea Tel: Fax: Web (Korean): USA Tmax Soft, Inc 560 Sylvan Ave, Englewood Cliffs NJ USA Tel: FAX: Web (English): Japan Tmax Soft Japan Co, Ltd 6-7 Sanbancho, Chiyoda-ku, Tokyo Japan Tel: FAX: Web (Japanese): China Beijing Silver Tower, RM 1507, 2# North Rd Dong San Huan, Chaoyang District, Beijing, China, Tel: Fax: info@tmaxchinacomcn Web (Chinese): 14 Tmax Soft

15 JEUS WebT JEUS 1 WebT Web Transaction C/S Tmax Web WAS(Web Application Server) JEUS WWW WWW CGI, JSP, Servlet, Applet, PHP,, WWW, TP Monitor TP Monitor, TP Monitor (Load balancing) WWW,, WebT Tmax Tmax Soft 15

16 JEUS JEUS WebT 16 Tmax Soft

17 JEUS WebT JEUS 2 WebT 21 WebT WebT WebT WebT Java API WebT-Server system 22 WebT 1 WebT Tmax Soft 17

18 JEUS JEUS WebT 23 WebT WebT webtproperties WebT logging, Tmax server WebT 3 24 WebT Java API WebT Tmax(TP -Monitor) WAS WAS, WAS Java C TP- Monitor WebT Java Applet, Servlet Tmax(TP -Monitor) WebT Java API 5 6 B WebT API WebT 25 WebT-Server System WebT-Server system JEUS Web Application Server Tmax Gateway WebT Java client Tmax service WebT-Server Tmax JEUS EJB service WebT-Server system 6 26 WebT, Web container-hosted WebT connection pool, WebT WebT-Server system 18 Tmax Soft

19 JEUS WebT JEUS 3 WebT 31 webtproperties WebT WebT, WebtSystem API webtproperties 32 webtproperties webtproperties # # logging related parameters ############################ # set log level valid values are none, info, debug default is #none loglevel=none # set directory in which the log file places if not set, log is # printed to standard out logdir=/tmp # set the name of the log file default is webtlog logfile=webtlog # set log buffering size default is 0 #logbufsize=1024 # # FDL related parameters ######################## # set the fdl file #fdlfile=/east/hope/prod/jeus/system/tmaxfdl # # pipe related paramters ######################## Tmax Soft 19

20 JEUS JEUS WebT # enable/disable pipe default is disable(false) #pipe=false # # input/output buffer size parameter # set input buffer size default is 4096 minimum is 1024 #inbufsize=4096 # set output buffer size default is 4096 minimum is 1024 #outbufsize=4096 # set application wide default character set default is system #default defaultcharset=euc-kr # Tmax 311x extended Header size #extendedheader=true # # monioring related parameter ################################### # enable/disable alive check default is disable(false) # monitoringpoolcheckalive=true # enable/disable idle check default is disable(false) # monitoringpoolcheckidle=true # set monitoring interval default is 60sec # monitoringpoolinterval=5 # set monitoring log file valid-daysdefault is -1 # monitoringlogvaliddays=1 # enable/disable webtproperties modify Default is #disable(false) # enablemodify=false # connection pool realted paramter ################################### # enable/disable connection pool default is disable(false) #enableconnectionpool=true # WebtConnectionGroup name list #connectionpoolgroups=tmax1 # set connection group type valid values are shared, non-shared, # non-shared2 default is shared #connectionpooltmax1type=shared # set Tmax Server Address #connectionpooltmax1hostaddr= Tmax Soft

21 JEUS WebT JEUS # set Tmax Server Port #connectionpooltmax1hostport=8889 # set Backup Tmax Server Address #connectionpooltmax1hostbackupaddr= # set Backup Tmax Server Port #connectionpooltmax1hostbackupport=8889 # set default user name for security #connectionpooltmax1username=tmax # set default user passward for security #connectionpooltmax1userpasswd=1234 # set default domain name for security #connectionpooltmax1domainname=choco # set default domain passward for security #connectionpooltmax1domainpasswd=1234 # set initial pool size default is 10 #connectionpooltmax1initcapacity=1 # set max pool size default is 20 #connectionpooltmax1maxcapacity=10 # set increment step size default is 5 #connectionpooltmax1incrementrate=2 # set connection idle time default is 60sec #connectionpooltmax1maxidletime=60 # set tptimeout #connectionpooltmax1tptimeout=40 # set txtimeout #connectionpooltmax1txtimeout=10 # set connection timeout #connectionpooltmax1connecttimeout=10 # enable to event service #connectionpooltmax1enableevent=true # set event service Type #connectionpooltmax1eventsvctype=acall # set event handler object #connectionpooltmax1eventhandler=eventgenericeventhandler loglevel (default:none) : WebT log level none info debug loglevel info monitoring thread Tmax Soft 21

22 JEUS JEUS WebT WebT log webt connection pool logdir(default:stdout) : WebT log file Windows \ \\ logfile(default:webtlog) : WebT log file name logbufsize(default:1024) : log file buffering size fdlfile : fdl file pipe(default:false) : WebT Tmax server inbufsize(default:4096) : Tmax outbufsize(default:4096) : Tmax defaultcharset(default: system default charset) : WebtSystemsetDefaultCharset(javalangString charset) extendedheader(default:false) : Tmax Header 311x monitoringpoolcheckalive(default:false) : ConnectionPool connection monitoringpool checkidle(default:false) : ConnectionPool connection idle Monitoringpool interval(default:60sec) : ConnectionPool connection MonitoringpoolvalidDays : webt log file 0 enableconnectionpool: run-time webtproperties loglevel true webtproperties loglevel connectionpoolgroups(default:false) : WebtConnectionPool connectionpoolgroups : WebtConnectionPool WebtConnectionPoolGroup name list 22 Tmax Soft

23 JEUS WebT JEUS connectionpool<groups>type : WebtConnectionPoolGroup shared non-shared non-shared2 shared non-shared non-shared2 JEUS Engine <groups> connectionpoolgroups connectionpool<groups>hostaddr : WebtConnectionPoolGroup connection Tmax server host address connectionpool<groups>hostport : WebtConnectionPoolGroup connection Tmax server connectionpool<groups>hostbackupaddr : WebtConnectionPoolGroup connection Main Tmax server Backup Tmax server connection Backup Tmax server host address connectionpool<groups>hostbackupport : WebtConnectionPoolGroup connection Main Tmax server Backup Tmax server connection Backup Tmax server connectionpool<groups>username : Tmax server Tmax server connectionpool<groups>userpasswd : Tmax server Tmax server connectionpool<groups>domainname : Tmax server Tmax server domain domain name connectionpool<groups>domainpasswd : Tmax server Tmax server domain domain password connectionpool<groups>initcapacity : WebtConnectionPoolGroup connection connection connectionpool<groups>maxcapacity : WebtConnectionPoolGroup connection connectionpool<groups>incrementrate : WebtConnectionPoolGroup connection thread connectionpool<groups>maxidletime : connection pool maxidletime idle connection connection connection pool inicapacity Tmax Soft 23

24 JEUS JEUS WebT connectionpool<groups>tptimeout : Tmax Server service :sec connectionpool<groups>txtimeout : Tmax Server :sec connectionpool<groups>connecttimeout : Tmax Server connection connection timeout connection close :sec connectionpool<groups>enableevent : WebtEventConnection pooling service connectionpool<groups>eventsvctype : WebtConnectionPool connection WebtEventConnection event service type broadcast, acall, notify, sendtocli, all Tppost connectionpool<groups>eventhandler : WebtConnectionPool WebtEventConnection WebtEventHandler implement handler object : # 33 webtproperties 1 classpath webtproperties ( : ClassLoadergetResourceAsStream( webtproperties ) ) JEUS, webtproperties Webt JEUS classpath $JEUS_HOME/lib/application JEUS webtproperties : JEUS, 1 webtproperties default $JEUS_HOME/config/<nodename>/<nodename>_s ervlet_<engine>/ webtproperties 24 Tmax Soft

25 JEUS WebT JEUS 2 JEUSMainxml <command-option> Dwebtproperties= webt properties properties 3 1, 2 webtproperties 4 Applet Service Applet webtproperties, webtproperties applet tag codebase 5 Applet webtproperties fdl fdl codebase fdlfile / WebT webtproperties fdlfile / 6 Applet, Servlet Java fdl 34 webtproperties WebT WebT API Tmax Soft 25

26 JEUS JEUS WebT 26 Tmax Soft

27 JEUS WebT JEUS 4 WebT API 41 WebT Class 42 WebtConnection WebtConnection Tmax Server WebT communication Tmax Server service WebtConnection 43 WebtConnectionGroup WebtConnection / WebtConnection, WebtConnectionPool creategroup() 44 WebtConnectionPool WebtConnectionPool WebtConnectionManager connection pool WebtConnectionPool tmax WebtConnection WebtConnectionPool Tmax WebtConnection, WebtConnection, Tmax / WebtConnectionPool 1 tmax connection pool 2 connection pool monitoring idle Tmax Soft 27

28 JEUS JEUS WebT 2 tmax ( :8889, :8889) connection pool WebtConnectionPool WebtConnectionPoolcreateGroup("tmax1"," ",8889,2,10, 2); WebtConnectionPoolcreateGroup("tmax2"," ",8889,4,10, 1); WebtConnectionPool WebtConnection WebtConnectionPoolcreateGroup groupname WebtConnection try { // tmax1 group ( :8889) // WebtConnection WebtConnection con = WebtConnectionPoolgetConnection("tmax1"); catch (WebtIOException wioe) { Systemoutprintln( "fail to get WebtConnection of tmax1" ); return; WebtRemoteService service = new WebtRemoteService("MYSVC", con); // WebtConnection WebtConnectionPoolputConnection(con); 45 WebtRemoteService WebtConnection Tmax Service API Tmax service WebtService 28 Tmax Soft

29 JEUS WebT JEUS 46 WebtDialogueService tmax WebtConnection connection = WebtConnectionPoolgetConnection("tmax1"); WebtDialogueService dialogue = new WebtDialogueService("CONVTEST", connection ); try { dialoguetpconnect(false); int count = 1; WebtBuffer sndbuf = dialoguecreatestringbuffer(); WebtBuffer rcvbuf = null; while(true) { sndbufsetstring("client msg " + count); dialoguetpsend(sndbuf, true); rcvbuf = dialoguetprecv(); Systemoutprintln("tprecv ok : " + rcvbufgetstring()); if (!dialogueissendnext()) break; //server tpreturn() rcvbuf = dialoguetprecv(); Systemoutprintln("conv end : " + rcvbufgetstring()); catch (WebtDialogueException de) { deprintstacktrace(); catch (WebtServiceFailException se) { seprintstacktrace(); catch (WebtException e) { eprintstacktrace(); finally { connectionclose(); 47 WebtEventConnection Tmax Server (tppost/tpnotify/tpsendtocli/tpbroadcast/tpacall) WebtConnection Tmax Server WebtEventConnection Tmax Server callback WebtEventHandler seteventhandler(webteventhandler) Tmax Soft 29

30 JEUS JEUS WebT tppost import tmaxwebt*; public class EventSample implements WebtEventHandler { private WebtEventConnection connection; public EventSample(WebtEventConnection connection) { thisconnection = connection; // tpbroadcast event mask connectionseteventmask(webteventconnectionevent_post); // event handler connectionseteventhandler(this); // event connectiontpsubscribe("posttest"); public void destroy() { connectiontpunsubscribe("posttest"); connectionclose(); // WebtEventHandler event message // callback public void handleevent(int type, WebtBuffer buf, int len, int flags) { Systemoutprintln("event received type = " + type + ", buffer type = " + bufgetbuffertype()); Systemoutprintln("event msg : " + bufgetstring()); // WebtEventHandler WebT event Exception // callback WebtIOException // Tmax Server connection // reconnect public void handleerror(webtexception e) { Systemerrprintln("event error occured"); eprintstacktrace(); if (e instanceof WebtIOException) { if (egettperror() == WebtExceptionTPECLOSE) { connectionclose(); connectionconnect(); 30 Tmax Soft

31 JEUS WebT JEUS 48 WebtEventHandler tmax server tpsendtocli, tpbroadcast, tpnotify, tppost 49 WebtTransaction Service, API, 410 WebtConnectionInfo WebtConnectionInfo WebtConnection WebtConnection WebtConnectionInfo info = new WebtConnectionInfo(); // set tmax host address as infosetattribute(infotmax_address, "127001"); // set tmax host port as 8889 infosetattribute(infotmax_port, 8889); // set socket connect timeout as 30 sec infosetattribute(infoconnect_timeout, 30); // constructs WebtConnection WebtConnection connection = new WebtConnection(info); 411 WebT webtproperties WebT API Tmax Soft 31

32 JEUS JEUS WebT 32 Tmax Soft

33 JEUS WebT JEUS 5 WebT WebT, WebT 51 (Synchronous Communication) Timeout 511 String, : STRING : import tmaxwebt*; <<SyncTestjava>> public class SyncTest { public static void main(string[] argv) { WebtConnection connection = new WebtConnection("127001", 8889); WebtRemoteService service = new WebtRemoteService("STR_TOUPPERSTR", connection); WebtBuffer buffer = servicecreatestringbuffer(); buffersetstring( Synchronous communication Test ); try { WebtBuffer rcvbuf = servicetpcall(buffer); Systemoutprintln(" : " + rcvbufgetstring()); catch (WebtServiceFailException se) { seprintstacktrace(); catch (WebtException e) { eprintstacktrace(); finally { connectionclose(); Tmax Soft 33

34 JEUS JEUS WebT 512 : STRING : #include <stdioh> #include <usrinc/atmih> <<SyncTestc>> STR_TOUPPERSTR(TPSVCINFO *msg) { int i, len; char *instr = (char *)msg->data; len = strlen(instr); for(i=0; i<len; i++) instr[i] = toupper(instr[i]); tpreturn(tpsuccess, 0, (char *)instr, 0, 0); 513 make *DOMAIN tmax *NODE tmax *SVRGROUP svg1 *SERVER SyncTest <<samplem>> SHMKEY = 77990, MAXUSER = 256, TPORTNO=8889 TMAXDIR = /home/tmax, APPDIR = /home/tmax/appbin, PATHDIR = /home/tmax/path, TLOGDIR = /home/tmax/log/tlog, ULOGDIR = /home/tmax/log/slog, SLOGDIR = /home/tmax/log/ulog NODENAME = tmax SVGNAME = svg1, MIN = 1, MAX = 5, CLOPT = e $(SVR)err o $(SVR)out 34 Tmax Soft

35 JEUS WebT JEUS *SERVICE STR_TOUPPERSTR SVRNAME = SyncTest # Server makefile <<Makefilec>> TARGET APOBJS = $(COMP_TARGET) = $(TARGET)o #Not use Db LIBS = -lsvr -lnodb OBJS = $(APOBJS) $(SVCTOBJ) NSDLOBJ = $(TMAXDIR)/lib/sdlo SVCTOBJ = $(TARGET)_svctabo CFLAGS = -O -I$(TMAXDIR) APPDIR = $(TMAXDIR)/appbin SVCTDIR = $(TMAXDIR)/svct LIBDIR = $(TMAXDIR)/lib # SUFFIXES : c co: $(CC) $(CFLAGS) -c $< # server compile $(TARGET): $(OBJS) $(CC) $(CFLAGS) -L$(LIBDIR) -o $(TARGET) $(OBJS) $(LIBS) $(NSDLOBJ) mv $(TARGET) $(APPDIR)/ rm -f $(OBJS) $(APOBJS): $(TARGET)c $(CC) $(CFLAGS) -c $(TARGET)c $(SVCTOBJ): touch $(SVCTDIR)/$(TARGET)_svctabc $(CC) $(CFLAGS) -c $(SVCTDIR)/$(TARGET)_svctabc # clean: -rm -f *o core $(TARGET) 514 ( $ $TMAXDIR TMAX $JEUS_HOME JEUS ) Tmax Soft 35

36 JEUS JEUS WebT 1 $ cp samplem $TMAXDIR/config 2 $ cfl i samplem 3 $ gst 4 $ export COMP_TARGET=SyncTest 5 $ make f Makefilec SyncTest 6 $ javac classpath $JEUS_HOME/lib/system/webt30jar: SyncTestjava 7 $ tmboot 8 $ java classpath $JEUS_HOME/lib/system/webt30jar: SyncTest 52 (Asynchronous Communication) 521 Field : Field : TPBLOCK : import tmaxwebt*; <<AsyncTestjava>> public class AsyncTest { public static void main(string[] argv) throws WebtException { WebtConnection connection = new WebtConnection("127001", 8889); connectionsettptimeout(15); WebtRemoteService service = new WebtRemoteService("NO_SUCH_SVC", connection); WebtAttribute attribute = new WebtAttribute(); attributesettpblock(true); WebtBuffer sndbuf = servicecreatefieldbuffer(); WebtField sndfld = sndbufcreatefield( TINT ); 36 Tmax Soft

37 JEUS WebT JEUS int sint = 10; sndfldadd(sint); int cd = 0; long t1 = SystemcurrentTimeMillis(); try { cd = servicetpacall(sndbuf, attribute); catch (WebtException e) { if (egettperror() == WebtExceptionTPENOENT) ; // do something else { eprintstacktrace(); long t2 = SystemcurrentTimeMillis(); Systemoutprintln("[t2-t1] : " + (t2-t1) + "ms"); try { WebtBuffer rcvbuf = servicetpgetrply(cd, attribute); long t3 = SystemcurrentTimeMillis(); Systemoutprintln("[t3-t1] : " + (t3-t1) + "ms"); WebtField rfield = rcvbufgetfield("tint"); WebtFieldElement e = rfieldget(); int rint = eintvalue(); if (rint!= sint) throw new WebtException("[Exception]"); Systemoutprintln("[requested delay] : " + rint); catch (WebtException e) { eprintstacktrace(); Systemoutprintln("tpgetrply error!!!"); finally { connectionclose(); 522 Sleep #include <stdioh> #include <unistdh> #include <usrinc/atmih> #include <usrinc/fbufh> #include "demo_fdlh" <<AsyncTestc>> Tmax Soft 37

38 JEUS JEUS WebT #include <sys/timebh> NO_SUCH_SVC(TPSVCINFO *msg) { int i, len, n; FBUF *rcvbuf = (FBUF *)msg->data; FBUF *sndbuf; int tint; int fldlen; len = msg->len; tint = 0; sndbuf = (FBUF *)tpalloc("field", NULL, 1024); n = fbget(rcvbuf, TINT, (char *)&tint, &fldlen); printf("requested delay : %d\n", tint); n= sleep(tint*1000); fbput(sndbuf, TINT, (char *)&tint, 0); tpreturn(tpsuccess, 0, (char *)sndbuf, 0, 0); <<demof>> # name number type flags comments TINT 1103 int make <<samplem >> *DOMAIN tmax SHMKEY = 77990, MAXUSER = 256, TPORTNO = 8889 *NODE tmax *SVRGROUP svg1 TMAXDIR = /home/tmax, APPDIR = /home/tmax/appbin, PATHDIR = /home/tmax/path, TLOGDIR = /home/tmax/log/tlog, ULOGDIR = /home/tmax/log/slog, SLOGDIR = /home/tmax/log/ulog NODENAME = tmax *SERVER AsyncTest SVGNAME = svg1, MIN = 1, MAX = 5, CLOPT = e $(SVR)err o $(SVR)out *SERVICE NO_SUCH_SVC SVRNAME = AsyncTest <<webtproperties>> fdlfile=/home/tmax/sample/fdl/tmaxfdl 38 Tmax Soft

39 JEUS WebT JEUS # Server makefile <<Makefilec>> TARGET APOBJS = $(COMP_TARGET) = $(TARGET)o #Not use Db LIBS = -lsvr -lnodb OBJS = $(APOBJS) $(SVCTOBJ) NSDLOBJ = $(TMAXDIR)/lib/sdlo SVCTOBJ = $(TARGET)_svctabo CFLAGS = -O -I$(TMAXDIR) APPDIR = $(TMAXDIR)/appbin SVCTDIR = $(TMAXDIR)/svct LIBDIR = $(TMAXDIR)/lib # SUFFIXES : c co: $(CC) $(CFLAGS) -c $< # server compile $(TARGET): $(OBJS) $(CC) $(CFLAGS) -L$(LIBDIR) -o $(TARGET) $(OBJS) $(LIBS) $(NSDLOBJ) mv $(TARGET) $(APPDIR)/ rm -f $(OBJS) $(APOBJS): $(TARGET)c $(CC) $(CFLAGS) -c $(TARGET)c $(SVCTOBJ): touch $(SVCTDIR)/$(TARGET)_svctabc $(CC) $(CFLAGS) -c $(SVCTDIR)/$(TARGET)_svctabc # clean: -rm -f *o core $(TARGET) 524 ( $ $TMAXDIR TMAX $JEUS_HOME JEUS ) 1 $ cp samplem $TMAXDIR/config Tmax Soft 39

40 JEUS JEUS WebT 2 $ cfl i samplem 3 $ gst 4 $ fdlc c i demof 5 $ export COMP_TARGET=AsyncTest 6 $ make f Makefilec AsyncTest 7 $ javac classpath $JEUS_HOME/lib/system/webt30jar AsyncTestjava 8 $ export FDLFILE=/home/tmax/sample/fdl/tmaxfdl 9 webtproperties 10 $ tmboot 11 $ java classpath $JEUS_HOME/lib/system/webt30jar: AsyncTest 53 (Conversational Communication) / 531 String : STRING : import tmaxwebt*; <<ConvTestjava>> public class ConvTest { public static void main(string[] argv) { WebtConnection connection = new WebtConnection("127001", 8889); WebtDialogueService dialogue = new WebtDialogueService("CONVTEST", connection); try { dialoguetpconnect(false); int count = 1; WebtBuffer sndbuf = dialoguecreatestringbuffer(); 40 Tmax Soft

41 JEUS WebT JEUS WebtBuffer rcvbuf = null; while(true) { sndbufsetstring("client msg " + count); dialoguetpsend(sndbuf, true); rcvbuf = dialoguetprecv(); Systemoutprintln("tprecv ok : " + rcvbufgetstring()); if (!dialogueissendnext()) break; rcvbuf = dialoguetprecv(); Systemoutprintln("conv end : " + rcvbufgetstring()); catch (WebtDialogueException de) { deprintstacktrace(); catch (WebtServiceFailException se) { seprintstacktrace(); catch (WebtException e) { eprintstacktrace(); finally { connectionclose(); 532 #include <stdioh> #include <unistdh> #include <usrinc/atmih> #include <usrinc/fbufh> #include <sys/timebh> <<convtestc>> CONVTEST(TPSVCINFO *msg) { char *rcvbuf; char *sndbuf; int ret; long revent, rcvlen, flag, count; rcvbuf = tpalloc("string", NULL, 1024); sndbuf = tpalloc("string", NULL, 1024); printf("convtest start msg from client : %s\n", msg->data); flag = 0; Tmax Soft 41

42 JEUS JEUS WebT count = 1; while(1) { ret = tprecv(msg->cd, (char **)&rcvbuf, &rcvlen, TPNOTIME, &revent); if (ret < 0 ) { printf("tprecv ret = %d\n", ret); fprintf(stderr, "tprecv fail errno = %d\n", tperrno); if (revent!= TPEV_SENDONLY) { printf("tprecv fail revent = 0x%08x\n", revent); tpreturn(tpfail, -1, (char *)rcvbuf, 0, TPNOFLAGS); printf("tprecv ok! : %s\n", rcvbuf); if (count == 10) { flag = TPNOTIME; else { flag = TPRECVONLY; sprintf(sndbuf, "server msg %d", count); ret = tpsend(msg->cd, (char *)sndbuf, strlen(sndbuf), flag, &revent); if (ret < 0) { printf("tpsend fail revent = 0x%08x\n", revent); fprintf(stderr, "tpsend fail errno = %d\n", tperrno); tpreturn(tpfail, -1, (char *)NULL, 0, TPNOFLAGS); printf("tpsend ok! count = %d\n", count); if (count == 10) break; count++; strcpy(sndbuf, "conv mode successfully terminated"); tpreturn (TPSUCCESS, 1, (char *)sndbuf, strlen(sndbuf), TPNOFLAGS); 533 make <<samplem>> *DOMAIN tmax SHMKEY = 77990, MAXUSER = 256, TPORTNO = 8889 *NODE 42 Tmax Soft

43 JEUS WebT JEUS tmax *SVRGROUP svg1 *SERVER convtest *SERVICE CONVTEST TMAXDIR = /home/tmax, APPDIR = /home/tmax/appbin, PATHDIR = /home/tmax/path, TLOGDIR = /home/tmax/log/tlog, ULOGDIR = /home/tmax/log/slog, SLOGDIR = /home/tmax/log/ulog NODENAME = tmax SVGNAME = svg1, CONV = Y MIN = 1, MAX = 5, CLOPT = e $(SVR)err o $(SVR)out SVRNAME = convtest <<webtproperties>> fdlfile=/home/tmax/sample/fdl/tmaxfdl7 # Server makefile <<Makefilec>> TARGET APOBJS NSDLOBJ = $(COMP_TARGET) = $(TARGET)o = $(TMAXDIR)/lib/sdlo #Not use Db LIBS = -lsvr -lnodb OBJS = $(APOBJS) $(SVCTOBJ) SVCTOBJ = $(TARGET)_svctabo CFLAGS = -O -I$(TMAXDIR) APPDIR = $(TMAXDIR)/appbin SVCTDIR = $(TMAXDIR)/svct LIBDIR = $(TMAXDIR)/lib # SUFFIXES : c co: $(CC) $(CFLAGS) -c $< # server compile $(TARGET): $(OBJS) $(CC) $(CFLAGS) -L$(LIBDIR) -o $(TARGET) $(OBJS) $(LIBS) $(NSDLOBJ) Tmax Soft 43

44 JEUS JEUS WebT mv $(TARGET) $(APPDIR)/ rm -f $(OBJS) $(APOBJS): $(TARGET)c $(CC) $(CFLAGS) -c $(TARGET)c $(SVCTOBJ): touch $(SVCTDIR)/$(TARGET)_svctabc $(CC) $(CFLAGS) -c $(SVCTDIR)/$(TARGET)_svctabc # clean: -rm -f *o core $(TARGET) 534 ( $ $TMAXDIR TMAX $JEUS_HOME JEUS ) 1 $ cp samplem $TMAXDIR/config 2 $ cfl i samplem 3 $ gst 4 $ export COMP_TARGET=ConvTest 5 $ make f Makefilec ConvTest 6 $ javac classpath $JEUS_HOME/lib/system/webt30jar ConvTestjava 7 webtproperties 8 $ tmboot 9 $ java classpath $JEUS_HOME/lib/system/webt30jar: ConvTest 54 Unsolicited Message Service Unsolicited Message Tmax Soft

45 JEUS WebT JEUS : STRING : TPBLOCK, TPNOREPLY : import tmaxwebt*; <<TppostSamplejava>> public class TppostSample implements WebtEventHandler { private WebtEventConnection conn; private WebtRemoteService service; private String eventname1 = "SITE"; private String eventname2 = "SUB"; private String eventname = "SEQNO"; private String id = "ID"; private String message = "MSG"; public TppostSample(WebtEventConnection conn) { thisconn = conn; connseteventmask(webteventconnectionevent_post); connseteventhandler(this); conntpsubscribe(eventname1); conntpsubscribe(eventname2); public static void main(string[] argv) throws javaioioexception { try { WebtSystemcreateDefaultFieldKeyTable("/home/tmax/fdl /tmaxfdl"); WebtSysteminitLogger(WebtSystemLOG_DEBUG, null, 0); catch (WebtException e){ Systemoutprintln("error: " + e); WebtEventConnection conn = new WebtEventConnection("127001", 8889); TppostSample sample = new TppostSample(conn); int cd = 0; WebtAttribute attribute = new WebtAttribute(); attributesettpblock(true); attributesettpnoreply(true); WebtRemoteService service = new WebtRemoteService("ECHO",conn); WebtBuffer sndbuf = servicecreatestringbuffer(); int acallcount = 0; while(true) { Tmax Soft 45

46 JEUS JEUS WebT try { sndbufsetstring("event_post Flag Test" + acallcount++); cd = servicetpacall(sndbuf, attribute); Threadsleep(1000); catch (Exception e ) { Systemoutprintln( "exception to tppost with TPNOREPLY/TPBLOCK"); eprintstacktrace(); if (e instanceof tmaxwebtwebtexception) { Throwable r = ((WebtException)e)getRootCause(); rprintstacktrace(); public void destroy() { conntpunsubscribe(eventname1); conntpunsubscribe(eventname2); connclose(); public void handleevent(int type, WebtBuffer buf, int len, int flags) { WebtFieldSet bufset = new WebtFieldSet(buf); Systemoutprintln("################################"); Systemoutprintln("event received type = " + type + " buffer type = " + bufgetbuffertype()); Systemoutprintln("event name : " + bufsetgetstring(eventname)); Systemoutprintln("event id : " + bufsetgetint(id)); Systemoutprintln("[event msg] : " + bufsetgetstring(message)); Systemoutprintln("################################"); public void handleerror(webtexception e) { Systemerrprintln("Event error occured"); eprintstacktrace(); if (e instanceof tmaxwebtwebtexception) { Throwable r = ((WebtException)e)getRootCause(); rprintstacktrace(); if( e instanceof WebtIOException) { if(egettperror() == WebtExceptionTPECLOSE) { connclose(); connconnect(); 46 Tmax Soft

47 JEUS WebT JEUS #include <stdioh> #include <stdlibh> #include <usrinc/atmih> <<tpcallc>> main() { int char long n, ret; *sndbuf, *rcvbuf; sndlen, rcvlen; if ((ret = tmaxreadenv("tmaxenv","tmax")) == -1) { printf( "tmax read env failed\n" ); exit(1); if ( tpstart((tpstart_t *)NULL) == -1 ){ printf( "tpstart failed[%s]\n",tpstrerror(tperrno)); exit(1); if ((sndbuf = tpalloc("carray",null,1024)) == NULL) { printf( "sndbuf tpalloc failed[%s]\n", tpstrerror(tperrno)); tpend(); exit(1); if ((rcvbuf = tpalloc("carray",null,1024)) == NULL){ printf( "rcvbuf tpalloc failed[%s]\n", tpstrerror(tperrno)); tpfree((char *)sndbuf); tpend(); exit(1); sndlen = 1000; if (tpcall("postfdltest", (char *)sndbuf, sndlen, (char **)&rcvbuf, &rcvlen, 0 ) < 0){ printf( "tpcall SITETEST failed[%s]\n", tpstrerror(tperrno)); return -1; printf("tpcall success, len = %d\n", rcvlen); tpfree((char *)sndbuf); tpfree((char *)rcvbuf); tpend(); Tmax Soft 47

48 JEUS JEUS WebT 542 #include <stdioh> #include <stdlibh> #include <usrinc/atmih> #include <usrinc/fbufh> #include demo_fdlh << TppostSamplec>> POSTFDLTEST(TPSVCINFO *rqst) { FBUF *sndbuf1, *sndbuf2; int i=0; int id1; int id2; char pwdstring[50]="tppost TEST"; char eventname1[20]= SITE ; char eventname2[20]= SUB ; id1=++i; id2=++i; sndbuf1 = fballoc(100,100); sndbuf2 = fballoc(100,100); printf("[tppost FIELD TYPE TEST count=%d\n", i); fbput(sndbuf1, ID,(char *)&id1,0); fbput(sndbuf1, MSG,pwdString,0); fbput(sndbuf1, SEQNO,eventName1,0); printf("[id] %d [MSG] %s [SEQNO] %s\n", id1, pwdstring, eventname1); fbput(sndbuf2, ID,(char *)&id2,0); fbput(sndbuf2, MSG,pwdString,0); fbput(sndbuf2, SEQNO,eventName2,0); printf("[id] %d [MSG] %s [SEQNO] %s\n", id2, pwdstring, eventname2); tppost(eventname1, (char *)sndbuf1, 0, TPNOFLAGS); tppost(eventname2,(char *)sndbuf2, 0, TPNOFLAGS); tpfree((char*)sndbuf1); tpfree((char*)sndbuf2); tpreturn(tpsuccess, 0, NULL, 0, 0); ECHO(TPSVCINFO *msg) { printf("client message : %s\n ", msg->data); tpreturn(tpsuccess, 0, msg->data,0,0); 48 Tmax Soft

49 JEUS WebT JEUS <<demof>> ID 101 int - - MSG 102 string - - SEQNO 103 string <<samplem>> *DOMAIN tmax SHMKEY = 77990, MAXUSER = 256, TPORTNO = 8889 *NODE tmax *SVRGROUP svg1 TMAXDIR = /home/tmax, APPDIR = /home/tmax/appbin, PATHDIR = /home/tmax/path, TLOGDIR = /home/tmax/log/tlog, ULOGDIR = /home/tmax/log/slog, SLOGDIR = /home/tmax/log/ulog NODENAME = tmax *SERVER TppostSample SVGNAME = svg1 MIN = 1, MAX = 5, CLOPT = e $(SVR)err o $(SVR)out *SERVICE POSTFDLTEST ECHO SVRNAME = TppostSample SVRNAME = TppostSample <<tmaxenv>> [TMAX] TMAX_HOST_ADDR= TAMX_HOST_PORT=8889 FDLFILE=/home/tmax/sample/fdl/tmaxfdl TMAX_CONNECT_TIMEOUT=5 <<webtproperties>> fdlfile=/home/tmax/sample/fdl/tmaxfdl <<Makefilec>> # Server makefile TARGET APOBJS = $(COMP_TARGET) = $(TARGET)o #Not use Db LIBS = -lsvr -lsocket -lnsl -lnodb Tmax Soft 49

50 JEUS JEUS WebT OBJS = $(APOBJS) $(SVCTOBJ) NSDLOBJ = $(TMAXDIR)/lib/sdlo SVCTOBJ = $(TARGET)_svctabo CFLAGS = -O -I$(TMAXDIR) I/ APPDIR = $(TMAXDIR)/appbin SVCTDIR = $(TMAXDIR)/svct LIBDIR = $(TMAXDIR)/lib # SUFFIXES : c co: $(CC) $(CFLAGS) -c $< # server compile $(TARGET): $(OBJS) $(CC) $(CFLAGS) -L$(LIBDIR) -o $(TARGET) $(OBJS) $(LIBS) $(NSDLOBJ) mv $(TARGET) $(APPDIR)/ rm -f $(OBJS) $(APOBJS): $(TARGET)c $(CC) $(CFLAGS) -c $(TARGET)c $(SVCTOBJ): touch $(SVCTDIR)/$(TARGET)_svctabc $(CC) $(CFLAGS) -c $(SVCTDIR)/$(TARGET)_svctabc # clean: -rm -f *o core $(TARGET) <<Makefilecc>> # Tmax client makefile TARGET = $(COMP_TARGET) APOBJS = $(TARGET)o TMAXLIBD= $(TMAXDIR)/lib TMAXLIBS= -lcli -lnsl -lsocket CFLAGS = -O -I$(TMAXDIR) # SUFFIXES : c co: $(CC) $(CFLAGS) -c $< # 50 Tmax Soft

51 JEUS WebT JEUS # client compile # $(TARGET): $(APOBJS) $(CC) $(CFLAGS) -L$(TMAXLIBD) -o $(TARGET) $(APOBJS) $(TMAXLIBS) # clean: -rm -f *o core $(TARGET) 544 ( $ $TMAXDIR TMAX $JEUS_HOME JEUS ) 1 $ cp samplem $TMAXDIR/config 2 $ cfl i samplem 3 $ gst 4 $ fdlc c i demof 5 $ export COMP_TARGET=TppostSample 6 $ make f Makefilec TppostSample 7 $ export COMP_TARGET=tpcall 8 $ make f Makefilecc tpcall 9 $ javac classpath $JEUS_HOME/lib/system/webt30jar TppostSamplejava 10 $ export FDLFILE=/home/tmax/sample/fdl/tmaxfdl 11 webtproperties 12 $ tmboot 13 $ java classpath $JEUS_HOME/lib/system/webt30jar: TppostSample 14 $ tpcall # 55 ACID Tmax Soft 51

52 JEUS JEUS WebT Local Transaction : (DB) Global Transaction : 551 DB tpacall commit() : Field : import tmaxwebt*; <<TxTestjava>> public class TxTest { public static void main(string args[]) throws WebtException { WebtConnectionPoolcreateGroup("tmax1", "127001", 8889, 4, 10, 2); WebtConnection connection = null; try { connection = WebtConnectionPoolgetConnection("tmax1"); catch (WebtIOException wioe) { Systemoutprintln("fail to get WebtConnection of tmax1"); return; WebtAttribute attribute = new WebtAttribute(); WebtTransaction tx = new WebtTransaction(connection); WebtRemoteService service = new WebtRemoteService("FDLINS", connection); // first call WebtFieldSet sndset = new WebtFieldSet(servicecreateFieldBuffer()); sndsetadd("empno", 1234); sndsetadd("ename", "WebT"); sndsetadd("job", "Tmax"); sndsetadd("mgr", 1010); sndsetadd("sal", 10000); sndsetadd("comm", 10); sndsetadd("deptno", 12); int cd1 = 0; int cd2 = 0; txbegin(); 52 Tmax Soft

53 JEUS WebT JEUS try { Systemoutprintln("tpacall first!!!"); cd1 = servicetpacall(sndsetgetfieldbuffer(), attribute); catch (WebtException e) { txrollback(); eprintstacktrace(); throw new WebtException( "exception at tpacall with TPNOTRAN"); try { WebtBuffer rcvbuf = servicetpgetrply(cd1, attribute); //do something catch (WebtException e) { eprintstacktrace(); Systemoutprintln("tpgetrply error!!!"); // second call WebtFieldSet sndset1 = new WebtFieldSet(servicecreateFieldBuffer()); sndset1add("empno", 4321); sndset1add("ename", "JEUS"); sndset1add("job", "Tmax"); sndset1add("mgr", 1110); sndset1add("sal", 20000); sndset1add("comm", 20); sndset1add("deptno", 24); try { Systemoutprintln("tpacall second!!!"); cd2 = servicetpacall(sndset1getfieldbuffer(), attribute); catch (WebtException e) { txrollback(); eprintstacktrace(); throw new WebtException( "exception at tpacall with TPNOTRAN"); try { WebtBuffer rcvbuf1 = servicetpgetrply(cd2, attribute); //do something catch (WebtException e) { eprintstacktrace(); Systemoutprintln("tpgetrply error!!!"); txcommit(); connectionclose(); Tmax Soft 53

54 JEUS JEUS WebT 552 Field DB #include <stdioh> #include <ctypeh> #include <usrinc/atmih> #include <usrinc/fbufh> #include demo_fdlh" <TxTestpc>> EXEC SQL INCLUDE SQLCA; EXEC SQL begin declare section; int h_empno; char h_ename[11]; char h_job[10]; int h_mgr; float h_sal; float h_comm; int h_deptno; EXEC SQL end declare section; FDLINS( TPSVCINFO *msg ) { FBUF *sndbuf; int tint=0; sndbuf = (FBUF *)msg->data; h_empno = h_mgr = h_sal = h_comm = h_deptno = 0; memset( h_ename, 0x00, sizeof( h_ename ) ); memset( h_job, 0x00, sizeof( h_job ) ); fbget( sndbuf, EMPNO, (char *)&h_empno, 0 ); fbget( sndbuf, MGR, (char *)&h_mgr, 0 ); fbget( sndbuf, SAL, (char *)&h_sal, 0 ); fbget( sndbuf, COMM, (char *)&h_comm, 0 ); fbget( sndbuf, DEPTNO,(char *)&h_deptno, 0 ); fbget( sndbuf, ENAME, (char *)h_ename, 0 ); fbget( sndbuf, JOB, (char *)h_job, 0 ); fbget( sndbuf, TINT, (char *)&tint, 0 ); printf("requested delay : %d\n", tint); sleep(tint); printf("recive data %d\n", h_empno); printf(" recive data %s\n", h_ename); printf(" recive data %s\n", h_job); printf(" recive data %d\n", h_mgr); printf(" recive data %f\n", h_sal); 54 Tmax Soft

55 JEUS WebT JEUS printf(" recive data %f\n", h_comm); printf(" recive data %d\n", h_deptno); EXEC SQL INSERT INTO emp( empno, ename, job, mgr, sal,comm,deptno) VALUES ( :h_empno, :h_ename, :h_job, :h_mgr, :h_sal, :h_comm, :h_deptno ); if ( sqlcasqlcode!= 0 ){ printf( "insert failed sqlcode = %d\n",sqlcasqlcode ); tpreturn( TPFAIL, sqlcasqlcode, NULL, 0, 0 ); printf("return\n"); tpreturn( TPSUCCESS, 0, NULL, 0, 0 ); <<demof>> # name number type flags comments TINT 101 int - - EMPNO 102 int - - ENAME 103 string - - JOB 104 string - - MGR 105 int - - SAL 106 float - - COMM 107 float - - DEPTNO 108 int make <<samplem>> *DOMAIN tmax SHMKEY = 77990, MAXUSER = 256, TPORTNO = 8889 *NODE tmax *SVRGROUP svg1 TMAXDIR = /home/tmax, APPDIR = /home/tmax/appbin, PATHDIR = /home/tmax/path, TLOGDIR = /home/tmax/log/tlog, ULOGDIR = /home/tmax/log/slog, SLOGDIR = /home/tmax/log/ulog NODENAME = tmax, DBNAME = ORACLE, Tmax Soft 55

56 JEUS JEUS WebT OPENINFO = "Oracle_XA+Acc=P/scott/tiger+SesTm=60+LogDir=/home/tmax/log/trace log", TMSNAME = tms_ora *SERVER TxTest *SERVICE FDLINS SVGNAME = svg1, MIN = 1, MAX = 5, CLOPT = e $(SVR)err o $(SVR)out SVRNAME = TxTest <<webtproperties>> fdlfile=/home/tmax/sample/fdl/tmaxfdl # Server Pro*C makefile <<Makefilepc>> include $(ORACLE_HOME)/precomp/lib/env_precompmk ORALIBDIR = $(LIBHOME) ORALIB = $(PROLDLIBS) TARGET APOBJS NSDLOBJ = $(COMP_TARGET) = $(TARGET)o = $(TMAXDIR)/lib/sdlo #Oracle LIBS = -lsvr -lsocket -lnsl -loras #Informix #LIBS = -lsvr -lsocket -lnsl -linfs #Db2 #LIBS = -lsvr -lsocket -lnsl -ldb2s #Sybase #LIBS = -lsvr -lsocket -lnsl -lsybs OBJS = $(APOBJS) $(SVCTOBJ) SVCTOBJ = $(TARGET)_svctabo CFLAGS = -O -I$(TMAXDIR) APPDIR = $(TMAXDIR)/appbin SVCTDIR = $(TMAXDIR)/svct TMAXLIBDIR = $(TMAXDIR)/lib # SUFFIXES : c co: $(CC) $(CFLAGS) -c $< # # server compile # 56 Tmax Soft

57 JEUS WebT JEUS all: $(TARGET) $(TARGET): $(OBJS) $(CC) $(CFLAGS) -L$(TMAXLIBDIR) -o $(TARGET) -L$(ORALIBDIR) $(ORALIB) $(OBJS) $(LIBS) $(NSDLOBJ) mv $(TARGET) $(APPDIR)/ rm -f $(OBJS) $(APOBJS): $(TARGET)pc proc iname=$(target) include=$(tmaxdir) $(CC) $(CFLAGS) -c $(TARGET)c $(SVCTOBJ): touch $(SVCTDIR)/$(TARGET)_svctabc $(CC) $(CFLAGS) -c $(SVCTDIR)/$(TARGET)_svctabc # clean: -rm -f *o core $(TARGET) $(TARGET)lis TARGET = tms_ora APOBJ = dumyo <<tms_oramk>> APPDIR = $(TMAXDIR)/appbin TMAXLIBD= $(TMAXDIR)/lib all: $(TARGET) include $(ORACLE_HOME)/precomp/lib/env_precompmk ORALIBDIR = $(LIBHOME) ORALIB = $(PROLDLIBS) TMAXLIBS = -ltms -loras $(TARGET): $(APOBJ) $(CC) -L$(TMAXLIBD) -o $(TARGET) -L$(ORALIBDIR) $(ORALIB) $(APOBJ) $(TMA XLIBS) mv $(TARGET) $(APPDIR) $(APOBJ): $(CC) -c dumyc # clean: -rm -f *o core $(APPDIR)/$(TARGET) 554 ( $ $TMAXDIR TMAX $JEUS_HOME JEUS ) Tmax Soft 57

58 JEUS JEUS WebT 1 $ cp samplem $TMAXDIR/config 2 $ cfl i samplem 3 $ gst 4 $ fdlc c i demof 5 $ export COMP_TARGET=TxTest 6 $ make f Makefilepc TxTest 7 $ touch dumyc #tms_oramk 8 $ make f tms_oramk 9 $ javac classpath $JEUS_HOME/lib/system/webt30jar: TxTestjava 10 $ export FDLFILE=/home/tmax/fdl/tmaxfdl 11 webtproperties 12 $ tmboot 13 $ java classpath $JEUS_HOME/lib/system/webt30jar: TxTest 56 JSP JSP(Java Server Page) 561 : STRING : <<toupperjsp>> <%@ page import="javaio*" %> <%@ page import="javautil*" %> <%@ page import="tmaxwebt*" %> <% WebtConnection connection = null; WebtConnection conn = null; WebtRemoteService service = null; WebtBuffer sndbuf = null; WebtBuffer rcvbuf = null; 58 Tmax Soft

59 JEUS WebT JEUS WebtSystemsetDefaultCharset("euc-kr"); try { connection = WebtConnectionPoolgetConnection("tmax1"); service = new WebtRemoteService("STR_TOUPPER", connection); sndbuf = servicecreatestringbuffer(2084); String sndstr = "Welcome to Korea"; sndbufsetstring(sndstr); rcvbuf = servicetpcall(sndbuf); outprintln("<html><body>"); outprintln("<big> + rcvbufgetstring() + "(" + rcvbufgetdatalength() + ")</BIG><P>"); outprintln("<big> [tmax1 rcvbuf data] " + rcvbuf +"</BIG><P>"); outprintln("</body></html>"); catch (WebtException wie) { wieprintstacktrace(systemout); Throwable t = wiegetrootcause(); if (t!= null) tprintstacktrace(systemout); %> connectionclose(); Systemexit(1); finally { connectionclose(); 562 #include <stdioh> #include <ctypeh> #include <usrinc/atmih> << toupperc>> STR_TOUPPER(TPSVCINFO *msg) { int i, len; char *instr = (char *)msg->data; len = strlen(instr); for(i=0; i<len; i++) instr[i] = toupper(instr[i]); tpreturn(tpsuccess, 0, (char *)instr, 0, 0); Tmax Soft 59

60 JEUS JEUS WebT 563 make <<webtproperties>> enablemodify=false enableconnectionpool=true connectionpoolgroups=tmax1 connectionpooltmaxtype=shared connectionpooltmax1hostaddr= connectionpooltmax1hostport=8889 connectionpooltmax1initcapacity=1 connectionpooltmax1maxcapacity=10 connectionpooltmax1incrementrate=2 connectionpooltmax1maxidletime=60 connectionpooltmax1tptimeout=40 connectionpooltmax1txtimeout=60 connectionpooltmax1connecttimeout=10 <<samplem >> *DOMAIN tmax SHMKEY = 77990, MAXUSER = 256, TPORTNO = 8889 *NODE tmax *SVRGROUP svg1 *SERVER toupper *SERVICE STR_TOUPPER TMAXDIR = /home/tmax, APPDIR = /home/tmax/appbin, PATHDIR = /home/tmax/path, TLOGDIR = /home/tmax/log/tlog, ULOGDIR = /home/tmax/log/slog, SLOGDIR = /home/tmax/log/ulog NODENAME = tmax SVGNAME = svg1 MIN = 1, MAX = 5, CLOPT = e $(SVR)err o $(SVR)out SVRNAME = toupper # Server makefile <<Makefilec>> TARGET APOBJS = $(COMP_TARGET) = $(TARGET)o #Not use Db LIBS = -lsvr -lsocket -lnsl lnodb OBJS = $(APOBJS) $(SVCTOBJ) NSDLOBJ = $(TMAXDIR)/lib/sdlo 60 Tmax Soft

61 JEUS WebT JEUS SVCTOBJ = $(TARGET)_svctabo CFLAGS = -O -I$(TMAXDIR) APPDIR = $(TMAXDIR)/appbin SVCTDIR = $(TMAXDIR)/svct LIBDIR = $(TMAXDIR)/lib # SUFFIXES : c co: $(CC) $(CFLAGS) -c $< # server compile $(TARGET): $(OBJS) $(CC) $(CFLAGS) -L$(LIBDIR) -o $(TARGET) $(OBJS) $(LIBS) $(NSDLOBJ) mv $(TARGET) $(APPDIR)/ rm -f $(OBJS) $(APOBJS): $(TARGET)c $(CC) $(CFLAGS) -c $(TARGET)c $(SVCTOBJ): touch $(SVCTDIR)/$(TARGET)_svctabc $(CC) $(CFLAGS) -c $(SVCTDIR)/$(TARGET)_svctabc # clean: -rm -f *o core $(TARGET) 564 ( $ $TMAXDIR TMAX $JEUS_HOME JEUS ) 1 $ cp samplem $TMAXDIR/config 2 $ cfl i samplem 3 $ gst 4 $ export COMP_TARGET=toupper 5 $ make f Makefilec toupper 6 $ tmboot 7 $ cp webtproperties $JEUS_HOME/lib/application 8 $ cp toupperjsp $SERVLET_HOME/webapps/examples/tmax Tmax Soft 61

62 JEUS JEUS WebT 9 $ jeus -xml Uusername -Ppassward 10 : 57 Servlet Servlet 571 Carray Field Echo : Carray, Field : <<PoolTestjava>> import javaio*; import javautil*; import javaxservlet*; import javaxservlethttp*; import tmaxwebt*; public class PoolTest extends HttpServlet { public void doget(httpservletrequest request, HttpServletResponse response) throws IOException, ServletException { responsesetcontenttype("text/html"); PrintWriter out = responsegetwriter(); outprintln("<html>"); outprintln("<head>"); String title = "Request Information APIs"; outprintln("<title>" + title + "</title>"); outprintln("</head>"); outprintln("<body bgcolor=\"white\">"); WebtConnection connection = null; WebtRemoteService service = null; WebtBuffer sndbuf = null; WebtBuffer rcvbuf = null; try { WebtConnectionPoolcreateGroup("tmax1", "127001", 8889, 4, 10, 2); long t1 = SystemcurrentTimeMillis(); connection = WebtConnectionPoolgetConnection("tmax1"); Systemoutprintln("After getconnection"); connectionsettptimeout(15); service = new WebtRemoteService("CAR_ECHO", connection); 62 Tmax Soft

63 JEUS WebT JEUS Systemoutprintln(">>>>>> StringBuffer Test <<<<<<<<<"); sndbuf = servicecreatestringbuffer(2048); String sndstr = "[STRING] connection pool test start"; sndbufsetstring(sndstr); Systemoutprintln("\tsend string : " + sndstr + "(" + sndbufgetdatalength() + ")"); rcvbuf = servicetpcall(sndbuf); Systemoutprintln("\t tmax1 recv string : " + rcvbufgetstring() + "(" + rcvbufgetdatalength() + ")"); Systemoutprintln("\t tmax1 rcv data : " + rcvbuf); Systemoutprintln(">>>>>> CarrayBuffer Test <<<<<<<<<"); servicesetservicename("car_echo"); sndbuf = servicecreatecarraybuffer(2048); sndstr = "[CARRAY] start"; sndbufsetstring(sndstr); Systemoutprintln("\tsend string : " + sndstr + "(" + sndbufgetdatalength() + ")"); rcvbuf = servicetpcall(sndbuf); Systemoutprintln("\trecv string : " + rcvbufgetstring() + "(" + rcvbufgetdatalength() + ")"); Systemoutprintln(rcvbuf); Systemoutprintln(">>>>>> FieldBuffer Test <<<<<<<<<"); long t2 = SystemcurrentTimeMillis(); servicesetservicename("field_echo"); sndbuf = servicecreatefieldbuffer(1024); WebtField shortfield = sndbufcreatefield("tshort"); for (int i=0; i<5; i++) shortfieldadd(i); WebtField intfield = sndbufcreatefield("tint"); for (int i=0; i<5; i++) intfieldadd(i); WebtField longfield = sndbufcreatefield("tlong"); for (int i=0; i<5; i++) longfieldadd(i); WebtField floatfield = sndbufcreatefield("tfloat"); for (int i=0; i<5; i++) floatfieldadd(i); WebtField doublefield = sndbufcreatefield("tdouble"); for (int i=0; i<5; i++) doublefieldadd(i); WebtField carrayfield = sndbufcreatefield("tcarray"); String cdata = "CARRAY FIELD "; String cdata1 = "CARRAY FIELD "; for (int i=0; i<5; i++) { carrayfieldadd(cdata + i); cdata = cdata + cdata1; Tmax Soft 63

64 JEUS JEUS WebT WebtField stringfield = sndbufcreatefield("tstring"); String sdata = "STRING FIELD "; for (int i=0; i<5; i++) { sdata += "X"; stringfieldadd(sdata + i); long t3 = SystemcurrentTimeMillis(); rcvbuf = servicetpcall(sndbuf); Vector fieldlist = rcvbufgetfields(); for(enumeration e = fieldlistelements(); ehasmoreelements(); ) { WebtField fields = (WebtField)enextElement(); Systemoutprintln("[Field Key] : " + fieldsgetfieldkey()); int fieldtype = fieldsgetfieldtype(); Vector elements = fieldsgetfieldvector(); for(int j=1 ; j < elementssize(); j++) { switch(fieldtype) { case WebtFieldFB_CARRAY: Systemoutprintln("[Value"+j+"] : " + new String(fieldsget(j)bytesValue())); break; case WebtFieldFB_DOUBLE: Systemoutprintln("[Value"+j+"] : " + fieldsget(j)doublevalue()); break; case WebtFieldFB_FLOAT: Systemoutprintln("[Value"+j+"] : " + fieldsget(j)floatvalue()); break; case WebtFieldFB_INT: Systemoutprintln("[Value"+j+"] : " + fieldsget(j)intvalue()); break; long t4 = SystemcurrentTimeMillis(); Systemoutprintln("etime = " + (t4-t1)); Systemoutprintln("field make = " + (t3-t2)); Systemoutprintln("field recv = " + (t4-t3)); outprintln("</body>"); outprintln("</html>"); catch (WebtException wie) { wieprintstacktrace(systemout); Throwable t = wiegetrootcause(); if (t!= null) 64 Tmax Soft

65 JEUS WebT JEUS tprintstacktrace(systemout); connectionclose(); connectionclose(); 572 echo #include <stdioh> #include <unistdh> #include <usrinc/atmih> #include <usrinc/fbufh> #include "demo_fdlh" #include <sys/timebh> <PoolTestc>> CAR_ECHO(TPSVCINFO *msg) { int i, len; char *instr = (char *)msg->data; char *outstr; len = msg->len; outstr = tpalloc("carray", NULL, len); for(i=0; i<len; i++) outstr[i] = instr[i]; tpreturn(tpsuccess, 0, (char *)outstr, len, 0); FIELD_ECHO(TPSVCINFO *msg) { int i, len, n; FBUF *rcvbuf = (FBUF *)msg->data; FBUF *sndbuf; char tchar; short tshort; int tint; long tlong; float tfloat; double tdouble; char tcarray[102400]; char tstring[102400]; int fldlen; struct timeb startt; struct timeb endt; time_t sec; int msec; int count = 0; int pos = 0; Tmax Soft 65

66 JEUS JEUS WebT ftime(&startt); len = msg->len; printf("[field_echo] datalen = %d\n", len); sndbuf = (FBUF *)tpalloc("field", NULL, len); count = 0; pos = 0; while (1) { n = fbgetf(rcvbuf, TINT, (char *)&tint, &fldlen, &pos); if (n < 0) break; fbinsert(sndbuf, TINT, count, (char *)&tint, fldlen); count++; printf("[field_echo] TINT count = %d\n", count); count = 0; pos = 0; while (1) { n = fbgetf(rcvbuf, TLONG, (char *)&tlong, &fldlen, &pos); if (n < 0) break; fbinsert(sndbuf, TLONG, count, (char *)&tlong, fldlen); count++; printf("[field_echo] TLONG count = %d\n", count); count = 0; pos = 0; while (1) { n = fbgetf(rcvbuf, TFLOAT, (char *)&tfloat, &fldlen, &pos); if (n < 0) break; fbinsert(sndbuf, TFLOAT, count, (char *)&tfloat, fldlen); count++; printf("[field_echo] TFLOAT count = %d\n", count); count = 0; pos = 0; while (1) { n = fbgetf(rcvbuf, TDOUBLE, (char *)&tdouble, &fldlen, &pos); if (n < 0) break; fbinsert(sndbuf, TDOUBLE, count, (char *)&tdouble, fldlen); count++; printf("[field_echo] TDOUBLE count = %d\n", count); count = 0; pos = 0; while (1) { 66 Tmax Soft

67 JEUS WebT JEUS n = fbgetf(rcvbuf, TSTRING, (char *)tstring, &fldlen, &pos); if (n < 0) break; fbinsert(sndbuf, TSTRING, count, (char *)tstring, fldlen); count++; printf("[field_echo] TSTRING count = %d\n", count); ftime(&endt); sec = endttime - startttime; msec = endtmillitm - starttmillitm; if (msec < 0) { --sec; msec += 1000; printf("[field_echo] processing time = %d sec %d msec\n", sec, msec); tpreturn(tpsuccess, 0, (char *)sndbuf, 0, 0); <<demof>> # name number type flags comments TSHORT 100 short - -: TINT 101 int - - TLONG 102 long - - TFLOAT 103 float - - TDOUBLE 104 double - - TSTRING 105 string make <<webtproperties>> fdlfile=/home/tmax/sample/fdl/tmaxfdl <<webxml>> <servlet> <servlet-name>pooltest</servlet-name> <servlet-class>pooltest</servlet-class> </servlet> <servlet-mapping> <servlet-name>pooltest</servlet-name> <url-pattern>/pool</url-pattern> </servlet-mapping> <<samplem >> *DOMAIN tmax SHMKEY = 77990, MAXUSER = 256, TPORTNO = 8889 *NODE Tmax Soft 67

68 JEUS JEUS WebT tmax *SVRGROUP svg1 *SERVER PoolTest TMAXDIR = /home/tmax, APPDIR = /home/tmax/appbin, PATHDIR = /home/tmax/path, TLOGDIR = /home/tmax/log/tlog, ULOGDIR = /home/tmax/log/slog, SLOGDIR = /home/tmax/log/ulog NODENAME = tmax SVGNAME = svg1 MIN = 1, MAX = 5, CLOPT = e $(SVR)err o $(SVR)out *SERVICE CAR_ECHO SVRNAME = PoolTest FIELD_ECHO SVRNAME = PoolTest # Server makefile <<Makefilec>> TARGET APOBJS = $(COMP_TARGET) = $(TARGET)o #Not use Db LIBS = -lsvr -lnodb OBJS = $(APOBJS) $(SVCTOBJ) NSDLOBJ = $(TMAXDIR)/lib/sdlo SVCTOBJ = $(TARGET)_svctabo CFLAGS = -O -I$(TMAXDIR) I/ APPDIR = $(TMAXDIR)/appbin SVCTDIR = $(TMAXDIR)/svct LIBDIR = $(TMAXDIR)/lib # SUFFIXES : c co: $(CC) $(CFLAGS) -c $< # server compile $(TARGET): $(OBJS) $(CC) $(CFLAGS) -L$(LIBDIR) -o $(TARGET) $(OBJS) $(LIBS) $(NSDLOBJ) mv $(TARGET) $(APPDIR)/ rm -f $(OBJS) $(APOBJS): $(TARGET)c $(CC) $(CFLAGS) -c $(TARGET)c 68 Tmax Soft

목차 1. 환경변수 OS별환경변수설정 ESQL 시작 ESQL 프로그램생성젃차 오라클 Pro*C 젂환 Precompiler 변경 확장자 *.pc를 *.tbc로변경

목차 1. 환경변수 OS별환경변수설정 ESQL 시작 ESQL 프로그램생성젃차 오라클 Pro*C 젂환 Precompiler 변경 확장자 *.pc를 *.tbc로변경 개발및운영 Tibero ProC 전환및 Tmax 설정 2014. 05. 16. 목차 1. 환경변수... 3 1.1. OS별환경변수설정... 3 2. ESQL 시작... 4 2.1. ESQL 프로그램생성젃차... 4 3. 오라클 Pro*C 젂환... 5 3.1 Precompiler 변경... 5 3.2 확장자 *.pc를 *.tbc로변경... 5 3.3 티베로젂환시주의사항...

More information

Microsoft Word - AnyLink Introduction v3.2.3.doc

Microsoft Word - AnyLink Introduction v3.2.3.doc Copyright 2007 Tmax Soft Co., Ltd. All Rights Reserved. AnyLInk Copyright Notice Copyright 2007 Tmax Soft Co., Ltd. All Rights Reserved. Tmax Soft Co., Ltd. 대한민국서울시강남구대치동 946-1 글라스타워 18 층우 )135-708 Restricted

More information

13주-14주proc.PDF

13주-14주proc.PDF 12 : Pro*C/C++ 1 2 Embeded SQL 3 PRO *C 31 C/C++ PRO *C NOT! NOT AND && AND OR OR EQUAL == = SQL,,, Embeded SQL SQL 32 Pro*C C SQL Pro*C C, C Pro*C, C C 321, C char : char[n] : n int, short, long : float

More information

rmi_박준용_final.PDF

rmi_박준용_final.PDF (RMI) - JSTORM http://wwwjstormpekr (RMI)- Document title: Document file name: Revision number: Issued by: Document Information (RMI)- rmi finaldoc Issue Date: Status:

More information

Connection 8 22 UniSQLConnection / / 9 3 UniSQL OID SET

Connection 8 22 UniSQLConnection / / 9 3 UniSQL OID SET 135-080 679-4 13 02-3430-1200 1 2 11 2 12 2 2 8 21 Connection 8 22 UniSQLConnection 8 23 8 24 / / 9 3 UniSQL 11 31 OID 11 311 11 312 14 313 16 314 17 32 SET 19 321 20 322 23 323 24 33 GLO 26 331 GLO 26

More information

PowerPoint 프레젠테이션

PowerPoint 프레젠테이션 @ Lesson 2... ( ). ( ). @ vs. logic data method variable behavior attribute method field Flow (Type), ( ) member @ () : C program Method A ( ) Method B ( ) Method C () program : Java, C++, C# data @ Program

More information

02 C h a p t e r Java

02 C h a p t e r Java 02 C h a p t e r Java Bioinformatics in J a va,, 2 1,,,, C++, Python, (Java),,, (http://wwwbiojavaorg),, 13, 3D GUI,,, (Java programming language) (Sun Microsystems) 1995 1990 (green project) TV 22 CHAPTER

More information

Tmax

Tmax Tmax JTmaxServer User Guide Tmax v5.0 SP1 Copyright 2009 TmaxSoft Co., Ltd. All Rights Reserved. Copyright Notice Copyright 2009 TmaxSoft Co., Ltd. All Rights Reserved. 대한민국경기도성남시분당구서현동 263 분당스퀘어 (AK 프라자

More information

Interstage5 SOAP서비스 설정 가이드

Interstage5 SOAP서비스 설정 가이드 Interstage 5 Application Server ( Solaris ) SOAP Service Internet Sample Test SOAP Server Application SOAP Client Application CORBA/SOAP Server Gateway CORBA/SOAP Gateway Client INTERSTAGE SOAP Service

More information

JavaGeneralProgramming.PDF

JavaGeneralProgramming.PDF , Java General Programming from Yongwoo s Park 1 , Java General Programming from Yongwoo s Park 2 , Java General Programming from Yongwoo s Park 3 < 1> (Java) ( 95/98/NT,, ) API , Java General Programming

More information

Tmax FDL Reference Manual : TMFR : Tmax 3.8 : Sep 20, 2003 : Sep 20, 2003

Tmax FDL Reference Manual : TMFR : Tmax 3.8 : Sep 20, 2003 : Sep 20, 2003 Tmax FDL Reference Manual : TMFR-0702-08-380 : Tmax 3.8 : Sep 20, 2003 : Sep 20, 2003 Tmax FDL Reference Manual Tmax 3.8 1 2 Copyright (c) 2001 Tmax Soft Co., Ltd. All Rights Reserved.,,, Tmax soft.,,,.....

More information

PowerPoint 프레젠테이션

PowerPoint 프레젠테이션 @ Lesson 3 if, if else, if else if, switch case for, while, do while break, continue : System.in, args, JOptionPane for (,, ) @ vs. logic data method variable Data Data Flow (Type), ( ) @ Member field

More information

14-Servlet

14-Servlet JAVA Programming Language Servlet (GenericServlet) HTTP (HttpServlet) 2 (1)? CGI 3 (2) http://jakarta.apache.org JSDK(Java Servlet Development Kit) 4 (3) CGI CGI(Common Gateway Interface) /,,, Client Server

More information

Tmax Getting Started Guide Tmax 3.8 Tmax Getting Started Guide

Tmax Getting Started Guide Tmax 3.8 Tmax Getting Started Guide Tmax Getting Started Guide : TMGS-0731-05-380 : Tmax 3.8 : July 31, 2003 : Sep 20, 2003 Tmax Getting Started Guide Tmax 3.8 Tmax Getting Started Guide Copyright (c) 2001 Tmax Soft Co., Ltd. All Rights

More information

Analytics > Log & Crash Search > Unity ios SDK [Deprecated] Log & Crash Unity ios SDK. TOAST SDK. Log & Crash Unity SDK Log & Crash Search. Log & Cras

Analytics > Log & Crash Search > Unity ios SDK [Deprecated] Log & Crash Unity ios SDK. TOAST SDK. Log & Crash Unity SDK Log & Crash Search. Log & Cras Analytics > Log & Crash Search > Unity ios SDK [Deprecated] Log & Crash Unity ios SDK. TOAST SDK. Log & Crash Unity SDK Log & Crash Search. Log & Crash Unity SDK... Log & Crash Search. - Unity3D v4.0 ios

More information

untitled

untitled Push... 2 Push... 4 Push... 5 Push... 13 Push... 15 1 FORCS Co., LTD A Leader of Enterprise e-business Solution Push (Daemon ), Push Push Observer. Push., Observer. Session. Thread Thread. Observer ID.

More information

6주차.key

6주차.key 6, Process concept A program in execution Program code PCB (process control block) Program counter, registers, etc. Stack Heap Data section => global variable Process in memory Process state New Running

More information

개요오라클과티베로에서 JDBC 를통해접속한세션을구분할수있도록 JDBC 접속시 ConnectionProperties 를통해구분자를넣어줄수있다. 하나의 Node 에다수의 WAS 가있을경우 DB 에서 Session Kill 등의동작수행시원하는 Session 을선택할수있다.

개요오라클과티베로에서 JDBC 를통해접속한세션을구분할수있도록 JDBC 접속시 ConnectionProperties 를통해구분자를넣어줄수있다. 하나의 Node 에다수의 WAS 가있을경우 DB 에서 Session Kill 등의동작수행시원하는 Session 을선택할수있다. 설치및환경설정 JDBC 접속세션구분 / 확인 2013. 11. 01 개요오라클과티베로에서 JDBC 를통해접속한세션을구분할수있도록 JDBC 접속시 ConnectionProperties 를통해구분자를넣어줄수있다. 하나의 Node 에다수의 WAS 가있을경우 DB 에서 Session Kill 등의동작수행시원하는 Session 을선택할수있다. 사용하기 JEUS 에서설정방법

More information

Sena Technologies, Inc. HelloDevice Super 1.1.0

Sena Technologies, Inc. HelloDevice Super 1.1.0 HelloDevice Super 110 Copyright 1998-2005, All rights reserved HelloDevice 210 ()137-130 Tel: (02) 573-5422 Fax: (02) 573-7710 E-Mail: support@senacom Website: http://wwwsenacom Revision history Revision

More information

J2EE Concepts

J2EE Concepts ! Introduction to J2EE (1) - J2EE Servlet/JSP/JDBC iseminar.. 1544-3355 ( ) iseminar Chat. 1 Who Are We? Business Solutions Consultant Oracle Application Server 10g Business Solutions Consultant Oracle10g

More information

ORANGE FOR ORACLE V4.0 INSTALLATION GUIDE (Online Upgrade) ORANGE CONFIGURATION ADMIN O

ORANGE FOR ORACLE V4.0 INSTALLATION GUIDE (Online Upgrade) ORANGE CONFIGURATION ADMIN O Orange for ORACLE V4.0 Installation Guide ORANGE FOR ORACLE V4.0 INSTALLATION GUIDE...1 1....2 1.1...2 1.2...2 1.2.1...2 1.2.2 (Online Upgrade)...11 1.3 ORANGE CONFIGURATION ADMIN...12 1.3.1 Orange Configuration

More information

untitled

untitled - -, (insert) (delete) - - (insert) (delete) (top ) - - (insert) (rear) (delete) (front) A A B top A B C top push(a) push(b) push(c) A B top pop() top A B D push(d) top #define MAX_STACK_SIZE 100 int

More information

Tmax COBOL Guide : TMCG : Tmax 3.8 : July 31, 2003 : Sep 20, 2003

Tmax COBOL Guide : TMCG : Tmax 3.8 : July 31, 2003 : Sep 20, 2003 Tmax COBOL Guide : TMCG-0731-03-380 : Tmax 3.8 : July 31, 2003 : Sep 20, 2003 Tmax COBOL Guide Tmax 3.8 Tmax COBOL Guide Tmax COBOL Guide Tmax COBOL Guide 1. 1.1... 7 1.2 Sample file... 8 1.2.1 Sample

More information

歯JavaExceptionHandling.PDF

歯JavaExceptionHandling.PDF (2001 3 ) from Yongwoo s Park Java Exception Handling Programming from Yongwoo s Park 1 Java Exception Handling Programming from Yongwoo s Park 2 1 4 11 4 4 try/catch 5 try/catch/finally 9 11 12 13 13

More information

자바-11장N'1-502

자바-11장N'1-502 C h a p t e r 11 java.net.,,., (TCP/IP) (UDP/IP).,. 1 ISO OSI 7 1977 (ISO, International Standards Organization) (OSI, Open Systems Interconnection). 6 1983 X.200. OSI 7 [ 11-1] 7. 1 (Physical Layer),

More information

12-file.key

12-file.key 11 (String).. java.lang.stringbuffer. s String s = "abcd"; s = s + "e"; a b c d e a b c d e ,., "910359,, " "910359" " " " " (token) (token),, (delimiter). java.util.stringtokenizer String s = "910359,,

More information

PowerPoint 프레젠테이션

PowerPoint 프레젠테이션 @ Lesson 1,..... @ 1 Green Project 1991 Oak Java 1995. 5 December '90 by Patrick Naughton, Mike Sheridan and James Gosling Embedded in various consumer electronic device 1992. 9. 3 Star 7 1993 www portability

More information

DocsPin_Korean.pages

DocsPin_Korean.pages Unity Localize Script Service, Page 1 Unity Localize Script Service Introduction Application Game. Unity. Google Drive Unity.. Application Game. -? ( ) -? -?.. 준비사항 Google Drive. Google Drive.,.. - Google

More information

I T C o t e n s P r o v i d e r h t t p : / / w w w. h a n b i t b o o k. c o. k r

I T C o t e n s P r o v i d e r h t t p : / / w w w. h a n b i t b o o k. c o. k r I T C o t e n s P r o v i d e r h t t p : / / w w w. h a n b i t b o o k. c o. k r I T C o t e n s P r o v i d e r h t t p : / / w w w. h a n b i t b o o k. c o. k r Jakarta is a Project of the Apache

More information

untitled

untitled Step Motor Device Driver Embedded System Lab. II Step Motor Step Motor Step Motor source Embedded System Lab. II 2 open loop, : : Pulse, 1 Pulse,, -, 1 +5%, step Step Motor (2),, Embedded System Lab. II

More information

목차 JEUS EJB Session Bean가이드 stateful session bean stateful sample 가이드 sample source 결과확인 http session에

목차 JEUS EJB Session Bean가이드 stateful session bean stateful sample 가이드 sample source 결과확인 http session에 개념정리및샘플예제 EJB stateful sample 문서 2016. 01. 14 목차 JEUS EJB Session Bean가이드... 3 1. stateful session bean... 3 1.1 stateful sample 가이드... 3 1.1.1 sample source... 3 1.1.2 결과확인... 6 1.2 http session에서사용하기...

More information

JMF3_심빈구.PDF

JMF3_심빈구.PDF JMF JSTORM http://wwwjstormpekr Issued by: < > Revision: Document Information Document title: Document file name: Revision number: Issued by: JMF3_ doc Issue Date:

More information

Chap12

Chap12 12 12Java RMI 121 RMI 2 121 RMI 3 - RMI, CORBA 121 RMI RMI RMI (remote object) 4 - ( ) UnicastRemoteObject, 121 RMI 5 class A - class B - ( ) class A a() class Bb() 121 RMI 6 RMI / 121 RMI RMI 1 2 ( 7)

More information

MasoJava4_Dongbin.PDF

MasoJava4_Dongbin.PDF JSTORM http://wwwjstormpekr Issued by: < > Revision: Document Information Document title: Document file name: MasoJava4_Dongbindoc Revision number: Issued by: < > SI, dbin@handysoftcokr

More information

NoSQL

NoSQL MongoDB Daum Communications NoSQL Using Java Java VM, GC Low Scalability Using C Write speed Auto Sharding High Scalability Using Erlang Read/Update MapReduce R/U MR Cassandra Good Very Good MongoDB Good

More information

Microsoft PowerPoint - 04-UDP Programming.ppt

Microsoft PowerPoint - 04-UDP Programming.ppt Chapter 4. UDP Dongwon Jeong djeong@kunsan.ac.kr http://ist.kunsan.ac.kr/ Dept. of Informatics & Statistics 목차 UDP 1 1 UDP 개념 자바 UDP 프로그램작성 클라이언트와서버모두 DatagramSocket 클래스로생성 상호간통신은 DatagramPacket 클래스를이용하여

More information

신림프로그래머_클린코드.key

신림프로그래머_클린코드.key CLEAN CODE 6 11st Front Dev. Team 6 1. 2. 3. checked exception 4. 5. 6. 11 : 2 4 : java (50%), javascript (35%), SQL/PL-SQL (15%) : Spring, ibatis, Oracle, jquery ? , (, ) ( ) 클린코드를 무시한다면 . 6 1. ,,,!

More information

JMF2_심빈구.PDF

JMF2_심빈구.PDF JMF JSTORM http://wwwjstormpekr Issued by: < > Document Information Document title: Document file name: Revision number: Issued by: JMF2_ doc Issue Date: Status: < > raica@nownurinet

More information

Tmax Programming Guide ( UCS ) Tmax 38 Tmax Programming Guide (UCS)

Tmax Programming Guide ( UCS ) Tmax 38 Tmax Programming Guide (UCS) Tmax Programming Guide ( UCS ) : TMUCS-0219-03-380 : Tmax 38 : FEB 19, 2003 : SEP 20, 2003 Tmax Programming Guide ( UCS ) Tmax 38 Tmax Programming Guide (UCS) Copyright (c) 2001 Tmax Soft Co, Ltd All Rights

More information

<C0CCBCBCBFB52DC1A4B4EBBFF82DBCAEBBE7B3EDB9AE2D313939392D382E687770>

<C0CCBCBCBFB52DC1A4B4EBBFF82DBCAEBBE7B3EDB9AE2D313939392D382E687770> i ii iii iv v vi 1 2 3 4 가상대학 시스템의 국내외 현황 조사 가상대학 플랫폼 개발 이상적인 가상대학시스템의 미래상 제안 5 웹-기반 가상대학 시스템 전통적인 교수 방법 시간/공간 제약을 극복한 학습동기 부여 교수의 일방적인 내용전달 교수와 학생간의 상호작용 동료 학생들 간의 상호작용 가상대학 운영 공지사항,강의록 자료실, 메모 질의응답,

More information

KYO_SCCD.PDF

KYO_SCCD.PDF 1. Servlets. 5 1 Servlet Model. 5 1.1 Http Method : HttpServlet abstract class. 5 1.2 Http Method. 5 1.3 Parameter, Header. 5 1.4 Response 6 1.5 Redirect 6 1.6 Three Web Scopes : Request, Session, Context

More information

1

1 1 1....6 1.1...6 2. Java Architecture...7 2.1 2SDK(Software Development Kit)...8 2.2 JRE(Java Runtime Environment)...9 2.3 (Java Virtual Machine, JVM)...10 2.4 JVM...11 2.5 (runtime)jvm...12 2.5.1 2.5.2

More information

MAX+plus II Getting Started - 무작정따라하기

MAX+plus II Getting Started - 무작정따라하기 무작정 따라하기 2001 10 4 / Version 20-2 0 MAX+plus II Digital, Schematic Capture MAX+plus II, IC, CPLD FPGA (Logic) ALTERA PLD FLEX10K Series EPF10K10QC208-4 MAX+plus II Project, Schematic, Design Compilation,

More information

04장

04장 20..29 1: PM ` 199 ntech4 C9600 2400DPI 175LPI T CHAPTER 4 20..29 1: PM ` 200 ntech4 C9600 2400DPI 175LPI T CHAPTER 4.1 JSP (Comment) HTML JSP 3 home index jsp HTML JSP 15 16 17 18 19 20

More information

교육2 ? 그림

교육2 ? 그림 Interstage 5 Apworks EJB Application Internet Revision History Edition Date Author Reviewed by Remarks 1 2002/10/11 2 2003/05/19 3 2003/06/18 EJB 4 2003/09/25 Apworks5.1 [ Stateless Session Bean ] ApworksJava,

More information

Interstage4 설치가이드

Interstage4 설치가이드 Interstage Application Server V501 Operation Guide Internet 1 1 1 FJApache FJApache (WWW (WWW server) server) - - file file - - 2 2 InfoProviderPro InfoProviderPro (WWW (WWW server) server) - - file file

More information

Microsoft Word - Tmax Programming Guide _ UCS _.doc

Microsoft Word - Tmax Programming Guide _ UCS _.doc Tmax Programming Guide ( UCS ) Copyright 2000 TmaxSoft Co., Ltd. All Rights Reserved Copyright Notice Copyright 2000 TmaxSoft Co., Ltd. All Rights Reserved. TmaxSoft Co., Ltd. 대한민국서울시강남구대치동 946-1 글라스타워

More information

fundamentalOfCommandPattern_calmglow_pattern_jstorm_1.0_f…

fundamentalOfCommandPattern_calmglow_pattern_jstorm_1.0_f… Command JSTORM http://www.jstorm.pe.kr Command Issued by: < > Revision: Document Information Document title: Command Document file name: Revision number: Issued by: Issue

More information

À©µµ³×Æ®¿÷ÇÁ·Î±×·¡¹Ö4Àå_ÃÖÁ¾

À©µµ³×Æ®¿÷ÇÁ·Î±×·¡¹Ö4Àå_ÃÖÁ¾ P a 02 r t Chapter 4 TCP Chapter 5 Chapter 6 UDP Chapter 7 Chapter 8 GUI C h a p t e r 04 TCP 1 3 1 2 3 TCP TCP TCP [ 4 2] listen connect send accept recv send recv [ 4 1] PC Internet Explorer HTTP HTTP

More information

API STORE 키발급및 API 사용가이드 Document Information 문서명 : API STORE 언어별 Client 사용가이드작성자 : 작성일 : 업무영역 : 버전 : 1 st Draft. 서브시스템 : 문서번호 : 단계 : Docum

API STORE 키발급및 API 사용가이드 Document Information 문서명 : API STORE 언어별 Client 사용가이드작성자 : 작성일 : 업무영역 : 버전 : 1 st Draft. 서브시스템 : 문서번호 : 단계 : Docum API STORE 키발급및 API 사용가이드 Document Information 문서명 : API STORE 언어별 Client 사용가이드작성자 : 작성일 : 2012.11.23 업무영역 : 버전 : 1 st Draft. 서브시스템 : 문서번호 : 단계 : Document Distribution Copy Number Name(Role, Title) Date

More information

PowerPoint 프레젠테이션

PowerPoint 프레젠테이션 Network Programming Jo, Heeseung Network 실습 네트워크프로그래밍 멀리떨어져있는호스트들이서로데이터를주고받을수있도록프로그램을구현하는것 파일과는달리데이터를주고받을대상이멀리떨어져있기때문에소프트웨어차원에서호스트들간에연결을해주는장치가필요 이러한기능을해주는장치로소켓이라는인터페이스를많이사용 소켓프로그래밍이란용어와네트워크프로그래밍이랑용어가같은의미로사용

More information

bn2019_2

bn2019_2 arp -a Packet Logging/Editing Decode Buffer Capture Driver Logging: permanent storage of packets for offline analysis Decode: packets must be decoded to human readable form. Buffer: packets must temporarily

More information

3ÆÄÆ®-11

3ÆÄÆ®-11 Chapter 11 Chapter 12 Chapter 13 Chapter 14 Chapter 15 Chapter 16 Chapter 17 C # N e t w o r k P r o g r a m m i n g Part 3 _ chapter 11 ICMP >>> 430 Chapter 11 _ 1 431 Part 3 _ 432 Chapter 11 _ N o t

More information

chapter1,2.doc

chapter1,2.doc JavaServer Pages Version 08-alpha copyright2001 B l u e N o t e all rights reserved http://jspboolpaecom vesion08-alpha, UML (?) part1part2 Part1 part2 part1 JSP Chapter2 ( ) Part 1 chapter 1 JavaServer

More information

Microsoft PowerPoint - Supplement-03-TCP Programming.ppt [호환 모드]

Microsoft PowerPoint - Supplement-03-TCP Programming.ppt [호환 모드] - Socket Programming in Java - 목차 소켓소개 자바에서의 TCP 프로그램작성방법 주요클래스와메소드 HTTP 프로토콜을이용한예제 에코프로그램 Q/A 에코프로그램 - EchoServer 에코프로그램 - EchoClient TCP Programming 1 소켓소개 IP, Port, and Socket 포트 (Port): 전송계층에서통신을수행하는응용프로그램을찾기위한주소

More information

1217 WebTrafMon II

1217 WebTrafMon II (1/28) (2/28) (10 Mbps ) Video, Audio. (3/28) 10 ~ 15 ( : telnet, ftp ),, (4/28) UDP/TCP (5/28) centralized environment packet header information analysis network traffic data, capture presentation network

More information

K&R2 Reference Manual 번역본

K&R2 Reference Manual 번역본 typewriter structunion struct union if-else if if else if if else if if if if else else ; auto register static extern typedef void char short int long float double signed unsigned const volatile { } struct

More information

설치및환경설정 JEUS Thread State Notify 설정

설치및환경설정 JEUS Thread State Notify 설정 JEUS Thread State Notify 설정 2014. 07. 02 목차 1. thread-state-notify 설정... 3 1.1 시나리오 #1. max-thread-active-time : 10초... 3 1.2 시나리오 #2. max-thread-active-time : 10초, thread-interrupt-execution : true...

More information

Microsoft PowerPoint - 03-TCP Programming.ppt

Microsoft PowerPoint - 03-TCP Programming.ppt Chapter 3. - Socket in Java - 목차 소켓소개 자바에서의 프로그램작성방법 주요클래스와메소드 HTTP 프로토콜을이용한예제 에코프로그램 에코프로그램 - EchoServer 에코프로그램 - EchoClient Q/A 1 1 소켓소개 IP,, and Socket 포트 (): 전송계층에서통신을수행하는응용프로그램을찾기위한주소 소켓 (Socket):

More information

chap7.key

chap7.key 1 7 C 2 7.1 C (System Calls) Unix UNIX man Section 2 C. C (Library Functions) C 1975 Dennis Ritchie ANSI C Standard Library 3 (system call). 4 C?... 5 C (text file), C. (binary file). 6 C 1. : fopen( )

More information

Chap7.PDF

Chap7.PDF Chapter 7 The SUN Intranet Data Warehouse: Architecture and Tools All rights reserved 1 Intranet Data Warehouse : Distributed Networking Computing Peer-to-peer Peer-to-peer:,. C/S Microsoft ActiveX DCOM(Distributed

More information

PowerPoint Presentation

PowerPoint Presentation Oracle9i Application Server Enterprise Portal Senior Consultant Application Server Technology Enterprise Portal? ERP Mail Communi ty Starting Point CRM EP BSC HR KMS E- Procurem ent ? Page Assembly Portal

More information

untitled

untitled PowerBuilder 連 Microsoft SQL Server database PB10.0 PB9.0 若 Microsoft SQL Server 料 database Profile MSS 料 (Microsoft SQL Server database interface) 行了 PB10.0 了 Sybase 不 Microsoft 料 了 SQL Server 料 PB10.0

More information

PWR PWR HDD HDD USB USB Quick Network Setup Guide xdsl/cable Modem PC DVR 1~3 1.. DVR DVR IP xdsl Cable xdsl Cable PC PC DDNS (

PWR PWR HDD HDD USB USB Quick Network Setup Guide xdsl/cable Modem PC DVR 1~3 1.. DVR DVR IP xdsl Cable xdsl Cable PC PC DDNS ( PWR PWR HDD HDD USB USB Quick Network Setup Guide xdsl/cable Modem PC DVR 1~3 1.. DVR DVR IP xdsl Cable xdsl Cable PC PC DDNS (http://ddns.hanwha-security.com) Step 1~5. Step, PC, DVR Step 1. Cable Step

More information

C++-¿Ïº®Çؼ³10Àå

C++-¿Ïº®Çؼ³10Àå C C++. (preprocessor directives), C C++ C/C++... C++, C. C++ C. C C++. C,, C++, C++., C++.,.. #define #elif #else #error #if #itdef #ifndef #include #line #pragma #undef #.,.,. #include #include

More information

FileMaker ODBC and JDBC Guide

FileMaker ODBC and JDBC Guide FileMaker 13 5 5 5 6 6 6 7 7 8 8 8 8 9 9 10 10 11 11 12 12 12 12 12 12 13 13 14 14 16 16 18 4 19 19 20 20 21 21 21 23 23 23 23 25 26 26 26 26 27 28 28 28 28 29 31 31 32 33 33 33 33 34 34 35 35 35 36 1

More information

07 자바의 다양한 클래스.key

07 자바의 다양한 클래스.key [ 07 ] . java.lang Object, Math, String, StringBuffer Byte, Short, Integer, Long, Float, Double, Boolean, Character. java.util Random, StringTokenizer Calendar, GregorianCalendar, Date. Collection, List,

More information

본 강의에 들어가기 전

본 강의에 들어가기 전 C 기초특강 종합과제 과제내용 구조체를이용하여교과목이름과코드를파일로부터입력받아관리 구조체를이용하여학생들의이름, 학번과이수한교과목의코드와점수를파일로부터입력 학생개인별총점, 평균계산 교과목별이수학생수, 총점및평균을계산 결과를파일에저장하는프로그램을작성 2 Makefile OBJS = score_main.o score_input.o score_calc.o score_print.o

More information

PowerPoint 프레젠테이션

PowerPoint 프레젠테이션 Reasons for Poor Performance Programs 60% Design 20% System 2.5% Database 17.5% Source: ORACLE Performance Tuning 1 SMS TOOL DBA Monitoring TOOL Administration TOOL Performance Insight Backup SQL TUNING

More information

Something that can be seen, touched or otherwise sensed

Something that can be seen, touched or otherwise sensed Something that can be seen, touched or otherwise sensed Things about an object Weight Height Material Things an object does Pen writes Book stores words Water have Fresh water Rivers Oceans have

More information

01-OOPConcepts(2).PDF

01-OOPConcepts(2).PDF Object-Oriented Programming Concepts Tel: 02-824-5768 E-mail: hhcho@selabsoongsilackr? OOP (Object) (Encapsulation) (Message) (Class) (Inheritance) (Polymorphism) (Abstract Class) (Interface) 2 1 + = (Dependency)

More information

목차 BUG offline replicator 에서유효하지않은로그를읽을경우비정상종료할수있다... 3 BUG 각 partition 이서로다른 tablespace 를가지고, column type 이 CLOB 이며, 해당 table 을 truncate

목차 BUG offline replicator 에서유효하지않은로그를읽을경우비정상종료할수있다... 3 BUG 각 partition 이서로다른 tablespace 를가지고, column type 이 CLOB 이며, 해당 table 을 truncate ALTIBASE HDB 6.1.1.5.6 Patch Notes 목차 BUG-39240 offline replicator 에서유효하지않은로그를읽을경우비정상종료할수있다... 3 BUG-41443 각 partition 이서로다른 tablespace 를가지고, column type 이 CLOB 이며, 해당 table 을 truncate 한뒤, hash partition

More information

자바 프로그래밍

자바 프로그래밍 5 (kkman@mail.sangji.ac.kr) (Class), (template) (Object) public, final, abstract [modifier] class ClassName { // // (, ) Class Circle { int radius, color ; int x, y ; float getarea() { return 3.14159

More information

PowerPoint 프레젠테이션

PowerPoint 프레젠테이션 KeyPad Device Control - Device driver Jo, Heeseung HBE-SM5-S4210 에는 16 개의 Tack Switch 를사용하여 4 행 4 열의 Keypad 가장착 4x4 Keypad 2 KeyPad 를제어하기위하여 FPGA 내부에 KeyPad controller 가구현 KeyPad controller 16bit 로구성된

More information

소개 TeraStation 을 구입해 주셔서 감사합니다! 이 사용 설명서는 TeraStation 구성 정보를 제공합니다. 제품은 계속 업데이트되므로, 이 설명서의 이미지 및 텍스트는 사용자가 보유 중인 TeraStation 에 표시 된 이미지 및 텍스트와 약간 다를 수

소개 TeraStation 을 구입해 주셔서 감사합니다! 이 사용 설명서는 TeraStation 구성 정보를 제공합니다. 제품은 계속 업데이트되므로, 이 설명서의 이미지 및 텍스트는 사용자가 보유 중인 TeraStation 에 표시 된 이미지 및 텍스트와 약간 다를 수 사용 설명서 TeraStation Pro II TS-HTGL/R5 패키지 내용물: 본체 (TeraStation) 이더넷 케이블 전원 케이블 TeraNavigator 설치 CD 사용 설명서 (이 설명서) 제품 보증서 www.buffalotech.com 소개 TeraStation 을 구입해 주셔서 감사합니다! 이 사용 설명서는 TeraStation 구성 정보를

More information

IBM blue-and-white template

IBM blue-and-white template IBM Software Group 웹기반의 DB2 개발환경구축및 DB2 Information Integrator 를이용한정보통합데모 한국 IBM 소프트웨어사업부 정진영대리 (jyjeong@kr.ibm.com) Agenda Preparation JAVA ENV JAVA CONNECTION PHP ENV PHP CONNECTION Preparation Installation

More information

PowerPoint 프레젠테이션

PowerPoint 프레젠테이션 (Host) set up : Linux Backend RS-232, Ethernet, parallel(jtag) Host terminal Target terminal : monitor (Minicom) JTAG Cross compiler Boot loader Pentium Redhat 9.0 Serial port Serial cross cable Ethernet

More information

BSC Discussion 1

BSC Discussion 1 Copyright 2006 by Human Consulting Group INC. All Rights Reserved. No Part of This Publication May Be Reproduced, Stored in a Retrieval System, or Transmitted in Any Form or by Any Means Electronic, Mechanical,

More information

Sena Device Server Serial/IP TM Version

Sena Device Server Serial/IP TM Version Sena Device Server Serial/IP TM Version 1.0.0 2005. 3. 7. Release Note Revision Date Name Description V1.0.0 2005-03-7 HJ Jeon Serial/IP 4.3.2 ( ) 210 137-130, : (02) 573-5422 : (02) 573-7710 email: support@sena.com

More information

Intro to Servlet, EJB, JSP, WS

Intro to Servlet, EJB, JSP, WS ! Introduction to J2EE (2) - EJB, Web Services J2EE iseminar.. 1544-3355 ( ) iseminar Chat. 1 Who Are We? Business Solutions Consultant Oracle Application Server 10g Business Solutions Consultant Oracle10g

More information

OPCTalk for Hitachi Ethernet 1 2. Path. DCOMwindow NT/2000 network server. Winsock update win95. . . 3 Excel CSV. Update Background Thread Client Command Queue Size Client Dynamic Scan Block Block

More information

uFOCS

uFOCS 1 기 : 기 UF_D_V250_002 기 기 기 품 ufocs 기 v2.5.0 히기기기기기기기기기 기 Manual 기 version 기 3.2 기품 2011.7.29 히기 345-13 1 Tel : 02-857-3051 Fax : 02-3142-0319 : http://www.satu.co.kr 2010 SAT information Co., Ltd. All

More information

untitled

untitled CAN BUS RS232 Line Ethernet CAN H/W FIFO RS232 FIFO IP ARP CAN S/W FIFO TERMINAL Emulator COMMAND Interpreter ICMP TCP UDP PROTOCOL Converter TELNET DHCP C2E SW1 CAN RS232 RJ45 Power

More information

歯Writing_Enterprise_Applications_2_JunoYoon.PDF

歯Writing_Enterprise_Applications_2_JunoYoon.PDF Writing Enterprise Applications with Java 2 Platform, Enterprise Edition - part2 JSTORM http//wwwjstormpekr Revision Document Information Document title Writing Enterprise Applications

More information

인디쓔피-IOM핸돜벁닄큐1014pdf, page 59 @ Preflight ( IOM핸돜벁닄큐__1014 )

인디쓔피-IOM핸돜벁닄큐1014pdf, page 59 @ Preflight ( IOM핸돜벁닄큐__1014 ) Publisher: International Organization for Migration 17, route des Morillons 1211 Geneva 19 Switzerland Tel: +41.22.717 91 11 Fax: +41.22.798 61 50 E-mail: hq@iom.int Internet: http://www.iom.int ISBN 978

More information

T100MD+

T100MD+ User s Manual 100% ) ( x b a a + 1 RX+ TX+ DTR GND TX+ RX+ DTR GND RX+ TX+ DTR GND DSR RX+ TX+ DTR GND DSR [ DCE TYPE ] [ DCE TYPE ] RS232 Format Baud 1 T100MD+

More information

Mobile Service > IAP > Android SDK [ ] IAP SDK TOAST SDK. IAP SDK. Android Studio IDE Android SDK Version (API Level 10). Name Reference V

Mobile Service > IAP > Android SDK [ ] IAP SDK TOAST SDK. IAP SDK. Android Studio IDE Android SDK Version (API Level 10). Name Reference V Mobile Service > IAP > Android SDK IAP SDK TOAST SDK. IAP SDK. Android Studio IDE 2.3.3 Android SDK Version 2.3.3 (API Level 10). Name Reference Version License okhttp http://square.github.io/okhttp/ 1.5.4

More information

61 62 63 64 234 235 p r i n t f ( % 5 d :, i+1); g e t s ( s t u d e n t _ n a m e [ i ] ) ; if (student_name[i][0] == \ 0 ) i = MAX; p r i n t f (\ n :\ n ); 6 1 for (i = 0; student_name[i][0]!= \ 0&&

More information

ch09

ch09 9 Chapter CHAPTER GOALS B I G J A V A 436 CHAPTER CONTENTS 9.1 436 Syntax 9.1 441 Syntax 9.2 442 Common Error 9.1 442 9.2 443 Syntax 9.3 445 Advanced Topic 9.1 445 9.3 446 9.4 448 Syntax 9.4 454 Advanced

More information

Java

Java Java http://cafedaumnet/pway Chapter 1 1 public static String format4(int targetnum){ String strnum = new String(IntegertoString(targetNum)); StringBuffer resultstr = new StringBuffer(); for(int i = strnumlength();

More information

歯9장.PDF

歯9장.PDF 9 Hello!! C printf() scanf() getchar() putchar() gets() puts() fopen() fclose() fprintf() fscant() fgetc() fputs() fgets() gputs() fread() fwrite() fseek() ftell() I/O 2 (stream) C (text stream) : `/n'

More information

untitled

untitled if( ) ; if( sales > 2000 ) bonus = 200; if( score >= 60 ) printf(".\n"); if( height >= 130 && age >= 10 ) printf(".\n"); if ( temperature < 0 ) printf(".\n"); // printf(" %.\n \n", temperature); // if(

More information

PRO1_04E [읽기 전용]

PRO1_04E [읽기 전용] Siemens AG 1999 All rights reserved File: PRO1_04E1 Information and S7-300 2 S7-400 3 EPROM / 4 5 6 HW Config 7 8 9 CPU 10 CPU : 11 CPU : 12 CPU : 13 CPU : / 14 CPU : 15 CPU : / 16 HW 17 HW PG 18 SIMATIC

More information

USB USB DV25 DV25 REC SRN-475S REC SRN-475S LAN POWER LAN POWER Quick Network Setup Guide xdsl/cable Modem PC DVR 1~3 1.. DVR DVR IP xdsl Cable xdsl C

USB USB DV25 DV25 REC SRN-475S REC SRN-475S LAN POWER LAN POWER Quick Network Setup Guide xdsl/cable Modem PC DVR 1~3 1.. DVR DVR IP xdsl Cable xdsl C USB USB DV25 DV25 REC SRN-475S REC SRN-475S LAN POWER LAN POWER Quick Network Setup Guide xdsl/cable Modem PC DVR 1~3 1.. DVR DVR IP xdsl Cable xdsl Cable PC PC Step 1~5. Step, PC, DVR Step 1. Cable Step

More information

본문서는 초급자들을 대상으로 최대한 쉽게 작성하였습니다. 본문서에서는 설치방법만 기술했으며 자세한 설정방법은 검색을 통하시기 바랍니다. 1. 설치개요 워드프레스는 블로그 형태의 홈페이지를 빠르게 만들수 있게 해 주는 프로그램입니다. 다양한 기능을 하는 플러그인과 디자인

본문서는 초급자들을 대상으로 최대한 쉽게 작성하였습니다. 본문서에서는 설치방법만 기술했으며 자세한 설정방법은 검색을 통하시기 바랍니다. 1. 설치개요 워드프레스는 블로그 형태의 홈페이지를 빠르게 만들수 있게 해 주는 프로그램입니다. 다양한 기능을 하는 플러그인과 디자인 스마일서브 CLOUD_Virtual 워드프레스 설치 (WORDPRESS INSTALL) 스마일서브 가상화사업본부 Update. 2012. 09. 04. 본문서는 초급자들을 대상으로 최대한 쉽게 작성하였습니다. 본문서에서는 설치방법만 기술했으며 자세한 설정방법은 검색을 통하시기 바랍니다. 1. 설치개요 워드프레스는 블로그 형태의 홈페이지를 빠르게 만들수 있게

More information

thesis

thesis CORBA TMN Surveillance System DPNM Lab, GSIT, POSTECH Email: mnd@postech.ac.kr Contents Motivation & Goal Related Work CORBA TMN Surveillance System Implementation Conclusion & Future Work 2 Motivation

More information

03장.스택.key

03장.스택.key ---------------- DATA STRUCTURES USING C ---------------- 03CHAPTER 1 ? (stack): (LIFO:Last-In First-Out) 2 : top : ( index -1 ),,, 3 : ( ) ( ) -> ->. ->.... 4 Stack ADT : (LIFO) : init():. is_empty():

More information

.

. JEUS 6 & WebtoB 4.1 관리자 2015.09 Ⅰ Ⅱ Ⅲ JEUS 설정 WebtoB 연동설정 Tibero 연동설정 Ⅰ JEUS 설정 컨테이너생성 Application 디플로이 컨테이너생성 관리자화면접속 http://ip-address:9744/webadmin 접속 ID : administrator PW : 설치단계에서설정한관리자암호 3/36 컨테이너생성

More information

슬라이드 1

슬라이드 1 / 유닉스시스템개요 / 파일 / 프로세스 01 File Descriptor file file descriptor file type unix 에서의파일은단지바이트들의나열임 operating system 은파일에어떤포맷도부과하지않음 파일의내용은바이트단위로주소를줄수있음 file descriptor 는 0 이나양수임 file 은 open 이나 creat 로 file

More information

PRO1_09E [읽기 전용]

PRO1_09E [읽기 전용] Siemens AG 1999 All rights reserved File: PRO1_09E1 Information and - ( ) 2 3 4 5 Monitor/Modify Variables" 6 7 8 9 10 11 CPU 12 Stop 13 (Forcing) 14 (1) 15 (2) 16 : 17 : Stop 18 : 19 : (Forcing) 20 :

More information