          
!#"%$!+-&(,-B!'*) +-C!,/.1D!0!EG24F13!H!56I4+-J!,7.9K!8!L!:#M!"%N!;6O +-,/.1<!=!>!?6@A,@AP,P Z\[!]!^!_!`!Q!NGR!a!S!b1T#ceU1d1V1f!W4H#X!g1Y b [Q!R!S!T#U1V1W!hGi(KEK)
1-1( )
2-8-8

305-0801

305-0045

o% p%q!syzv1%j {mk19|%lm}1jn9~%k%wmon1p%o{%qnpmqr1t sm9t ~w9u%{9r1v1mwn!x 4z%
¤ ¤ x9¥¦§©¨ª9n{%«9%n¬n­®%A¢1¡x n¢zrnot%pq£Ànyzv1vnnÁµ©{m|%rnÂ1}1¶Ã~%Än·¹wm¸©1Å%n{%Ænºsr¡©t Ç%xn¡Èn»É¯!¼%t%°z±%Ê%­n²%Ëm½nn³1rºsms ´%¡m%Ìn¾Ínr¿smzt©t1¢%Ñm%x Ò%Ó1xmo%Ô%pÕ1q!my}%v1Ö{|%}1~wm9{%mÎº%Ï%Ð
Abstract

WebJava applet

KEKApplet
CORBA protocol
–10t

KEK::

KEK

2002

KEKB
KEKKEKnj 9k9ylv9j{kmoÙpÚ4q9s%t9º9×¡Î©x»Û9Øzq tn Ü9Ý£xx»¬Øä q9À vÁov1p%r9stmÇo¡pÞq9ßr9ÂÒ4sÊåºx»màØ»q9Øoqp4áâ%ã!º ·p%¡q!Û¢tnxyzÑv1í94{mçè%yzÊv9îé%ï{È%xæ1o%ðxmp£9ê%Èx 1æ9À xvs9%Áå%1v9çmÊ´1xm9Ûmë1t1ìmñ%Ùº1º1Ö9Ë¡m¡o st¹Ò®òAr©s x o%óp%q4Ö©yz¡v1x{mÂ|%ô©}9õr©~%wmö1÷©{%çzønmùm!s¹ t ð mxm»%Ø%q%%1~%wm1{%smt%q%ÈÉ1 r!¥
% r ÂúûÖ1¡9zt s¦mx§1í©¨çª1Ê ={mv|%§9}%sÖ1?9¡·<%ã1 x@=m¾ v%§9 >%µÎ BA/!ï9mÛ9xzt1 ¢n¹nnn!©tüý1xonþpnv1qn¨nm~n!w9ÿ{nxA  r4r%»%Ø%Ûó%q9xmr9È%Ç%É%Êáº9D¢1E1ÂF%ð%%ºº!z"º!?çHsG%ö%ë1Ësm"ðCº%ts%í%Ëm%¯9m¬%Û1% ·º%zu %9§1  9uß!v1w%Ç%9x1Â¥t ¦m§1¯1¨xª1{%~nwmx 1 { L¨ª9{mmtËÛ  C Âsmû t%K%Ö91¡%nö9ö%·¡ÿ%I¡ J!  ¥1¦m§v!HQRS1wm¬ T1
UW" VPX MÖN1Y ¡ Z94s mÛ1zt á W[!r!PP¥ #O%v"
%º1 `  a ¼ x b ¤ m1% ºc%t9ÑmÖ1 ¡%¢1xmú%\s ûd]9Ó1e%Âmr1^W%ö%At9¡m_~wm9{1z!z%1%%r9Çmã bt r%»Øq1x1¥m¦§1¨mª1{|%}1ÂMN1¡m9¢%x%¦ª%þ1¦%stq
mÛ1!H· hçmi%¢1¬%zr%ä1¬% ­9fßmg%%r1º%1ö%¡mÂtt %1 o%pq%r1s
 ­%x ½9x   j%k1lj%ko%pq1 x%99m~%twmð 91{%Ê s
1¯4rm
Û C x%í1çmÊ ^ m°    Â º IJ1\x ]Âd%º¢1ÂfÂjg%k+z*%ãn5 / .  0"!1$ #mv&%r' () +*¹ã%2 , -%Ê%3Ëm4n9º¤xm¡ ¹t mÃ l npo&qª rq¥   ï ! mÛm8%%x4zt¯19 :11z1% º169¡ xmo%pq%è%"é %s 7  Â%qÛªÛ%rË%q1t ¥z9xõms9tx uRmwv vzs% 7 8Pzx%{1º%1x  £ y|H}H~H
1 INTRODUCTIONKEKPF-AR

KEKB, PF,))

Figure 1: Simplified view of the control system.

Web
Java applet KEK
Web-browser (Internet Exploler or Netscape Communicator) applet
applet CORBA client
CORBA
server
JavaCORBAWeb1998
Java

2.2 Web-based Real-time Display

GUI1WebCGIWeb serverbrowserCGI
server
10GUI

22

WEB-BASED BEAM STATUS DISPLAY

Java applet

browser

2.1 Overview of the KEK Linac Control

KEKUnix
end (VME
1300;(True64 Unix), PLC[1, 2, 3, 4]7000
server, CAMAC

6000

16bitfront)

CORBA protocol
KEK
1998
50ms
round-trip
servera) appletb)[5, 6]

1

E-mail: norihiko.kamikubota@kek.jp

Java2

HH HHbrowser

CGI[8, 9, 10]
CORBA

Java AWTm B 

Visual Basic KEKBMEDM (EPICS)KEKB One-day Operation Summary [7] v!zÂd zü%ýxm|%­xmÛÂ?1·zã%%º%%t1Ê1åmx 21Â%ö%Ëm%" =vÛ§ ·Hd nrnñnÙ *¹ãnnº ¡%Ât s npo
sp%q%r1Â s Ç¯ &Û1· +n*¹!ãnín ¡ ì%ºnx n4(º%ÛÞ©«1¹ÿn t ¡%ºnt o  m%41z%nº%%s %º 9ßmº%©Ñt 9x
ì%º%¡%è91¯%Âìt%1t Ì1TÑ~%1Ëwm 1n¢!{%"4mx¬ %i2nÑ%r mä L%1t Û1·z¬% mÂ! 4#H  
ã1C smtÂ o%p%xq%$ %%11 ~áwm 1ìm n{%T4x ìmr¢ö¡% Âm?%t©¡m#Üm11x &#)'1¼r(WC%!zÛ1ö%ËP· d%'*%#( 21! m| m}%Ö1x *%
 +1Ñmã1¡,Gs¢1QmR%Ê¡m1y1xm%1
~ V T
$%%¸ .0/%¬ ¬ i%ä
015 Âö¡1x T1²sm³t t s mx 231x 62%Ìr ^ G1Ê 4x7@Â +©8:9Ñã©Â ¡V í99%ç Â Ê_WËzÊs¢tËu ãRmrwv  t v=<1A"CÂ 09ÇÂ 1W79*80>ã:©!?4Â¡ ; tq(yv®{¯nÈ©t%É®| %|©m}©H!}nGÖ®ÖnI#%¡J#K º  n1rnsmt B®#t íDEC9F1$@jnx%©kn%Ö®on1p¡~w¨m9u%v1{ qmw%"ª %r q9!¥ z%9~%wm9%{%1x LyMv9N9{m È. É D mE}%þÖv
ýé49¬yv9.;1{ nOm}%wv ¤+Öv*zn¢xãn­ #½xüP#ý9B©síontC#pnOQ#q!|RWyz/ v9y{mv9Èn{x É1jD x #E9P4}4èü  ¢nxyv{ÈnÉn|n}®~nw{nstxmº9%1¡ m!9z1ÿA9Ñm%t#S:1AxT4U@V%tmÛ1´9· ê r%û K *z¸1¡%Â¢1ûmKn Ö%¡ ! zn%rº1ö¡%ã&Âmb t x  a ¼b&r Cmû K%r Öo ¡mû KW*¸¯°zº9±¡Û1Âm· t 99nåcn#µ DE1 *%%Ö1¡¢1mÂ MN1¡m#*%4z @Wtx
 icj0XkY=l0Z0m0[0n=\Ho0p ]00^q0_=rH`H ¸-n1mû K%Ö¡%¢mp jkznº1¡m1Ñ%tca0b0dgefhs0t j0u=vw=x0y zu=kl0m0n=op|{} 00H=000 0 (GUIclass library)

2.3 Java and CORBA EnvironmentJava
JDK (Java development kit) Sun Microsystems
GUI
class
SDK3 1.2
Java2
1999
KEK
up-version
GUIversion(JDK1.1.7)
serverCORBA
VisiBroker ver.3.0 for C/C++ (Inprise )2001
SDK1.3
CORBA
ORBacus 4.0.5 for C++ (OOC/Iona )VisiBroker KEK
OS Compaq True64 Unix)
academic use
1
Table 1: JAVA-CORBA
after 2001
Java
SDK1.3.x (Java2)(GUI)
Swing(CORBA) SDK
CORBA
ORBacus 4.0.5
for C++
OOC/Iona
Free for academic

1998-2000
JDK1.1.7
AWT (JDK1.0.x)
download
VisiBroker v3.0
InpriseTrue64([8, 9, 10])

[11]

Java2

CORBA
SDK

Java2

CORBA

CORBA
appletl

Figure 2: Relationship overview.

24

CORBA serverclass
4class

53.1

2.4 KEK-Linac Beam Status Display
2001

1KEK

Java applet
ServerCORBA server

2

KEKWebFigure 3: Screenshot of beam-status display.

310CORBA server

24
applet3 Software development kit
4 ORBaus
5appletJDK3MB4MBor JRE6 1.3)
LinuxWindows PC

2002Windows PC
Java 1.3 (SDK1.3OSKEKBKEK

6 Java Runtime Environment¾1¿%xm À v%ÁCmt!ÃmÄ%Å%Æ1Âfg%r1ö%¡m3

DISCUSSION

ÌÖ1¡1~tw9êz9{x  P8À1vßÁ9sx  /.
9Û©9·x¦ s%S9twuRm
v x vz 1%s Ö%ü%ý1Âm­%ã1xp¡z{%ÈnÉ01%+*Ñ1¢ã%mnã1ºsmÊmt ºnìmÂmr1t ö%¡m xmª1u%Û9w ·m! xv%s §1tsu 3Rm1vÊv %r1ön¡x%Ö9x ¡H#r8mC1r%C Ö ,1íyG1Ir9çmJ9ö%Û%ËÊ%Û%" Ë¡ms @t c u 11¬ R¼miwv ã %vb#ä Âmmº%tm%r1# r1s%ö%r9¦ ÷1%sçAS1ê z w

I

3.1 Java plug-in

Windows PC
Java plug-in 1.3
4

1.3

Windows
Plug-in
Sun Microsystems
10

Java

KEK

Figure 5: Future view of data services.

$x ?@9ß$Ay9ä / m4!º!çcý1 C%Ëº1¡m5

4Figure 4: Wizard to assist plug-in download.

[1] N.Kamikubota, K.Furukawa, K.Nakahara and I.Abe, Nucl.
Instr. Meth. A352(1994)131sön:%¡ r1 vÇnn¡%!ínÂm¡t5 m¹xmTnÞã1sm¡t 1¢xmn¶1x ¡¿ rv %!  5 Ê9 · Êm%x%ºr%nV Ç%¡nºÂ t  / wv Â !F%Û9½%n· Ö1rn¡%înÊ9ô1·õn1Ê %%ß%Ê%¦ ßm%ãS9wb
zº%Êº&? t ÊsTvn1ßn¡n¢ms 1¼n
Ù9½1 Ìx$x &%!!"1px u%-v1 #1w%L sxm0%t %%9ñ%ÂÙ%mf nr gº%fr1!g1öÊ¥¡¦mC%m»§1x%¨Ø%ª1'1q{Çr91%s%¼ntñ­¡üN1ý9¡mt1á mÊ1 åmÖ9"!x¡BY+\ *%]1ö9 $Â·(.ÿ,>%¡ ¸"Ö1b%¡r ím t9º%ö%r1¡mö%º1)÷1s çAñÙ9)1Â ÊM
nn+ðânã mx2nj%0ãk1Ê%xmlþnp¡ j%vk%11¨mo%unpx p%Dv1q%E%wnr1þn smv$t %¨mQunR1¹vx ( w%-%Â.1«Fn ½!xn/%Êm¹Ç ºnt1-1ÝÑË£9Ê%x¡ |%D}9E%~þ%wmv19¨{u%Â%v1w% A43&5 .0 */6%ã8 191Çm¹ n¢ã!·x$07
 Ê¡þv1z%¨|%u}1v9~%wwm1x '"{%n Â ~ã9¡ í96%ç %Ê r1V Çtnã Ñbm t
09
9 u:#vx;Ê<Â{=nr1Çn¡9¢nxníçmÊp: / Ê > NN1 . m}%Ö
Ò"8%x !"9smt .

3.2 Security
CORBA

serverserverhtml

client (Web-browser
firewall
CORBA server
servermethodWebCATVPCCATVKEKAPI

Wrap

5

[11, 12][2] N.Kamikubota, K.Furukawa, K.Nakahara, I.Abe andA.Shirakawa, Proc. of the ICALEPCS’95, Chicago, October 1995, FERMILAB Conf-96/069 p.1052[3])3.3 Future Directions

CGICPUREFERENCES

CORBA

B$Z C&DFEG$HJI$HJKML$NO&PQ$R&S$TFU$VW$H 2001 XMYH[\$]H p.273-275[4] N.Kamikubota, K.Furukawa, S.Kusano and T.Obata, Proc.
of the ICALEPCS 2001, San Jose, CA, Nov.2001, KEKPreprint 2001-155, in press[5]

B$Z C&DFEG$HJI$HJKML$^O&PQ$R&S$TFU$VW$H 1999 XM_H`a$H p.119-121[6] N.Kamikubota, K.Furukawa, T.Suwada and T.Urano, APAC
2001, Beijing, Sept.2001, KEK-Preprint 2001-124, in press

b$c$dJe$HI$HFKML$fgO&PFQJRhSJTFU$V$W$H 1998 XMi Z H[\]H p.369-371[7] http://www-linac.kek.jp/kekb/snapshop/[8][9] S.Kusano, N.Kamikubota and K.Furukawa, Proc. of the
PCaPAC’99, Tsukuba, Jan.1999, KEK-Proceedings 98-14

Z
B$tC&uvDFE$w G$HI$Hjgk$l$m$n$W$H 2000 XM^ Ho$p$H&qsr
Z[11] B$tC&uvDFE$w G$HI$Hjgk$l$m$n$W$H 2001 XMi Hx$y$H&qsr[10]

http://www-linac.kek.jp/˜kami/report/jps01 naha/html/[12] S.Kusano, N.Kamikubota and K.Furukawa, Proc. of theICALEPCS’99, Trieste, October 1999, p.535-537