SlideShare uma empresa Scribd logo
1 de 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
영상
감사합니다 .

Mais conteúdo relacionado

Mais procurados

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
 

Mais procurados (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
 

Destaque

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
 

Destaque (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
 

Semelhante a 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
 

Semelhante a 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
 

Último

Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 

Último (20)

Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 

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