Microsoft PowerPoint - ApacheHTTPIntegration-운영트랙-김병곤.ppt

Size: px
Start display at page:

Download "Microsoft PowerPoint - ApacheHTTPIntegration-운영트랙-김병곤.ppt"

Transcription

1 Apache HTTP Server Integration & JBoss AS Clustering 김병곤 JBoss User Group

2 Agenda Apache HTTP Integration JBoss AS Clustering Q/A

3 웹서버의로드밸런싱 app1 app2 Apache app3 app1 JBoss Client L4 Switch app2 app3 Apache JBoss app1 app2 Apache app3 app1 JBoss Client L4 Switch app2 app3 Apache JBoss

4 Apache HTTP Server 와 JBoss 통합시고려사항 어떤 URI 를 JBoss 가처리할것인가? 웹서버는몇개의 JBoss 와연결되는가? 웹서버는어떤포트로 JBoss 와통신하게되는가? 웹서버는어떤방식으로 JBoss 에게요청을전달하는가? 웹서버는 JBoss 에서장애가발생한경우어떻게대처하는가?

5 Apache HTTP Server Integration Apache HTTP Server Integration 절차 1. Apache HTTP Server 설치하기 2. mod_jk 모듈설치하기 3. mod_jk 모듈설정하기 4. JBoss Worker 설정하기 5. URI Worker Mapping 설정하기 6. 웹서버구동하기 7. JBoss 구동하기

6 Apache HTTP Server 설치 다운로드 che_ win32-x86-openssl-0.9.8i.msi

7 mod_jk 설치하기 다운로드 URL 설치 다운로드한 mod_jk httpd so 파일을 <APACHE_HOME>/modules 디렉토리로복사

8 Apache HTTP Server 설정하기 Apache HTTP Server 에서 mod_jk 를활성화하려면 <APACHE_HOME>/conf/httpd.conf 파일에다음을추가... 생략 # Include mod_jk configuration file ( 추가 ) Include conf/mod-jk.conf # Server-pool management (MPM specific) #Include conf/extra/httpd-mpm.conf # Multi-language error messages #Include conf/extra/httpd-multilang-errordoc.conf... 생략

9 mod_jk 설정하기 <APACHE_HOME>/conf/mod-jk.conf 파일을다음과같이작성 LoadModule jk_module modules/mod_jk httpd so JkWorkersFile conf/workers.properties JkLogFile logs/mod_jk.log JkLogLevel debug JkLogStampFormat "[%a %b %d %H:%M:%S %Y]" JkOptions +ForwardKeySize +ForwardURICompatUnparsed -ForwardDirectories JkRequestLogFormat "%w %V %T" JkMountFile conf/uriworkermap.properties JkShmFile run/jk.shm 파일명오타주의 로깅레벨은통합이완전히끝나기전까지 debug 유지 Worker 파일, Mount 파일의파일명주의

10 mod_jk 설정하기 - Worker <APACHE_HOME>/conf/workers.properties 파일 (JBoss Instance=Worker 정의 ) worker.list=loadbalancer 웹서버가처리할 worker 목록 # # Node1 JBoss Server # worker.node1.host=localhost 로드밸런싱할 node1의 host worker.node1.port=8009 로드밸런싱할 node1의 port worker.node1.type=ajp13 node1 worker와웹서버연결시사용하는프로토콜유형 worker.node1.lbfactor=1 다수의노드로부하를분산시키는경우부하분산비율 # # Load Balancer Worker # worker.loadbalancer.type=lb loadbalancer worker list 의유형은로드밸런싱 worker.loadbalancer.balance_workers=node1 로드밸런싱할 JBoss 노드목록

11 mod_jk 설정하기 - Worker <JBOSS_HOME>/server/<CONFIGURATION>/deploy/jbossweb.sar/server.xml 파일 <Server> <Listener classname="org.apache.catalina.core.jasperlistener" /> <Service name="jboss.web"> <!-- A HTTP/1.1 Connector on port > <Connector protocol="http/1.1" port="8080" address="${jboss.bind.address}" connectiontimeout="20000" redirectport="8443" /> <!-- A AJP 1.3 Connector on port > <Connector protocol="ajp/1.3" port="8009" address="${jboss.bind.address}" redirectport="8443" />... 생략 </Service>... 생략 </Server>

12 mod_jk 설정하기 URI Worker Mapping 웹서버로들어오는요청의 URI 에따라서 JBoss 가처리할것과웹서버가처리할것을구분 <APACHE_HOME>/conf/uriworkermap.properties 파일 /jmx-console/*=loadbalancer /jmx-console=loadbalancer /helloworld/*=loadbalancer /helloworld=loadbalancer /*.do=loadbalancer /*.jsp=loadbalancer /*.faces=loadbalancer /*.seam=loadbalancer

13 JBoss 의 jvmroute 설정하기 <JBOSS_HOME>/server/<CONFIGURATION>/deploy/jbossweb.sar/server.xml 파일 <Server>... 생략 <Service name="jboss.web"> <Connector protocol="http/1.1" port="8080" address="${jboss.bind.address}" connectiontimeout="20000" redirectport="8443" /> <Connector protocol="ajp/1.3" port="8009" address="${jboss.bind.address}" redirectport="8443" /> <Engine name="jboss.web" defaulthost="localhost" jvmroute="node1">... 생략 </Engine> </Service> </Server> jvmroute 는 mod_jk 가 HttpSession 을정상적으로처리할수있도록하는설정으로써설정하지않으면세션생성후다른 JBoss 로요청이전달되어세션유지에문제가발생함

14 JBoss 의 usejk 설정하기 <JBOSS_HOME>/server/<CONFIGURATION>/deployers/jboss web.deployer/meta-inf/war-deployers-jboss-beans.xml 파일 <deployment xmlns="urn:jboss:bean-deployer:2.0">... 생략 <bean name="webappclusteringdefaultsdeployer" class="org.jboss.web.tomcat.service.deployers.clusteringdefaultsdeployer">... 생략 <property name="usejk">true</property> <!-- <property name="usesessionpassivation">false</property> <property name="passivationmaxidletime">-1</property> <property name="passivationminidletime">-1</property> -->... 생략 <property name="maxunreplicatedinterval">60</property> </bean>... 생략 usejk를설정하지않으면 mod_jk가정상적으로 </deployment> 동작하지않으므로반드시설정해야함

15 연동테스트 URI Worker Mapping 에있는 URI 를요청한경우 /jmx-console/*=loadbalancer /jmx-console=loadbalancer

16 연동테스트 URI Worker Mapping 에없는 URI 를요청한경우 /helloworld/*=loadbalancer /helloworld=loadbalancer

17 연동테스트 URI Worker Mapping 에있는 URI 를요청했지만 JBoss 에서처리할수없는경우 /helloworld/*=loadbalancer /helloworld=loadbalancer

18 연동테스트 JBoss 에서장애가발생하여 shutdown 된경우 "500 Internal Server Error or "503 Service Unavailable"

19 Sticky Session 과세션추적 상태를유지하지않는 HTTP 요청의경우 Apache HTTP Server 는 Round Robin 으로로드밸런싱

20 Sticky Session 과세션추적 상태를유지하는요청의경우 Round Robin 으로처리하면세션이존재하지않으므로문제가발생

21 Sticky Session 과세션추적 상태를유지하는 HTTP 요청의경우특별한처리가필요하다. Sticky Session

22 Sticky Session 과세션추적 사용자가로그인을하여 HttpSession 이생성된경우웹브라우저는쿠키및 session id 로세션을유지 Apache HTTP Server 의 mod_jk 는세션이만들어진서버로요청을처리할수있도록 (sticky session) JBoss 로요청을전달 하나이상의 JBoss 가웹서버와연결되어있다면 round robin 으로전달하는경우세션이분실된다!! jvmroute, usejk 은 sticky session 이제대로동작하기위해서필요한필수옵션 첫번째사용자 - z0fov8evascvu6jpllclxq**.node1 두번째사용자 - Q1tDFMtcneh-cvf4GScuxw**.node2 세번째사용자 - M3RIwe4JOFCcPQnbYHBh7w**.node3

23 mod_jk 의 failover Apache HTTP Server 는 HTTP 요청을적절하게 Round Robin 으로로드밸런싱을수행

24 mod_jk 의 failover Round Robin 으로로드밸런싱중 JBoss1 노드에장애가발생하면 JBoss2 로 failover

25 mod_jk 의 failover Apache HTTP Server 가 HTTP 요청을처리하던도중 JBoss 가갑자기 shutdown 되고장애를미처감지하지못한경우해당요청은처리실패

26 mod_jk 의 failover 갑작스런 JBoss 의장애가발생하는경우 Apache HTTP Server 는클라이언트로다음의에러를전달

27 mod_jk 의 failover Sticky Session 으로동작하는경우세션이생성된 JBoss 가 shutdown 되어 failover 하더라도세션이존재하지않게됨 Clustering 필요!!

28 URI Worker Mapping 작성패턴 구분 작성형식 주석 공백 URI 패턴 URI 패턴 형식 /myapp=myworker # 주석예제입니다. /myapp=myworker /myapp=myworker /myapp=myworker /myapp = myworker # URI /myapp1 와 /myapp1/ 밑의모든내용을매핑합니다 : /myapp1=myworker-a /myapp1/*=myworker-a #.jsp, *.do 로끝나는모든 URI 를매핑합니다 : *.jsp=myworker *.do=myworker # URI /myapp1 와 /myapp1/ 밑의모든내용을매핑합니다 : /myapp1 /*=myworker-a 설명 이파일은기본으로라인단위형식으로작성해야합니다. 한라인에각각의규칙을기술합니다. 각각의규칙은 URI 패턴과 worker 의이름의쌍으로구성되며 '=' 으로결합합니다. URI 패턴은대소문자를구분합니다. '#' 을포함하면주석으로처리하고무시합니다. URI 패턴의앞, 뒤로오는공백문자는 trim 처리합니다. Worker 의이름앞, 뒤로오는공백문자는 trim 처리합니다. URI 패턴에는 '*', '?', ' ' 을사용할수있습니다. '*' 은길이에제한이없는어떤문자라도일치를시킬때사용하는패턴입니다. '?' 은정확하게한개의문자를일치시킬때사용하는패턴입니다. ' ' 은줄여서쓰기위한패턴으로 'X Y' 는 'X', 'XY' 와동일하게사용합니다. 각각의 URI 패턴은 '/', '*', '?' 으로시작하며 ' ' 와 '-' 을조합할수있습니다. ' ' 은줄여서쓰기위한패턴으로 'X Y' 는 'X', 'XY' 와동일하게사용합니다. 이예제의경우 /myapp1 와 /myapp1/* 패턴을줄여쓴것입니다.

29 URI Worker Mapping 작성패턴 # URI /myapp1 와 /myapp1/ 밑의모든내용을매핑합니다 : /myapp /*=myworker # static 디렉토리는적용하지않습니다 :!/myapp/static /*=myworker # 다음의확장자를가진 URI 패턴을모든 worker 에적용하지않습니다 :!*.html=myworker # /myapp1 와 /myapp2 을매핑합니다 : /myapp1 /*=myworker1 /myapp2 /*=myworker2 # 모든 worker 에 static 디렉토리를적용하지않습니다 :!/*/static /*=* # 다음의확장자를가진 URI 패턴을모든 worker 에적용하지않습니다 :!*.html=*

30 mod_jk 와 mod_cluster mod_jk의경우동적으로 load balancing factor를변경하기어렵고또한 AJP Connector를사용하는문제가있음 mod_cluster( 는 JBoss에서진행하는프로젝트로써 mod_jk의단점을보완한 Apache HTTP Server Module 장점 동적인 HTTP Worker 설정 서버측에서부하분산팩터를계산 정밀한웹애플리케이션생명주기제어 AJP 는옵션 설명 mod_jk 의경우 Worker 의개수를직접지정해야하지만 mod_cluster 는서버측의상태에따라서동적으로설정됨. mod_cluster 의경우 advertise mechanism 에따라서 proxy 가자동으로설정함. 애플리케이션서버는서버의종료 / 시작등의이벤트를 proxy 로전달함으로써좀더효율적으로자동설정이가능해짐. mod_jk 의경우부하분산팩터는 mod_jk 가가지고있지만 mod_cluster 는서버측에서결정함. 그래서견고하고정밀한제어가가능해짐 서버측에서애플리케이션이 undeploy 되면기존의 mod_jk 는서버가죽은건지, 애플리케이션이 undeploy 된것인지알지못하므로 404 에러를표현하지만 mod_cluster 는애플리케이션의생명주기에대한정보를알고있으므로해당노드로요청을전달하지않음 mod_jk 는 AJP 를이용하지만 mod_cluster 는 HTTP, AJP, HTTPS 를모두사용

31 Clustering 엔터프라이즈애플리케이션은높은가용성과확장성을보장해야함 운영중인환경에서도동적으로 JBoss Instance를추가하여확장가능해야함 장애가발생하더라도서비스는지속적으로제공되어야함 Clustering은확장성 (Scalability), 고가용성 (High Availability) 를보장하는기술 Clustering의핵심기술 Failover 장애발생시다른노드로요청을처리 Load Balancing 특정노드로부하가집중되는것을방지하고부하를다수의노드로분산

32 클러스터링시스템구축구성도 Web Server Failover Application Server Failover Database Failover Load Balancing JBoss AS (1) Load Balancing Apache HTTP (1) JBoss AS (2) Oracle 10g RAC (1) Database Clustering Client L4 Switch (Load Balancing) Load Balancing JBoss AS (3) Apache HTTP (2) Oracle 10g RAC (2) JBoss AS (4) DMZ Inner Network

33 클러스터의정의 모든노드는동일한 Partition Name을가져야한다. 모든노드는멀티캐스트통신이가능해야한다. JBoss의 all configuration으로구동해야한다.

34 Server Architecture Client Side Interceptor Client-Side Interceptor JBoss의 Clustering 구현기술중에하나로클라이언트측에서노드의장애를감지하여 failover를제공 EJB, JMS, HA-JNDI 등등

35 Server Architecture Load Balancer Firewall Firewall

36 Server Architecture Load Balancer L4 Switch와 Apache HTTP Server 간 Load Balancing Apache HTTP Server와 JBoss간 Load Balancing mod_jk 는 HTTP 요청을적절하게 JBoss 로 load balancing 정책 Request Session Traffic Busyness 설명요청의수를기준으로부하를분배하는정책세션의수를기준으로부하를분배하는정책네트워크트래픽을기준으로부하를분배하는정책부하가적은 worker를기준으로부하를분배하는정책 JBoss 내부의 Load Balancing 정책 RoundRobin RandomRobin FirstAvailable FirstAvailableIde nticalallproxies 설명 이방식은 round robin 방식으로부하를분배합니다. 첫번째노드는임의적으로선택합니다. 임의적으로노드를선택하여부하를분배합니다. 이방식은 sticky session 처럼최초선택한노드로부하를분배하며장애가발생하여해당노드를사용할수없는경우다른노드를랜덤하게선택합니다. FirstAvailable 과동일하게동작하지만동일 JVM 의 proxy 또는 stub 을공유합니다. 예를들어동일 EJB 에대해서서로다른 stub 을얻더라도서로다른 EJB 를호출하는것이아니라같은 EJB 를호출합니다.

37 HA-JNDI JNDI Lookup 에대한 failover 지원 JNDI 서비스자체에대한 failover 를지원함으로써리모트클라이언트의안정적인 JNDI lookup 이가능하도록함 JNDI Lookup 에대한 load balancing 지원 멀티캐스트를이용한 HA-JNDI 서비스의자동탐색 멀티캐스트를이용하면 JNDI 서비스를클라이언트에서자동으로탐색하여사용 클러스터링되어있는 JBoss 의 JNDI 트리의통합뷰 HA-JNDI 와 Local JNDI 가통합되어하나의뷰로보임 HA-JNDI 로 lookup 하는경우 Local JNDI 도 lookup HA-JNDI 사용조건 : all configuration 으로구동

38 HA-JNDI

39 HA-JNDI 서비스설정파일 <JBOSS_HOME>/server/all/deploy/cluster/hajndijboss-beans.xml 파일 <deployment xmlns="urn:jboss:bean-deployer:2.0"> <bean name="hajndi" class="org.jboss.ha.jndi.hanamingservice"> <depends>jboss:service=naming</depends>... 생략 <!-- Handler for the replicated tree --> <property name="distributedtreemanager"> <bean class="org.jboss.ha.jndi.impl.jbc.jbosscachedistributedtreemanager"> <property name="clusteredcache"> <inject bean="hapartitioncachehandler" property="cache"/> </property> </bean> </property> <!-- The thread pool used to control the bootstrap and auto discovery lookups --> <property name="lookuppool"> <inject bean="jboss.system:service=threadpool"/> </property>... 생략 </bean> </deployment>

40 HA-JNDI 의 Failover

41 HA-JNDI 의 Load Balancing <JBOSS_HOME>/server/all/deploy/cluster/hajndijboss-beans.xml 파일 <deployment xmlns="urn:jboss:bean-deployer:2.0"> <bean name="hajndi" class="org.jboss.ha.jndi.hanamingservice">... 생략 <depends>jboss:service=naming</depends>... 생략 <property name="discoverydisabled">false</property> <property name="autodiscoverybindaddress">${jboss.bind.address}</property> <property name="autodiscoveryaddress"> ${jboss.partition.udpgroup: } </property> <property name="autodiscoverygroup">1102</property> <property name="autodiscoveryttl">16</property> <property name="loadbalancepolicy"> org.jboss.ha.framework.interfaces.roundrobin </property> </bean> </deployment>

42 HA-JNDI 의 InitialContext JBoss 내부클라이언트가 HA-JNDI 를이용하는경우 Properties p = new Properties(); p.put(context.initial_context_factory, "org.jnp.interfaces.namingcontextfactory"); p.put(context.url_pkg_prefixes, "jboss.naming:org.jnp.interfaces"); p.put(context.provider_url, "localhost:1100"); // HA-JNDI port Context context = new InitialContext(p); HelloWorld helloworld = (HelloWorld) context.lookup( HelloWorldBean/remote ); JBoss 외부클라이언트가 HA-JNDI 를이용하는경우 Properties p = new Properties(); p.put(context.initial_context_factory, "org.jnp.interfaces.namingcontextfactory"); p.put(context.url_pkg_prefixes, "jboss.naming:org.jnp.interfaces"); p.put(context.provider_url, "server1:1100,server2:1100,server3:1100 ); // HA-JNDI port Context context = new InitialContext(p); HelloWorld helloworld = (HelloWorld) context.lookup( HelloWorldBean/remote );

43 Spring Framework 에서 HA-JNDI <beans> <bean id="helloworld" class="org.springframework.jndi.jndiobjectfactorybean"> <property name="jndiname" value="helloworldbean/remote"/> <property name="lookuponstartup" value="false"/> <property name="cache" value="true"/> <property name="proxyinterface" value="com.jbossug.jboss.example.clustering.hajndi.helloworld"/> <property name="jnditemplate" ref="jnditemplate"/> </bean> <bean id="jnditemplate" class="org.springframework.jndi.jnditemplate"> <property name="environment"> <bean class="org.springframework.beans.factory.config.propertiesfactorybean"> <property name="properties"> <value> java.naming.factory.initial=org.jnp.interfaces.namingcontextfactory java.naming.provider.url=jnp://localhost:1100 </value> </property> </bean> </property> </bean> </beans>

44 HA-JNDI 와 EJB Stub Caching 그리고 Failover EJB 의 Stub 을 1 회 lookup 하고계속호출하는경우 (Caching) public class HelloWorldBeanHAClient { public static void main(string[] args) throws NamingException { String[] urls = new String[]{" :1100", " :1100"}; Context context = JndiUtils.getRemoteHAJNDIContext(urls); HelloWorld helloworld = (HelloWorld) context.lookup("helloworldbean/remote"); for (int index = 0; index < 1000; index++) { try { Thread.sleep(200); } catch (InterruptedException e) { } } } } try { System.out.println(index + ": " + helloworld.sayhello("ha-jndi")); } catch (Exception ex) { // 아무일도안함. }

45 HA-JNDI 와 EJB Stub Caching 그리고 Failover Client 가 EJB Stub 을얻고난후캐슁해서사용하는경우 HelloWorldBean HelloWorldBean JBoss Node1 JBoss Node1 Client Client JBoss Node2 JBoss Node2

46 HA-JNDI 와 EJB Stub Caching 그리고 Failover JBoss Node1 에서장애가발생하더라도 EJB Client 는계속커넥션을연결되어있는상태로인지하고 hang 발생 "main" prio=6 tid=0x0003c2d8 nid=0x1f94 runnable [0x0007f000..0x0007fc3c] at java.net.plainsocketimpl.socketconnect(native Method) at java.net.plainsocketimpl.doconnect(plainsocketimpl.java:333) - locked <0x02bba410> (a java.net.sockssocketimpl) at java.net.plainsocketimpl.connecttoaddress(plainsocketimpl.java:195) at java.net.plainsocketimpl.connect(plainsocketimpl.java:182) at java.net.sockssocketimpl.connect(sockssocketimpl.java:366) at java.net.socket.connect(socket.java:520) at org.jboss.remoting.util.securityutility.connect(securityutility.java:1037)... 생략 at $Proxy4.invoke(Unknown Source)... 생략 }

47 HA-JNDI 와 EJB Stub Caching 그리고 Failover EJB Stub 을호출시마다 lookup 형태로변경 (Non- Caching) public class HelloWorldBeanHAClient { public static void main(string[] args) throws NamingException { String[] urls = new String[]{" :1100", " :1100"}; Context context = JndiUtils.getRemoteHAJNDIContext(urls); for (int index = 0; index < 1000; index++) { HelloWorld helloworld = (HelloWorld) context.lookup("helloworldbean/remote"); try { Thread.sleep(200); } catch (InterruptedException e) { } try { System.out.println(index + ": " + helloworld.sayhello("ha-jndi")); } catch (Exception ex) { // 아무일도안함. } } } }

48 HA-JNDI 와 EJB Stub Caching 그리고 Failover HelloWorldBean JBoss Node1 HA-JNDI를이용하여호출시마다 JNDI lookup을하게되면노드에장애가발생하더라도 HA-JNDI는다른노드에서 JNDI lookup을시도 Client JBoss Node2 HelloWorldBean JBoss Node1 Client JBoss Node2

49 HA-JMS JMS(JavaMessage Service) 는비동기메시징표준 API 엔터프라이즈애플리케이션구축시비동기메시징이필요하다면 JMS 는꼭필요한기술 따라서고가용성을위한 JMS 의클러스터링은반드시필요 Failover 특정노드에서메시지송수신중장애발생시다른노드로 failover Load Balancing 메시지를다수의노드로분산 메시지수신자가메시지수신이늦는경우좀더빨리메시지는수신하는수신자로메시지를처리

50 HA-JMS 메시지송신 jnp:// :1100 Message Producer JBoss Node1 메시지라우팅 Cluster Partition JBoss Node4 JBoss Node2 jnp:// :1100 jnp:// :1100 메시지수신 JBoss Node3 jnp:// :1100 Message Consumer

51 HA-JMS HA-JMS 를사용하려면? JBoss Messaging의 Server Peer ID를노드별로유일하게설정 JBoss의 all configuration으로구동 동일한 partition name으로설정 #cd <JBOSS_HOME>/bin #run.sh -c all -b Dnode0 -Djboss.messaging.ServerPeerID=0 -g HATestPartition #cd <JBOSS_HOME>/bin #run.sh -c all -b Dnode1 -Djboss.messaging.ServerPeerID=1 -g HATestPartition

52 HA-JMS JBoss 의기본 Connection Factory 클러스터링 로드밸런싱 JNDI Name 설명 Failover 및로드밸런싱을 X X /ConnectionFactory /XAConnectionFactory java:/connectionfactory java:/xaconnectionfactory 지원하지않습니다. EJB Message-Driven Bean은자체적으로로드밸런싱메커니즘을지원하므로이 ConnectionFactory를 사용합니다. O O /ClusteredConnectionFactory /ClusteredXAConnectionFactory java:/clusteredconnectionfactory java:/clusteredxaconnectionfactory Failover 및로드밸런싱을지원합니다. 하지만 EJB Message-Driven Bean에서는이 ConnectionFactory를사용하지않습니다.

53 HA-JMS Clustering 을지원하는 JMS 의 Destination <JBOSS_HOME>/server/all/deploy/messaging/destinationsservice.xml 파일 <server>... 생략 <mbean code="org.jboss.jms.server.destination.queueservice" name="jboss.messaging.destination:service=queue,name=testqueue" xmbean-dd="xmdesc/queue-xmbean.xml">... 생략 <depends optional-attribute-name="serverpeer"> jboss.messaging:service=serverpeer </depends> <depends>jboss.messaging:service=postoffice</depends> <attribute name="clustered">true</attribute> </mbean> </server>

54 HA-JMS HA-JMS 의 Failover

55 HA-JMS HA-JMS 의메시지분산과 Sucker Connection

56 클러스터링시스템구축 Server Configuration 구성하기 장비에하나의 JBoss Instance 를구동하는경우 all configuration 으로구동 장비에다수의 JBoss Instance 를구동하는경우 클러스터링을지원하는 all configuration 을복사하여다수의 configuration 을구성 변경전 <JBOSS_HOME>/server/all <JBOSS_HOME>/server/default <JBOSS_HOME>/server/minimal <JBOSS_HOME>/server/standard <JBOSS_HOME>/server/web 변경후 <JBOSS_HOME>/server/all <JBOSS_HOME>/server/cluster1 <JBOSS_HOME>/server/cluster2 <JBOSS_HOME>/server/default <JBOSS_HOME>/server/minimal <JBOSS_HOME>/server/standard <JBOSS_HOME>/server/web

57 클러스터링시스템구축 시작스크립트작성하기 노드명 Cluster1 시작스크립트 (<JBOSS_HOME>/bin/start_cluster1.sh) #!/bin/sh nohup run_cluster1.sh -c cluster1 -b g JBoss5Partition -Djboss.messaging.ServerPeerID=1 2>&1 & Binding IP Address를지정할것 ( 미지정시 ) Partition Name을지정할것 ( 미지정시 DefaultPartition) JBoss Messaging의 Server Peer ID를지정할것 ( 미지정시 0)

58 클러스터링시스템구축 4 대의장비에각각한개의노드를구성하는경우 IP 주소 스크립트파일 항목 값 <JBOSS_HOME>/bin/start_cluster1.sh -b jboss.messagging.serverpeerid <JBOSS_HOME>/bin/stop_cluster1.sh -s : <JBOSS_HOME>/bin/start_cluster1.sh -b jboss.messagging.serverpeerid <JBOSS_HOME>/bin/stop_cluster1.sh -s : <JBOSS_HOME>/bin/start_cluster1.sh -b jboss.messagging.serverpeerid <JBOSS_HOME>/bin/stop_cluster1.sh -s : <JBOSS_HOME>/bin/start_cluster1.sh -b jboss.messagging.serverpeerid <JBOSS_HOME>/bin/stop_cluster1.sh -s :1100

59 클러스터링시스템구축 Service Binding Manager 하나의물리장비에다수의 JBoss Instance 를구동하는경우포트충돌발생 Service Binding Manager 는서비스의포트를구동시변경시켜주어충돌을방지 포트를일괄적으로변경하기위해서 increment value 가사전에정의 (binding set) ports-default, ports-01(100), ports-02(200), ports-03(300) 8080, 8180, 8280, 8380 Binding Set 은 <JBOSS_HOME>/server/all/conf/bindings.xml 파일에정의 시작스크립트를통해 binding set 을지정

60 클러스터링시스템구축 시작스크립트에 Binding Set 지정하기 노드명 #!/bin/sh 시작스크립트 (<JBOSS_HOME>/bin/start_clusterX.sh) Cluster1 nohup run_cluster1.sh -c cluster1 -b g JBoss5Partition -Djboss.messaging.ServerPeerID=1 -Djboss.service.binding.set=ports-01 2>&1 & #!/bin/sh Cluster2 nohup run_cluster2.sh -c cluster1 -b g JBoss5Partition -Djboss.messaging.ServerPeerID=2 -Djboss.service.binding.set=ports-02 2>&1 &

61 클러스터링시스템구축 시작스크립트에 Binding Set 지정하기 동일한장비에다수의 JBoss Instance 에 binding set 을적용하면포트는일괄적으로변경됨 IP 주소 노드명 서비스 사용예 변경전 포트 변경후 JNDI jnp:// : cluster1 (ports-01) HA-JNDI HTTP jnp:// : AJP JNDI 웹서버통합시사용 jnp:// : cluster2 (ports-02) HA-JNDI HTTP jnp:// : AJP 웹서버통합시사용

62 실습전준비사항 Apache HTTP Server 다운로드 Mod_JK 다운로드 JBossAS GA 다운로드 JDK 다운로드

63 EJB Clustering Stateless Session Bean - 로드밸런싱 Stateful Session Bean - 세션복제및분산캐쉬 Session 에대한 Buddy Replication Message-Driven Bean - 로드밸런싱 Entity - 분산캐슁 JBoss Cache 를이용한분상캐슁

64 EJB Clustering Stateless Session Bean 의 Instance Pool

65 EJB Clustering Stateless Session Bean 의 Load Balancing

66 EJB Clustering Stateless Session Bean 의 Clustering annotation import org.jboss.ejb3.annotation.clustered; // Annotation for EJB Clustering public class ClusteredHelloWorldBean implements ClusteredHelloWorld { public String sayhello(string name) { String message = "Hello " + name + " ==> [" + tostring() + "]"; System.out.println(message); return message; } } Clustered { java.lang.string loadbalancepolicy() default "LoadBalancePolicy"; java.lang.string homeloadbalancepolicy() default "LoadBalancePolicy"; // for EJB2 java.lang.string partition() default "${jboss.partition.name:defaultpartition}"; }

67 EJB Clustering Stateless Session Bean 의 Load Balancing Policy 로드밸런싱정책 RoundRobin RandomRobin FirstAvailable 설명이방식은 EJB 호출시 smart proxy가 round robin 방식으로호출합니다. 이방식은 EJB 호출시 smart proxy가임의적으로노드를선택하여호출합니다. 이방식은 sticky session 처럼한번선택한노드로 EJB 호출을하는방식입니다. 장애가발생하여해당노드를사용할수없는경우다른노드를랜덤하게선택합니다. = "FirstAvailable") // Load Balancing Policy public class ClusteredHelloWorldBean implements ClusteredHelloWorld { public String sayhello(string name) { String message = "Hello " + name + " ==> [" + tostring() + "]"; System.out.println(message); return message; } }

68 EJB Clustering Stateful Session Bean 의 Instance Cache

69 EJB Clustering Stateful Session Bean 의 Activation/Passivation

70 EJB Clustering Stateful Session Bean 의 Session Replication Buddy Replication Load Balancing EJB Client invocation Smart Proxy for EJB Remote Interface creation & invocation JBoss Node1 Cluster Partition JBoss Node4 JBoss Node2 JBoss Node3

71 EJB Clustering Stateful Session Bean // Annotation for EJB = 5000, removaltimeoutseconds = 18000) public class StatefulBean implements StatefulBeanRemote { private int state = 0; // Stateful Session Bean 의상태 } public void increment() { System.out.println("counter: " + (state++)); } CacheConfig { String name() default "jboss.cache:service=ejb3sfsbclusteredcache"; int maxsize() default 10000; long idletimeoutseconds() default 300; long removaltimeoutseconds() default 0; boolean replicationispassivation() default true; }

72 EJB Clustering JPA(Java Persistence API) Entity = CacheConcurrencyStrategy.TRANSACTIONAL) public class Account implements Serializable private String username; private String password; }... 생략

73 EJB Clustering JPA(Java Persistence API) Entity 의 Clustering Cache { CacheConcurrencyStrategy usage(); // Caching Strategy String region() default ""; // Caching Region (optional) String include() default "all"; // Property to cache (optional) } public enum CacheConcurrencyStrategy { NONE, READ_ONLY, // never update NONSTRICT_READ_WRITE, // update without locking (asynchronous) READ_WRITE, // update with distributed hard locking (asynchronous) TRANSACTIONAL // fully transactional cache (synchronous) }

74 EJB Clustering JPA(Java Persistence API) Entity 의 Clustering EJBJAR#META-INF/persistence.xml 파일 <persistence xmlns=" xmlns:xsi=" xsi:schemalocation=" version="1.0"> <persistence-unit name="testpu " transaction-type="jta"> <jta-data-source>java:/defaultds</jta-data-source> <properties> Entity 의 2 차캐쉬 <property name="hibernate.cache.use_second_level_cache" value="true"/> <property name="hibernate.cache.use_query_cache" value="true"/> <property name="hibernate.cache.region.factory_class" value="org.hibernate.cache.jbc2.jndimultiplexedjbosscacheregionfactory"/> <property name="hibernate.cache.region.jbc2.cachefactory" value="java:cachemanager"/> <property name="hibernate.cache.region.jbc2.cfg.entity" value="mvcc-entity"/> <property name="hibernate.cache.region.jbc2.cfg.query" value="local-query"/> </properties> </persistence-unit> </persistence>

Microsoft PowerPoint - 3_김병곤.ppt [호환 모드]

Microsoft PowerPoint - 3_김병곤.ppt [호환 모드] Apache HTTP Server Integration ti & JBoss AS Clustering 김병곤 JBoss User Group Agenda Apache HTTP Integration JBoss AS Clustering Q/A 웹서버와 L4 Switch L4 Switch 의로드밸런싱 Apache1 192.168.10.2 Client L4 Switch

More information

No Slide Title

No Slide Title J2EE J2EE(Java 2 Enterprise Edition) (Web Services) :,, SOAP: Simple Object Access Protocol WSDL: Web Service Description Language UDDI: Universal Discovery, Description & Integration 4. (XML Protocol

More information

Apache2 + Tomcat 5 + JK2 를 사용한 로드밸런싱과 세션 복제 클러스터링 사이트 구축

Apache2 + Tomcat 5 + JK2 를 사용한 로드밸런싱과 세션 복제 클러스터링 사이트 구축 Apache2 + Tomcat 5 + JK2 : 2004-11-04 Release Ver. 1.0.0.1 Email : ykkim@cabsoftware.com Apache JK2 ( )., JK2 Apache2 JK2. 3 - JK2, Tomcat -.. 3, Stress ( ),., localhost ip., 2. 2,. Windows XP., Window

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

Introduction to SOA

Introduction to SOA JBoss Web Management 다우기술김성욱 목차 1. JBoss Web 소개 2. JBoss Web 구성요소 3. Valve 설정 4. 한글처리 5. 3 JBoss Web 소개 JBoss Web Medium & Large application을위한 Enterprise Web Server JBoss EAP 5.1.0 내장 Component 2.1.10.GA

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

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

Microsoft PowerPoint - L4-7Switch기본교육자료.ppt

Microsoft PowerPoint - L4-7Switch기본교육자료.ppt L4-7 Switch 기본교육자료 Pumpkin Networks. Inc. http://www.pumpkinnet.co.kr (Tel) 02-3280-9380 (Fax) 02-3280-9382 info@pumpkinnet.co.kr 기본개념 L4/L7 Switch 란? -2- 기본개념 - Switching & Routing Switching & Routing

More information

Microsoft PowerPoint - 1_이우진.pptx

Microsoft PowerPoint - 1_이우진.pptx Administration 이우진대리 Solution Engineer Solution Engineer 다우기술 Agenda AS Introduction WAS 구성 Installation 기본 Production o Tuning Monitoring Q / A EAP Introduction Community Project Community & Enterprise

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

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

Web Application Hosting in the AWS Cloud Contents 개요 가용성과 확장성이 높은 웹 호스팅은 복잡하고 비용이 많이 드는 사업이 될 수 있습니다. 전통적인 웹 확장 아키텍처는 높은 수준의 안정성을 보장하기 위해 복잡한 솔루션으로 구현

Web Application Hosting in the AWS Cloud Contents 개요 가용성과 확장성이 높은 웹 호스팅은 복잡하고 비용이 많이 드는 사업이 될 수 있습니다. 전통적인 웹 확장 아키텍처는 높은 수준의 안정성을 보장하기 위해 복잡한 솔루션으로 구현 02 Web Application Hosting in the AWS Cloud www.wisen.co.kr Wisely Combine the Network platforms Web Application Hosting in the AWS Cloud Contents 개요 가용성과 확장성이 높은 웹 호스팅은 복잡하고 비용이 많이 드는 사업이 될 수 있습니다. 전통적인

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

FileMaker 15 ODBC 및 JDBC 설명서

FileMaker 15 ODBC 및 JDBC 설명서 FileMaker 15 ODBC JDBC 2004-2016 FileMaker, Inc.. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker FileMaker Go FileMaker, Inc.. FileMaker WebDirect FileMaker, Inc... FileMaker.

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

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

(Microsoft PowerPoint - Chapter17 RMI.ppt [\310\243\310\257 \270\360\265\345])

(Microsoft PowerPoint - Chapter17 RMI.ppt [\310\243\310\257 \270\360\265\345]) Chapter 17. RMI Mingyu Lim Collaborative Computing Systems Lab, School of Internet & Multimedia Engineering Konkuk University, Seoul, Korea 학습목표 RMI란 RMI 구조 RMI는어떻게동작하는가 로컬객체를원격객체로변경하기 RMI를이용한계산기애플리케이션

More information

Samsung SDS Enterprise Cloud Networking CDN Load Balancer WAN

Samsung SDS Enterprise Cloud Networking CDN Load Balancer WAN Samsung SDS Enterprise Cloud Networking CDN Load Balancer WAN Enterprise Cloud Networking CDN (Content Delivery Network) 전 세계에 배치된 콘텐츠 서버를 통해 빠른 전송을 지원하는 서비스 전 세계에 전진 배치된 CDN 서버를 통해 사용자가 요청한 콘텐츠를 캐싱하여

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

- JPA를사용하는경우의스프링설정파일에다음을기술한다. <bean id="entitymanagerfactory" class="org.springframework.orm.jpa.localentitymanagerfactorybean" p:persistenceunitname=

- JPA를사용하는경우의스프링설정파일에다음을기술한다. <bean id=entitymanagerfactory class=org.springframework.orm.jpa.localentitymanagerfactorybean p:persistenceunitname= JPA 와 Hibernate - 스프링의 JDBC 대신에 JPA를이용한 DB 데이터검색작업 - JPA(Java Persistence API) 는자바의 O/R 매핑에대한표준지침이며, 이지침에따라설계된소프트웨어를 O/R 매핑프레임워크 라고한다. - O/R 매핑 : 객체지향개념인자바와관계개념인 DB 테이블간에상호대응을시켜준다. 즉, 객체지향언어의인스턴스와관계데이터베이스의레코드를상호대응시킨다.

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

목차 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

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

Cache_cny.ppt [읽기 전용]

Cache_cny.ppt [읽기 전용] Application Server iplatform Oracle9 A P P L I C A T I O N S E R V E R i Improving Performance and Scalability with Oracle9iAS Cache Oracle9i Application Server Cache... Oracle9i Application Server Web

More information

Portal_9iAS.ppt [읽기 전용]

Portal_9iAS.ppt [읽기 전용] Application Server iplatform Oracle9 A P P L I C A T I O N S E R V E R i Oracle9i Application Server e-business Portal Client Database Server e-business Portals B2C, B2B, B2E, WebsiteX B2Me GUI ID B2C

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

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

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

FileMaker ODBC 및 JDBC 가이드

FileMaker ODBC 및 JDBC 가이드 FileMaker ODBC JDBC 2004-2019 FileMaker, Inc.. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker, FileMaker Cloud, FileMaker Go FileMaker, Inc.. FileMaker WebDirect FileMaker,

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

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

Corporate PPT Template

Corporate PPT Template Tech Sales Consultant Oracle Corporation What s New in Oracle9iAS Forms? Why upgrade Oracle Forms to the WEB? Agenda Oracle9i Forms Web Oracle9i Forms Oracle9i Forms Oracle9i Forms What s NEW in Oracle

More information

Microsoft PowerPoint - RMI.ppt

Microsoft PowerPoint - RMI.ppt ( 분산통신실습 ) RMI RMI 익히기 1. 분산환경에서동작하는 message-passing을이용한 boundedbuffer 해법프로그램을실행해보세요. 소스코드 : ftp://211.119.245.153 -> os -> OSJavaSources -> ch15 -> rmi http://marvel el.incheon.ac.kr의 Information Unix

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

<C0CCBCBCBFB52DC1A4B4EBBFF82DBCAEBBE7B3EDB9AE2D313939392D382E687770>

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

More information

Spring Data JPA Many To Many 양방향 관계 예제

Spring Data JPA Many To Many 양방향 관계 예제 Spring Data JPA Many To Many 양방향관계예제 오라클자바커뮤니티 (ojc.asia, ojcedu.com) 엔티티매핑 (Entity Mapping) M : N 연관관계 사원 (Sawon), 취미 (Hobby) 는다 : 다관계이다. 사원은여러취미를가질수있고, 하나의취미역시여러사원에할당될수있기때문이다. 보통관계형 DB 에서는다 : 다관계는 1

More information

(Microsoft PowerPoint - Spring 3.1\277\241\274\255 Ehcache \310\260\277\353 \300\374\267\253.pptx)

(Microsoft PowerPoint - Spring 3.1\277\241\274\255 Ehcache \310\260\277\353 \300\374\267\253.pptx) SPRING 3.1 에서 Ehcache 활용전략 김흥래 NHN INS 경영지원개발팀에서그룹웨어를개발하고있습니다. 자바카페 (JAVACAFE) 커뮤니티에서 5 년째운영진으로활동하고있습니다. 발표자 김흥래 AGENDA WARMING-UP Cache 개념잡기 Ehcache 소개 Ehcache 활용하기 다양한 Architecture 우리서비스는? Ehcache 가이드

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

Microsoft PowerPoint - Smart CRM v4.0_TM 소개_20160320.pptx

Microsoft PowerPoint - Smart CRM v4.0_TM 소개_20160320.pptx (보험TM) 소개서 2015.12 대표전화 : 070 ) 7405 1700 팩스 : 02 ) 6012 1784 홈 페이지 : http://www.itfact.co.kr 목 차 01. Framework 02. Application 03. 회사 소개 01. Framework 1) Architecture Server Framework Client Framework

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

TTA Journal No.157_서체변경.indd

TTA Journal No.157_서체변경.indd 표준 시험인증 기술 동향 FIDO(Fast IDentity Online) 생체 인증 기술 표준화 동향 이동기 TTA 모바일응용서비스 프로젝트그룹(PG910) 의장 SK텔레콤 NIC 담당 매니저 76 l 2015 01/02 PASSWORDLESS EXPERIENCE (UAF standards) ONLINE AUTH REQUEST LOCAL DEVICE AUTH

More information

ALTIBASE 사용자가이드 Templete

ALTIBASE 사용자가이드 Templete Real Alternative DBMS ALTIBASE, Since 1999 ALTIBASE & JBOSS 연동가이드 2010. 06 Copyright c 2000~2013 ALTBASE Corporation. All Rights Reserved. Document Control Change Record Date Author Change Reference 2010-06

More information

Voice Portal using Oracle 9i AS Wireless

Voice Portal using Oracle 9i AS Wireless Voice Portal Platform using Oracle9iAS Wireless 20020829 Oracle Technology Day 1 Contents Introduction Voice Portal Voice Web Voice XML Voice Portal Platform using Oracle9iAS Wireless Voice Portal Video

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

歯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

J2EE & Web Services iSeminar

J2EE & Web Services iSeminar 9iAS :, 2002 8 21 OC4J Oracle J2EE (ECperf) JDeveloper : OLTP : Oracle : SMS (Short Message Service) Collaboration Suite Platform Email Developer Suite Portal Java BI XML Forms Reports Collaboration Suite

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

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

개요오라클과티베로에서 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

제11장 프로세스와 쓰레드

제11장 프로세스와 쓰레드 제9장자바쓰레드 9.1 Thread 기초 (1/5) 프로그램 명령어들의연속 (a sequence of instruction) 프로세스 / Thread 실행중인프로그램 (program in execution) 프로세스생성과실행을위한함수들 자바 Thread 2 9.1 Thread 기초 (2/5) 프로세스단위작업의문제점 프로세스생성시오버헤드 컨텍스트스위치오버헤드

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

[Brochure] KOR_LENA WAS_

[Brochure] KOR_LENA WAS_ LENA Web Application Server LENA Web Application Server 빠르고확장가능하며장애를선대응할수있는운영중심의고효율차세대 Why 클라우드환경과데이터센터운영의노하우가결집되어편리한 관리기능과대용량트랜잭션을빠르고쉽게구현함으로고객의 IT Ownership을강화하였습니다. 고객의고민사항 전통 의 Issue Complexity Over

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

The Self-Managing Database : Automatic Health Monitoring and Alerting

The Self-Managing Database : Automatic Health Monitoring and Alerting The Self-Managing Database : Automatic Health Monitoring and Alerting Agenda Oracle 10g Enterpirse Manager Oracle 10g 3 rd Party PL/SQL API Summary (Self-Managing Database) ? 6% 6% 12% 55% 6% Source: IOUG

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

Network Programming

Network Programming Part 5 확장된 Network Programming 기술 1. Remote Procedure Call 2. Remote Method Invocation 3. Object Request Broker 2. Java RMI

More information

PowerPoint Presentation

PowerPoint Presentation 객체지향프로그래밍 인터페이스, 람다식, 패키지 ( 실습 ) 손시운 ssw5176@kangwon.ac.kr 예제 1. 홈네트워킹 public interface RemoteControl { public void turnon(); // 가전제품을켠다. public void turnoff(); // 가전제품을끈다. 인터페이스를구현 public class Television

More information

PCServerMgmt7

PCServerMgmt7 Web Windows NT/2000 Server DP&NM Lab 1 Contents 2 Windows NT Service Provider Management Application Web UI 3 . PC,, Client/Server Network 4 (1),,, PC Mainframe PC Backbone Server TCP/IP DCS PLC Network

More information

Oracle9i Real Application Clusters

Oracle9i Real Application Clusters Senior Sales Consultant Oracle Corporation Oracle9i Real Application Clusters Agenda? ? (interconnect) (clusterware) Oracle9i Real Application Clusters computing is a breakthrough technology. The ability

More information

비긴쿡-자바 00앞부속

비긴쿡-자바 00앞부속 IT COOKBOOK 14 Java P r e f a c e Stay HungryStay Foolish 3D 15 C 3 16 Stay HungryStay Foolish CEO 2005 L e c t u r e S c h e d u l e 1 14 PPT API C A b o u t T h i s B o o k IT CookBook for Beginner Chapter

More information

@OneToOne(cascade = = "addr_id") private Addr addr; public Emp(String ename, Addr addr) { this.ename = ename; this.a

@OneToOne(cascade = = addr_id) private Addr addr; public Emp(String ename, Addr addr) { this.ename = ename; this.a 1 대 1 단방향, 주테이블에외래키실습 http://ojcedu.com, http://ojc.asia STS -> Spring Stater Project name : onetoone-1 SQL : JPA, MySQL 선택 http://ojc.asia/bbs/board.php?bo_table=lecspring&wr_id=524 ( 마리아 DB 설치는위 URL

More information

Slide 1

Slide 1 J2EE 어플리케이션문제해결방법론 차의중 IBM Korea WebSphere Field Technical Sales Support ejcha@kr.ibm.com 선결조건 문제해결에임하는자세 3 침착하라 -심호흡 -Operating은천천히, 또박또박 혼자해결하려하지마라 -물어보라 -찾아보라 -확인하라 필요한최소한의인원만을곁에두어라 -파트별엔지니어, 어플리케이션개발자

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

Spring Boot/JDBC JdbcTemplate/CRUD 예제

Spring Boot/JDBC JdbcTemplate/CRUD 예제 Spring Boot/JDBC JdbcTemplate/CRUD 예제 오라클자바커뮤니티 (ojc.asia, ojcedu.com) Spring Boot, Gradle 과오픈소스인 MariaDB 를이용해서 EMP 테이블을만들고 JdbcTemplate, SimpleJdbcTemplate 을이용하여 CRUD 기능을구현해보자. 마리아 DB 설치는다음 URL 에서확인하자.

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

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

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

thesis

thesis ( Design and Implementation of a Generalized Management Information Repository Service for Network and System Management ) ssp@nile nile.postech.ac..ac.kr DPE Lab. 1997 12 16 GMIRS GMIRS GMIRS prototype

More information

목 차

목      차 Oracle 9i Admim 1. Oracle RDBMS 1.1 (System Global Area:SGA) 1.1.1 (Shared Pool) 1.1.2 (Database Buffer Cache) 1.1.3 (Redo Log Buffer) 1.1.4 Java Pool Large Pool 1.2 Program Global Area (PGA) 1.3 Oracle

More information

Microsoft Word - Jeus_System_Architecture.doc

Microsoft Word - Jeus_System_Architecture.doc Whitepaper JEUS Syetem Architecture Copyrightc 2001 TmaxSoft Co.,Ltd. All Right Reserved. Contents JEUS System 2 I. JEUS System 운영 1. JEUS Manager 4 2. Naming & Directory Server 5 3. Security Server 5

More information

Microsoft Word - ntasFrameBuilderInstallGuide2.5.doc

Microsoft Word - ntasFrameBuilderInstallGuide2.5.doc NTAS and FRAME BUILDER Install Guide NTAS and FRAME BUILDER Version 2.5 Copyright 2003 Ari System, Inc. All Rights reserved. NTAS and FRAME BUILDER are trademarks or registered trademarks of Ari System,

More information

Cloud Friendly System Architecture

Cloud Friendly System Architecture -Service Clients Administrator 1. -Service 구성도 : ( 좌측참고 ) LB(LoadBlancer) 2. -Service 개요 ucloud Virtual Router F/W Monitoring 개념 특징 적용가능분야 Server, WAS, DB 로구성되어 web service 를클라우드환경에서제공하기위한 service architecture

More information

Secure Programming Lecture1 : Introduction

Secure Programming Lecture1 : Introduction Malware and Vulnerability Analysis Lecture4-1 Vulnerability Analysis #4-1 Agenda 웹취약점점검 웹사이트취약점점검 HTTP and Web Vulnerability HTTP Protocol 웹브라우저와웹서버사이에하이퍼텍스트 (Hyper Text) 문서송수신하는데사용하는프로토콜 Default Port

More information

이도경, 최덕재 Dokyeong Lee, Deokjai Choi 1. 서론

이도경, 최덕재 Dokyeong Lee, Deokjai Choi 1. 서론 이도경, 최덕재 Dokyeong Lee, Deokjai Choi 1. 서론 2. 관련연구 2.1 MQTT 프로토콜 Fig. 1. Topic-based Publish/Subscribe Communication Model. Table 1. Delivery and Guarantee by MQTT QoS Level 2.1 MQTT-SN 프로토콜 Fig. 2. MQTT-SN

More information

슬라이드 1

슬라이드 1 NeoDeveloper 설치가이드 차례 1. 환경 3 2. 설치 3 2.1 웹서버설치 3 Tomcat 7 3 JDK 1.6 3 2.2 NeoDeveloper 설치 3 Neo Developer 서버구성 3 Demo용 User Application 구성 4 Neo Developer 서버 Data File 4 Client 개발 Tool 설치 4 3. 설정 5 3.1

More information

vm-웨어-앞부속

vm-웨어-앞부속 VMware vsphere 4 This document was created using the official VMware icon and diagram library. Copyright 2009 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright

More information

2

2 2013 Devsisters Corp. 2 3 4 5 6 7 8 >>> import boto >>> import time >>> s3 = boto.connect_s3() # Create a new bucket. Buckets must have a globally unique name >>> bucket = s3.create_bucket('kgc-demo')

More information

ISS 웹서버연동부록 C. 쓰리래빗츠와웹서버를연동하려면아파치톰캣커넥터를사용합니다. 쓰리래빗츠가아파치톰캣을이용 하기때문입니다. 윈도우 8 을기준으로설명합니다. 윈도우버전에따라 IIS 관리자화면이다릅니다. C.1 isapi_redirect.dll 설치 1 설치에필요한파일을

ISS 웹서버연동부록 C. 쓰리래빗츠와웹서버를연동하려면아파치톰캣커넥터를사용합니다. 쓰리래빗츠가아파치톰캣을이용 하기때문입니다. 윈도우 8 을기준으로설명합니다. 윈도우버전에따라 IIS 관리자화면이다릅니다. C.1 isapi_redirect.dll 설치 1 설치에필요한파일을 ISS 웹서버연동부록 C. 쓰리래빗츠와웹서버를연동하려면아파치톰캣커넥터를사용합니다. 쓰리래빗츠가아파치톰캣을이용 하기때문입니다. 윈도우 8 을기준으로설명합니다. 윈도우버전에따라 IIS 관리자화면이다릅니다. C.1 isapi_redirect.dll 설치 1 설치에필요한파일을받습니다. IIS 와연동하려면 isapi_redirect.dll 를설치합니다. 설치파일은아파치톰캣커넥터페이지에서

More information

final_thesis

final_thesis CORBA/SNMP DPNM Lab. POSTECH email : ymkang@postech.ac.kr Motivation CORBA/SNMP CORBA/SNMP 2 Motivation CMIP, SNMP and CORBA high cost, low efficiency, complexity 3 Goal (Information Model) (Operation)

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

목차 BUG DEQUEUE 의 WAIT TIME 이 1 초미만인경우, 설정한시간만큼대기하지않는문제가있습니다... 3 BUG [qp-select-pvo] group by 표현식에있는컬럼을참조하는집합연산이존재하지않으면결괏값오류가발생할수있습니다... 4

목차 BUG DEQUEUE 의 WAIT TIME 이 1 초미만인경우, 설정한시간만큼대기하지않는문제가있습니다... 3 BUG [qp-select-pvo] group by 표현식에있는컬럼을참조하는집합연산이존재하지않으면결괏값오류가발생할수있습니다... 4 ALTIBASE HDB 6.5.1.5.10 Patch Notes 목차 BUG-46183 DEQUEUE 의 WAIT TIME 이 1 초미만인경우, 설정한시간만큼대기하지않는문제가있습니다... 3 BUG-46249 [qp-select-pvo] group by 표현식에있는컬럼을참조하는집합연산이존재하지않으면결괏값오류가발생할수있습니다... 4 BUG-46266 [sm]

More information

Spring Boot

Spring Boot 스프링부트 (Spring Boot) 1. 스프링부트 (Spring Boot)... 2 1-1. Spring Boot 소개... 2 1-2. Spring Boot & Maven... 2 1-3. Spring Boot & Gradle... 3 1-4. Writing the code(spring Boot main)... 4 1-5. Writing the code(commandlinerunner)...

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

RED HAT JBoss Data Grid (JDG)? KANGWUK HEO Middleware Solu6on Architect Service Team, Red Hat Korea 1

RED HAT JBoss Data Grid (JDG)? KANGWUK HEO Middleware Solu6on Architect Service Team, Red Hat Korea 1 RED HAT JBoss Data Grid (JDG)? KANGWUK HEO Middleware Solu6on Architect Service Team, Red Hat Korea 1 Agenda TITLE SLIDE: HEADLINE 1.? 2. Presenter Infinispan JDG 3. Title JBoss Data Grid? 4. Date JBoss

More information

The Pocket Guide to TCP/IP Sockets: C Version

The Pocket Guide to  TCP/IP Sockets: C Version 인터넷프로토콜 5 장 데이터송수신 (3) 1 파일전송메시지구성예제 ( 고정크기메시지 ) 전송방식 : 고정크기 ( 바이너리전송 ) 필요한전송정보 파일이름 ( 최대 255 자 => 255byte 의메모리공간필요 ) 파일크기 (4byte 의경우최대 4GB 크기의파일처리가능 ) 파일내용 ( 가변길이, 0~4GB 크기 ) 메시지구성 FileName (255bytes)

More information

Microsoft PowerPoint - JBossASTunning4BP.ppt

Microsoft PowerPoint - JBossASTunning4BP.ppt JBoss Performance Tunning byj 목 차 I. Basics 1. 성능튜닝의목적 II. JBoss AS 의성능 Factors 1. 성능튜닝개요 2. Application 3. 웹레이어 4. EJB 레이어 5. Database 6. 보안 7. Logging 8. 클러스터링 9. JVM III. 로드테스팅 Hints IV. 튜닝방법 V. references

More information

단계

단계 TIBERO-WAS 연동 Guide 본문서에서는 Tibero RDBMS 에서제공하는 JDBC 통한 JEUS, WEBLOGIC 등다양한 WAS (Web Application Server) 제품과의연동방법을알아본다. Contents 1. Connection Pool 방식... 2 2. JEUS 연동... 3 2.1. JEUSMain.xml 설정 (Thin 방식

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

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

쉽게 풀어쓴 C 프로그래밊

쉽게 풀어쓴 C 프로그래밊 Power Java 제 27 장데이터베이스 프로그래밍 이번장에서학습할내용 자바와데이터베이스 데이터베이스의기초 SQL JDBC 를이용한프로그래밍 변경가능한결과집합 자바를통하여데이터베이스를사용하는방법을학습합니다. 자바와데이터베이스 JDBC(Java Database Connectivity) 는자바 API 의하나로서데이터베이스에연결하여서데이터베이스안의데이터에대하여검색하고데이터를변경할수있게한다.

More information

SMB_ICMP_UDP(huichang).PDF

SMB_ICMP_UDP(huichang).PDF SMB(Server Message Block) UDP(User Datagram Protocol) ICMP(Internet Control Message Protocol) SMB (Server Message Block) SMB? : Microsoft IBM, Intel,. Unix NFS. SMB client/server. Client server request

More information

다른 JSP 페이지호출 forward() 메서드 - 하나의 JSP 페이지실행이끝나고다른 JSP 페이지를호출할때사용한다. 예 ) <% RequestDispatcher dispatcher = request.getrequestdispatcher(" 실행할페이지.jsp");

다른 JSP 페이지호출 forward() 메서드 - 하나의 JSP 페이지실행이끝나고다른 JSP 페이지를호출할때사용한다. 예 ) <% RequestDispatcher dispatcher = request.getrequestdispatcher( 실행할페이지.jsp); 다른 JSP 페이지호출 forward() 메서드 - 하나의 JSP 페이지실행이끝나고다른 JSP 페이지를호출할때사용한다. 예 ) RequestDispatcher dispatcher = request.getrequestdispatcher(" 실행할페이지.jsp"); dispatcher.forward(request, response); - 위의예에서와같이 RequestDispatcher

More information

초보자를 위한 분산 캐시 활용 전략

초보자를 위한 분산 캐시 활용 전략 초보자를위한분산캐시활용전략 강대명 charsyam@naver.com 우리가꿈꾸는서비스 우리가꿈꾸는서비스 우리가꿈꾸는서비스 우리가꿈꾸는서비스 그러나현실은? 서비스에필요한것은? 서비스에필요한것은? 핵심적인기능 서비스에필요한것은? 핵심적인기능 서비스에필요한것은? 핵심적인기능 서비스에필요한것은? 적절한기능 서비스안정성 트위터에매일고래만보이면? 트위터에매일고래만보이면?

More information

FileMaker ODBC and JDBC Guide

FileMaker ODBC and JDBC Guide FileMaker 14 5 5 5 5 6 6 6 7 7 7 8 8 8 9 9 10 10 11 11 12 12 12 12 12 13 13 14 15 16 17 18 18 19 19 20 20 20 21 21 21 22 22 22 22 23 24 24 24 24 25 27 27 28 29 29 29 29 30 30 31 31 31 32 1 1 1 1 1 1 1

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

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

Secure Programming Lecture1 : Introduction

Secure Programming Lecture1 : Introduction Malware and Vulnerability Analysis Lecture3-2 Malware Analysis #3-2 Agenda 안드로이드악성코드분석 악성코드분석 안드로이드악성코드정적분석 APK 추출 #1 adb 명령 안드로이드에설치된패키지리스트추출 adb shell pm list packages v0nui-macbook-pro-2:lecture3 v0n$

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

PowerPoint Presentation

PowerPoint Presentation 객체지향프로그래밍 클래스, 객체, 메소드 ( 실습 ) 손시운 ssw5176@kangwon.ac.kr 예제 1. 필드만있는클래스 텔레비젼 2 예제 1. 필드만있는클래스 3 예제 2. 여러개의객체생성하기 4 5 예제 3. 메소드가추가된클래스 public class Television { int channel; // 채널번호 int volume; // 볼륨 boolean

More information