SlideShare a Scribd company logo
1 of 25
본 문서의 배포 및 변경 ,  출력 및 활용에 관한 모든 권리는 작성자에 있습니다 . 본 서비스는 제 1 회 대전  IT  개발자 커뮤니티 참석자를 위해 제공됩니다 .
웹 서비스 개발 실습 심익찬 대전개발자커뮤니티 September 28 th , 2008
목차 ,[object Object],[object Object],[object Object],[object Object],[object Object]
Choice ,[object Object],Document Focus ,[object Object],[object Object],[object Object],[object Object],Framework Focus ,[object Object],[object Object],Team Focus ,[object Object],[object Object],[object Object],Developement Focus Choice
Practical Practical
Web Develope Environment Tomcat 6 JDK 6 Windows XP Ant 1.7 Struts 2 Subversion Hibernate 3 Eclipse 3.4 iBATIS 2 or ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],개발 환경
Web Develope Environment 프로젝트 소스 폴더 Xxx.hbm.xml hbm vo community net src project XxxService.java service community net src project IXxxService.java iface service community net src project XxxHibernateDao.java XxxIbatisDao.java persistence community net src project IXxxDao.java iface persistence community net src project ActionXxx.java action community net src project HibernateSessionFactory.java hibernate common community net src project Struts2Dispatcher.java filter common community net src project hibernate.cfg.xml struts.xml struts.properties message.properties project web.xml WEB-INF WebContent project Xxx.java vo community net src project Step 5 Step 4 Step 3 Step 2 Step 7 Step 6 Step 1
Practical ,[object Object],프로젝트 소스 폴더  (Eclipse IDE)
Practical ,[object Object],프로젝트 소스 폴더  (Eclipse IDE)
Practical <filter> <filter-name>struts2</filter-name> <filter-class> type.company.common.filter.Struts2Dispatcher </filter-class> <init-param> <param-name>encoding</param-name> <param-value>UTF-8</param-value> </init-param> </filter> <filter-mapping> <filter-name>struts2</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> web.xml
Practical <?xml version= '1.0'  encoding= 'utf-8' ?> <!DOCTYPE hibernate-configuration PUBLIC &quot;-//Hibernate/Hibernate Configuration DTD//EN&quot; &quot;http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd&quot;> <hibernate-configuration> <session-factory> <!--  <property name=&quot;connection.driver_class&quot;> com.mysql.jdbc.Driver </property> <property  name=&quot;connection.url&quot;> jdbc:mysql://localhost:3306/community </property> <property name=&quot;connection.username&quot;> root </property> <property name=&quot;connection.password&quot;> mysql </property> <property name=&quot;dialect&quot;> org.hibernate.dialect.MySQLDialect </property> --> hibernate.cfg.xml
Practical <property name= &quot;hibernate.connection.datasource&quot; > java:/comp/env/jdbc/community </property> <property name= &quot;hibernate.show_sql&quot; > true </property> <property name= &quot;hibernate.format_sql&quot; > true </property> <property name= &quot;connection.useUnicode&quot; > true </property> <property name= &quot;connection.characterEncoding&quot; > utf8 </property> <property name= &quot;current_session_context_class&quot; > thread </property> <property name= &quot;hibernate.transaction.factory_class&quot; > org.hibernate.transaction.JDBCTransactionFactory </property> <mapping resource= &quot; type/company/vo/hbm/User.hbm.xml &quot;  /> </session-factory> </hibernate-configuration> 정보 : Starting Servlet Engine: Apache Tomcat/6.0.16 AbandonedObjectPool is used (org.apache.tomcat.dbcp.dbcp.AbandonedObjectPool@14d1d41) LogAbandoned: true RemoveAbandoned: true RemoveAbandonedTimeout: 60 hibernate.cfg.xml
Practical <?xml version= &quot;1.0&quot;  encoding= &quot;UTF-8&quot;  ?> <!DOCTYPE struts PUBLIC &quot;-//Apache Software Foundation//DTD Struts Configuration 2.0//EN&quot; &quot;http://struts.apache.org/dtds/struts-2.0.dtd&quot;> <struts> <package name= &quot; struts2 &quot;  extends= &quot; struts-default &quot; > </package> </struts> struts.xml
Before & After ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],VO
Before & After ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],hbm.xml
Before & After ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Persistence
Before & After ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Persistence
Before & After ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Persistence
Before & After ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Persistence
Before & After ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Persistence
Before & After ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Service
Before & After ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Service
Before & After <action name= &quot;ucualcrf&quot;  method= &quot;ucualcrf“   class= &quot;type.company.action.uc.ua.UcualcAction&quot; > <result name= &quot;success&quot; > /uc/ua/lc/ucualcrf.jsp</ result> </action> <action name= &quot;ucualcrs&quot;  method= &quot;ucualcrs&quot; class= &quot;type.company.action.uc.ua.UcualcAction&quot; > <result name= &quot;success &quot;> /uc/ua/lc/ucualcr.jsp </result> <result name= &quot;input &quot;> /uc/ua/lc/ucualcrf.jsp </result> </action> <action name= &quot;ucujucc&quot;  method= &quot;ucujucc&quot; class= &quot;type.company.action.uc.uj.UcujucAction&quot; > <result name= &quot;success&quot;  type= &quot;redirect-action&quot; > ucujusrList </result> <result name= &quot;input&quot;  type= &quot;chain&quot; > ucujuccf </result> </action> <action name= &quot;ucujucr&quot;  method= &quot;ucujucr&quot; class= &quot;type.company.action.uc.uj.UcujucAction&quot; > <result name= &quot;success &quot;>/uc/uj/uc/ucujucr.jsp </result> </action> struts.xml
영상
감사합니다 .

More Related Content

What's hot

Desarrollo para Android con Groovy
Desarrollo para Android con GroovyDesarrollo para Android con Groovy
Desarrollo para Android con GroovySoftware Guru
 
jQuery Anti-Patterns for Performance & Compression
jQuery Anti-Patterns for Performance & CompressionjQuery Anti-Patterns for Performance & Compression
jQuery Anti-Patterns for Performance & CompressionPaul Irish
 
Practical JavaScript Programming - Session 1/8
Practical JavaScript Programming - Session 1/8Practical JavaScript Programming - Session 1/8
Practical JavaScript Programming - Session 1/8Wilson Su
 
2009 Hackday Taiwan Yui
2009 Hackday Taiwan Yui2009 Hackday Taiwan Yui
2009 Hackday Taiwan YuiJH Lee
 
Polymer - pleasant client-side programming with web components
Polymer - pleasant client-side programming with web componentsPolymer - pleasant client-side programming with web components
Polymer - pleasant client-side programming with web componentspsstoev
 
Handys und Tablets - Webentwicklung jenseits des Desktops - WebTech Mainz 12....
Handys und Tablets - Webentwicklung jenseits des Desktops - WebTech Mainz 12....Handys und Tablets - Webentwicklung jenseits des Desktops - WebTech Mainz 12....
Handys und Tablets - Webentwicklung jenseits des Desktops - WebTech Mainz 12....Patrick Lauke
 
Test du futur avec Spock
Test du futur avec SpockTest du futur avec Spock
Test du futur avec SpockCARA_Lyon
 
Imagine a world without mocks
Imagine a world without mocksImagine a world without mocks
Imagine a world without mockskenbot
 
Gdg san diego android 11 meetups what's new in android - ui and dev tools
Gdg san diego android 11 meetups  what's new in android  - ui and dev toolsGdg san diego android 11 meetups  what's new in android  - ui and dev tools
Gdg san diego android 11 meetups what's new in android - ui and dev toolsSvetlin Stanchev
 
Java Virtual Keyboard Using Robot, Toolkit and JToggleButton Classes
Java Virtual Keyboard Using Robot, Toolkit and JToggleButton ClassesJava Virtual Keyboard Using Robot, Toolkit and JToggleButton Classes
Java Virtual Keyboard Using Robot, Toolkit and JToggleButton ClassesAbdul Rahman Sherzad
 
More android code puzzles
More android code puzzlesMore android code puzzles
More android code puzzlesDanny Preussler
 
Vidéo approche en immobilier
Vidéo approche en immobilierVidéo approche en immobilier
Vidéo approche en immobilierhervepouliot
 
Basics of Java Script (JS)
Basics of Java Script (JS)Basics of Java Script (JS)
Basics of Java Script (JS)Ajay Khatri
 
Developing components and extensions for ext js
Developing components and extensions for ext jsDeveloping components and extensions for ext js
Developing components and extensions for ext jsMats Bryntse
 
DrupalCon Dublin 2016 - Automated browser testing with Nightwatch.js
DrupalCon Dublin 2016 - Automated browser testing with Nightwatch.jsDrupalCon Dublin 2016 - Automated browser testing with Nightwatch.js
DrupalCon Dublin 2016 - Automated browser testing with Nightwatch.jsVladimir Roudakov
 
jQuery Internals + Cool Stuff
jQuery Internals + Cool StuffjQuery Internals + Cool Stuff
jQuery Internals + Cool Stuffjeresig
 

What's hot (20)

Desarrollo para Android con Groovy
Desarrollo para Android con GroovyDesarrollo para Android con Groovy
Desarrollo para Android con Groovy
 
jQuery Anti-Patterns for Performance & Compression
jQuery Anti-Patterns for Performance & CompressionjQuery Anti-Patterns for Performance & Compression
jQuery Anti-Patterns for Performance & Compression
 
Practical JavaScript Programming - Session 1/8
Practical JavaScript Programming - Session 1/8Practical JavaScript Programming - Session 1/8
Practical JavaScript Programming - Session 1/8
 
2009 Hackday Taiwan Yui
2009 Hackday Taiwan Yui2009 Hackday Taiwan Yui
2009 Hackday Taiwan Yui
 
Polymer - pleasant client-side programming with web components
Polymer - pleasant client-side programming with web componentsPolymer - pleasant client-side programming with web components
Polymer - pleasant client-side programming with web components
 
Handys und Tablets - Webentwicklung jenseits des Desktops - WebTech Mainz 12....
Handys und Tablets - Webentwicklung jenseits des Desktops - WebTech Mainz 12....Handys und Tablets - Webentwicklung jenseits des Desktops - WebTech Mainz 12....
Handys und Tablets - Webentwicklung jenseits des Desktops - WebTech Mainz 12....
 
Test du futur avec Spock
Test du futur avec SpockTest du futur avec Spock
Test du futur avec Spock
 
Imagine a world without mocks
Imagine a world without mocksImagine a world without mocks
Imagine a world without mocks
 
jQuery introduction
jQuery introductionjQuery introduction
jQuery introduction
 
FuncUnit
FuncUnitFuncUnit
FuncUnit
 
Gdg san diego android 11 meetups what's new in android - ui and dev tools
Gdg san diego android 11 meetups  what's new in android  - ui and dev toolsGdg san diego android 11 meetups  what's new in android  - ui and dev tools
Gdg san diego android 11 meetups what's new in android - ui and dev tools
 
Java Virtual Keyboard Using Robot, Toolkit and JToggleButton Classes
Java Virtual Keyboard Using Robot, Toolkit and JToggleButton ClassesJava Virtual Keyboard Using Robot, Toolkit and JToggleButton Classes
Java Virtual Keyboard Using Robot, Toolkit and JToggleButton Classes
 
More android code puzzles
More android code puzzlesMore android code puzzles
More android code puzzles
 
Vidéo approche en immobilier
Vidéo approche en immobilierVidéo approche en immobilier
Vidéo approche en immobilier
 
Basics of Java Script (JS)
Basics of Java Script (JS)Basics of Java Script (JS)
Basics of Java Script (JS)
 
Developing components and extensions for ext js
Developing components and extensions for ext jsDeveloping components and extensions for ext js
Developing components and extensions for ext js
 
Con5623 pdf 5623_001
Con5623 pdf 5623_001Con5623 pdf 5623_001
Con5623 pdf 5623_001
 
YUI for your Hacks-IITB
YUI for your Hacks-IITBYUI for your Hacks-IITB
YUI for your Hacks-IITB
 
DrupalCon Dublin 2016 - Automated browser testing with Nightwatch.js
DrupalCon Dublin 2016 - Automated browser testing with Nightwatch.jsDrupalCon Dublin 2016 - Automated browser testing with Nightwatch.js
DrupalCon Dublin 2016 - Automated browser testing with Nightwatch.js
 
jQuery Internals + Cool Stuff
jQuery Internals + Cool StuffjQuery Internals + Cool Stuff
jQuery Internals + Cool Stuff
 

Viewers also liked

Understanding Generativity - Legacy & Estate Planning
Understanding Generativity - Legacy & Estate PlanningUnderstanding Generativity - Legacy & Estate Planning
Understanding Generativity - Legacy & Estate PlanningDon West, Jr.
 
Kgosni 110 calderón, lacayo de eu
Kgosni 110 calderón, lacayo de euKgosni 110 calderón, lacayo de eu
Kgosni 110 calderón, lacayo de euMartin Triana
 
Reunio principi curs2n b
Reunio principi curs2n bReunio principi curs2n b
Reunio principi curs2n bIsabel cavaller
 
TÉCNICAS DE ESTUDIO
TÉCNICAS DE ESTUDIOTÉCNICAS DE ESTUDIO
TÉCNICAS DE ESTUDIOVicenza
 
Unidade iii comédias
Unidade iii  comédiasUnidade iii  comédias
Unidade iii comédiasuniversigatas
 
A gentle introduction to riese
A gentle introduction to rieseA gentle introduction to riese
A gentle introduction to rieseMichael Hausenblas
 
Evaluating the evaluator a reflective approach
Evaluating the evaluator a reflective approachEvaluating the evaluator a reflective approach
Evaluating the evaluator a reflective approachAlexander Decker
 
Alíquota de 4% nas operações interestaduais para produtos importados. Atualiz...
Alíquota de 4% nas operações interestaduais para produtos importados. Atualiz...Alíquota de 4% nas operações interestaduais para produtos importados. Atualiz...
Alíquota de 4% nas operações interestaduais para produtos importados. Atualiz...ALEXANDRE PANTOJA
 
EVA PERÓN-TRABAJO DE EQUIDAD
EVA PERÓN-TRABAJO DE EQUIDADEVA PERÓN-TRABAJO DE EQUIDAD
EVA PERÓN-TRABAJO DE EQUIDADdiego-bernal
 
Monografia fernando botero
Monografia fernando boteroMonografia fernando botero
Monografia fernando boteroAndreza Alves
 
Desarrollo de la evaluación petrofísica en México y su futuro a través de la ...
Desarrollo de la evaluación petrofísica en México y su futuro a través de la ...Desarrollo de la evaluación petrofísica en México y su futuro a través de la ...
Desarrollo de la evaluación petrofísica en México y su futuro a través de la ...Academia de Ingeniería de México
 
Ejercicios subnetting y vlsm
Ejercicios subnetting y vlsm   Ejercicios subnetting y vlsm
Ejercicios subnetting y vlsm Marcelo Herrera
 

Viewers also liked (20)

Understanding Generativity - Legacy & Estate Planning
Understanding Generativity - Legacy & Estate PlanningUnderstanding Generativity - Legacy & Estate Planning
Understanding Generativity - Legacy & Estate Planning
 
Kgosni 110 calderón, lacayo de eu
Kgosni 110 calderón, lacayo de euKgosni 110 calderón, lacayo de eu
Kgosni 110 calderón, lacayo de eu
 
Reunio principi curs2n b
Reunio principi curs2n bReunio principi curs2n b
Reunio principi curs2n b
 
TÉCNICAS DE ESTUDIO
TÉCNICAS DE ESTUDIOTÉCNICAS DE ESTUDIO
TÉCNICAS DE ESTUDIO
 
Unidade iii comédias
Unidade iii  comédiasUnidade iii  comédias
Unidade iii comédias
 
A gentle introduction to riese
A gentle introduction to rieseA gentle introduction to riese
A gentle introduction to riese
 
222
222222
222
 
ACSI FreeLife
ACSI FreeLifeACSI FreeLife
ACSI FreeLife
 
Julian andres rios moreno 4 11 1
Julian andres rios moreno 4 11 1Julian andres rios moreno 4 11 1
Julian andres rios moreno 4 11 1
 
Evaluating the evaluator a reflective approach
Evaluating the evaluator a reflective approachEvaluating the evaluator a reflective approach
Evaluating the evaluator a reflective approach
 
Power point de lectura
Power point de lecturaPower point de lectura
Power point de lectura
 
Alíquota de 4% nas operações interestaduais para produtos importados. Atualiz...
Alíquota de 4% nas operações interestaduais para produtos importados. Atualiz...Alíquota de 4% nas operações interestaduais para produtos importados. Atualiz...
Alíquota de 4% nas operações interestaduais para produtos importados. Atualiz...
 
EVA PERÓN-TRABAJO DE EQUIDAD
EVA PERÓN-TRABAJO DE EQUIDADEVA PERÓN-TRABAJO DE EQUIDAD
EVA PERÓN-TRABAJO DE EQUIDAD
 
Monografia fernando botero
Monografia fernando boteroMonografia fernando botero
Monografia fernando botero
 
Desarrollo de la evaluación petrofísica en México y su futuro a través de la ...
Desarrollo de la evaluación petrofísica en México y su futuro a través de la ...Desarrollo de la evaluación petrofísica en México y su futuro a través de la ...
Desarrollo de la evaluación petrofísica en México y su futuro a través de la ...
 
Ejercicios subnetting y vlsm
Ejercicios subnetting y vlsm   Ejercicios subnetting y vlsm
Ejercicios subnetting y vlsm
 
Unidad 8
Unidad 8Unidad 8
Unidad 8
 
Epica
EpicaEpica
Epica
 
Verga
VergaVerga
Verga
 
Trabajo sobre Néstor de Dalila Pérez
Trabajo sobre Néstor de Dalila Pérez Trabajo sobre Néstor de Dalila Pérez
Trabajo sobre Néstor de Dalila Pérez
 

Similar to Daejeon IT Developer Conference Web Service Practice

IBM Lotus Notes Domino XPages and XPages for Mobile
IBM Lotus Notes Domino XPages and XPages for MobileIBM Lotus Notes Domino XPages and XPages for Mobile
IBM Lotus Notes Domino XPages and XPages for MobileChris Toohey
 
Interoperable Web Services with JAX-WS
Interoperable Web Services with JAX-WSInteroperable Web Services with JAX-WS
Interoperable Web Services with JAX-WSCarol McDonald
 
Struts2
Struts2Struts2
Struts2yuvalb
 
Migrating from Struts 1 to Struts 2
Migrating from Struts 1 to Struts 2Migrating from Struts 1 to Struts 2
Migrating from Struts 1 to Struts 2Matt Raible
 
jBPM5 in action - a quickstart for developers
jBPM5 in action - a quickstart for developersjBPM5 in action - a quickstart for developers
jBPM5 in action - a quickstart for developersKris Verlaenen
 
Introduction To ASP.NET MVC
Introduction To ASP.NET MVCIntroduction To ASP.NET MVC
Introduction To ASP.NET MVCAlan Dean
 
What's Coming in Spring 3.0
What's Coming in Spring 3.0What's Coming in Spring 3.0
What's Coming in Spring 3.0Matt Raible
 
ZFConf 2010: Zend Framework & MVC, Model Implementation (Part 2, Dependency I...
ZFConf 2010: Zend Framework & MVC, Model Implementation (Part 2, Dependency I...ZFConf 2010: Zend Framework & MVC, Model Implementation (Part 2, Dependency I...
ZFConf 2010: Zend Framework & MVC, Model Implementation (Part 2, Dependency I...Kirill Chebunin
 
Clustering Made Easier: Using Terracotta with Hibernate and/or EHCache
Clustering Made Easier: Using Terracotta with Hibernate and/or EHCacheClustering Made Easier: Using Terracotta with Hibernate and/or EHCache
Clustering Made Easier: Using Terracotta with Hibernate and/or EHCacheCris Holdorph
 
Migration testing framework
Migration testing frameworkMigration testing framework
Migration testing frameworkIndicThreads
 
[DSBW Spring 2009] Unit 07: WebApp Design Patterns & Frameworks (3/3)
[DSBW Spring 2009] Unit 07: WebApp Design Patterns & Frameworks (3/3)[DSBW Spring 2009] Unit 07: WebApp Design Patterns & Frameworks (3/3)
[DSBW Spring 2009] Unit 07: WebApp Design Patterns & Frameworks (3/3)Carles Farré
 
What's new and exciting with JSF 2.0
What's new and exciting with JSF 2.0What's new and exciting with JSF 2.0
What's new and exciting with JSF 2.0Michael Fons
 
Enterprise AIR Development for JavaScript Developers
Enterprise AIR Development for JavaScript DevelopersEnterprise AIR Development for JavaScript Developers
Enterprise AIR Development for JavaScript DevelopersAndreCharland
 
GTAC: AtomPub, testing your server implementation
GTAC: AtomPub, testing your server implementationGTAC: AtomPub, testing your server implementation
GTAC: AtomPub, testing your server implementationDavid Calavera
 
Mashups as Collection of Widgets
Mashups as Collection of WidgetsMashups as Collection of Widgets
Mashups as Collection of Widgetsgiurca
 
DWR, Hibernate and Dojo.E - A Tutorial
DWR, Hibernate and Dojo.E - A TutorialDWR, Hibernate and Dojo.E - A Tutorial
DWR, Hibernate and Dojo.E - A Tutorialjbarciauskas
 

Similar to Daejeon IT Developer Conference Web Service Practice (20)

IBM Lotus Notes Domino XPages and XPages for Mobile
IBM Lotus Notes Domino XPages and XPages for MobileIBM Lotus Notes Domino XPages and XPages for Mobile
IBM Lotus Notes Domino XPages and XPages for Mobile
 
Interoperable Web Services with JAX-WS
Interoperable Web Services with JAX-WSInteroperable Web Services with JAX-WS
Interoperable Web Services with JAX-WS
 
Struts2
Struts2Struts2
Struts2
 
Migrating from Struts 1 to Struts 2
Migrating from Struts 1 to Struts 2Migrating from Struts 1 to Struts 2
Migrating from Struts 1 to Struts 2
 
jBPM5 in action - a quickstart for developers
jBPM5 in action - a quickstart for developersjBPM5 in action - a quickstart for developers
jBPM5 in action - a quickstart for developers
 
Introduction To ASP.NET MVC
Introduction To ASP.NET MVCIntroduction To ASP.NET MVC
Introduction To ASP.NET MVC
 
Retrofitting
RetrofittingRetrofitting
Retrofitting
 
What's Coming in Spring 3.0
What's Coming in Spring 3.0What's Coming in Spring 3.0
What's Coming in Spring 3.0
 
ZFConf 2010: Zend Framework & MVC, Model Implementation (Part 2, Dependency I...
ZFConf 2010: Zend Framework & MVC, Model Implementation (Part 2, Dependency I...ZFConf 2010: Zend Framework & MVC, Model Implementation (Part 2, Dependency I...
ZFConf 2010: Zend Framework & MVC, Model Implementation (Part 2, Dependency I...
 
Clustering Made Easier: Using Terracotta with Hibernate and/or EHCache
Clustering Made Easier: Using Terracotta with Hibernate and/or EHCacheClustering Made Easier: Using Terracotta with Hibernate and/or EHCache
Clustering Made Easier: Using Terracotta with Hibernate and/or EHCache
 
Jsfsunum
JsfsunumJsfsunum
Jsfsunum
 
Migration testing framework
Migration testing frameworkMigration testing framework
Migration testing framework
 
[DSBW Spring 2009] Unit 07: WebApp Design Patterns & Frameworks (3/3)
[DSBW Spring 2009] Unit 07: WebApp Design Patterns & Frameworks (3/3)[DSBW Spring 2009] Unit 07: WebApp Design Patterns & Frameworks (3/3)
[DSBW Spring 2009] Unit 07: WebApp Design Patterns & Frameworks (3/3)
 
Os Leonard
Os LeonardOs Leonard
Os Leonard
 
scope or not?
scope or not?scope or not?
scope or not?
 
What's new and exciting with JSF 2.0
What's new and exciting with JSF 2.0What's new and exciting with JSF 2.0
What's new and exciting with JSF 2.0
 
Enterprise AIR Development for JavaScript Developers
Enterprise AIR Development for JavaScript DevelopersEnterprise AIR Development for JavaScript Developers
Enterprise AIR Development for JavaScript Developers
 
GTAC: AtomPub, testing your server implementation
GTAC: AtomPub, testing your server implementationGTAC: AtomPub, testing your server implementation
GTAC: AtomPub, testing your server implementation
 
Mashups as Collection of Widgets
Mashups as Collection of WidgetsMashups as Collection of Widgets
Mashups as Collection of Widgets
 
DWR, Hibernate and Dojo.E - A Tutorial
DWR, Hibernate and Dojo.E - A TutorialDWR, Hibernate and Dojo.E - A Tutorial
DWR, Hibernate and Dojo.E - A Tutorial
 

Recently uploaded

How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1DianaGray10
 
Machine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfMachine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfAijun Zhang
 
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfIaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfDaniel Santiago Silva Capera
 
Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Adtran
 
Nanopower In Semiconductor Industry.pdf
Nanopower  In Semiconductor Industry.pdfNanopower  In Semiconductor Industry.pdf
Nanopower In Semiconductor Industry.pdfPedro Manuel
 
Cybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxCybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxGDSC PJATK
 
Things you didn't know you can use in your Salesforce
Things you didn't know you can use in your SalesforceThings you didn't know you can use in your Salesforce
Things you didn't know you can use in your SalesforceMartin Humpolec
 
Crea il tuo assistente AI con lo Stregatto (open source python framework)
Crea il tuo assistente AI con lo Stregatto (open source python framework)Crea il tuo assistente AI con lo Stregatto (open source python framework)
Crea il tuo assistente AI con lo Stregatto (open source python framework)Commit University
 
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationIES VE
 
9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding Team9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding TeamAdam Moalla
 
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...Aggregage
 
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Will Schroeder
 
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAAnypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAshyamraj55
 
Spring24-Release Overview - Wellingtion User Group-1.pdf
Spring24-Release Overview - Wellingtion User Group-1.pdfSpring24-Release Overview - Wellingtion User Group-1.pdf
Spring24-Release Overview - Wellingtion User Group-1.pdfAnna Loughnan Colquhoun
 
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesAI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesMd Hossain Ali
 
Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024SkyPlanner
 
20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf
20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf
20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdfJamie (Taka) Wang
 
OpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureOpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureEric D. Schabell
 
Computer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsComputer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsSeth Reyes
 

Recently uploaded (20)

How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1
 
Machine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfMachine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdf
 
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfIaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
 
Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™
 
Nanopower In Semiconductor Industry.pdf
Nanopower  In Semiconductor Industry.pdfNanopower  In Semiconductor Industry.pdf
Nanopower In Semiconductor Industry.pdf
 
Cybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxCybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptx
 
Things you didn't know you can use in your Salesforce
Things you didn't know you can use in your SalesforceThings you didn't know you can use in your Salesforce
Things you didn't know you can use in your Salesforce
 
Crea il tuo assistente AI con lo Stregatto (open source python framework)
Crea il tuo assistente AI con lo Stregatto (open source python framework)Crea il tuo assistente AI con lo Stregatto (open source python framework)
Crea il tuo assistente AI con lo Stregatto (open source python framework)
 
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
 
9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding Team9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding Team
 
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
 
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
 
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAAnypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
 
Spring24-Release Overview - Wellingtion User Group-1.pdf
Spring24-Release Overview - Wellingtion User Group-1.pdfSpring24-Release Overview - Wellingtion User Group-1.pdf
Spring24-Release Overview - Wellingtion User Group-1.pdf
 
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesAI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
 
Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024
 
20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf
20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf
20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf
 
OpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureOpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability Adventure
 
Computer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsComputer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and Hazards
 

Daejeon IT Developer Conference Web Service Practice

  • 1. 본 문서의 배포 및 변경 , 출력 및 활용에 관한 모든 권리는 작성자에 있습니다 . 본 서비스는 제 1 회 대전 IT 개발자 커뮤니티 참석자를 위해 제공됩니다 .
  • 2. 웹 서비스 개발 실습 심익찬 대전개발자커뮤니티 September 28 th , 2008
  • 3.
  • 4.
  • 6.
  • 7. Web Develope Environment 프로젝트 소스 폴더 Xxx.hbm.xml hbm vo community net src project XxxService.java service community net src project IXxxService.java iface service community net src project XxxHibernateDao.java XxxIbatisDao.java persistence community net src project IXxxDao.java iface persistence community net src project ActionXxx.java action community net src project HibernateSessionFactory.java hibernate common community net src project Struts2Dispatcher.java filter common community net src project hibernate.cfg.xml struts.xml struts.properties message.properties project web.xml WEB-INF WebContent project Xxx.java vo community net src project Step 5 Step 4 Step 3 Step 2 Step 7 Step 6 Step 1
  • 8.
  • 9.
  • 10. Practical <filter> <filter-name>struts2</filter-name> <filter-class> type.company.common.filter.Struts2Dispatcher </filter-class> <init-param> <param-name>encoding</param-name> <param-value>UTF-8</param-value> </init-param> </filter> <filter-mapping> <filter-name>struts2</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> web.xml
  • 11. Practical <?xml version= '1.0' encoding= 'utf-8' ?> <!DOCTYPE hibernate-configuration PUBLIC &quot;-//Hibernate/Hibernate Configuration DTD//EN&quot; &quot;http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd&quot;> <hibernate-configuration> <session-factory> <!-- <property name=&quot;connection.driver_class&quot;> com.mysql.jdbc.Driver </property> <property name=&quot;connection.url&quot;> jdbc:mysql://localhost:3306/community </property> <property name=&quot;connection.username&quot;> root </property> <property name=&quot;connection.password&quot;> mysql </property> <property name=&quot;dialect&quot;> org.hibernate.dialect.MySQLDialect </property> --> hibernate.cfg.xml
  • 12. Practical <property name= &quot;hibernate.connection.datasource&quot; > java:/comp/env/jdbc/community </property> <property name= &quot;hibernate.show_sql&quot; > true </property> <property name= &quot;hibernate.format_sql&quot; > true </property> <property name= &quot;connection.useUnicode&quot; > true </property> <property name= &quot;connection.characterEncoding&quot; > utf8 </property> <property name= &quot;current_session_context_class&quot; > thread </property> <property name= &quot;hibernate.transaction.factory_class&quot; > org.hibernate.transaction.JDBCTransactionFactory </property> <mapping resource= &quot; type/company/vo/hbm/User.hbm.xml &quot; /> </session-factory> </hibernate-configuration> 정보 : Starting Servlet Engine: Apache Tomcat/6.0.16 AbandonedObjectPool is used (org.apache.tomcat.dbcp.dbcp.AbandonedObjectPool@14d1d41) LogAbandoned: true RemoveAbandoned: true RemoveAbandonedTimeout: 60 hibernate.cfg.xml
  • 13. Practical <?xml version= &quot;1.0&quot; encoding= &quot;UTF-8&quot; ?> <!DOCTYPE struts PUBLIC &quot;-//Apache Software Foundation//DTD Struts Configuration 2.0//EN&quot; &quot;http://struts.apache.org/dtds/struts-2.0.dtd&quot;> <struts> <package name= &quot; struts2 &quot; extends= &quot; struts-default &quot; > </package> </struts> struts.xml
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23. Before & After <action name= &quot;ucualcrf&quot; method= &quot;ucualcrf“ class= &quot;type.company.action.uc.ua.UcualcAction&quot; > <result name= &quot;success&quot; > /uc/ua/lc/ucualcrf.jsp</ result> </action> <action name= &quot;ucualcrs&quot; method= &quot;ucualcrs&quot; class= &quot;type.company.action.uc.ua.UcualcAction&quot; > <result name= &quot;success &quot;> /uc/ua/lc/ucualcr.jsp </result> <result name= &quot;input &quot;> /uc/ua/lc/ucualcrf.jsp </result> </action> <action name= &quot;ucujucc&quot; method= &quot;ucujucc&quot; class= &quot;type.company.action.uc.uj.UcujucAction&quot; > <result name= &quot;success&quot; type= &quot;redirect-action&quot; > ucujusrList </result> <result name= &quot;input&quot; type= &quot;chain&quot; > ucujuccf </result> </action> <action name= &quot;ucujucr&quot; method= &quot;ucujucr&quot; class= &quot;type.company.action.uc.uj.UcujucAction&quot; > <result name= &quot;success &quot;>/uc/uj/uc/ucujucr.jsp </result> </action> struts.xml