SlideShare ist ein Scribd-Unternehmen logo
1 von 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
영상
감사합니다 .

Weitere ähnliche Inhalte

Was ist angesagt?

jQuery Anti-Patterns for Performance & Compression
jQuery Anti-Patterns for Performance & CompressionjQuery Anti-Patterns for Performance & Compression
jQuery Anti-Patterns for Performance & Compression
Paul Irish
 
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
 
Vidéo approche en immobilier
Vidéo approche en immobilierVidéo approche en immobilier
Vidéo approche en immobilier
hervepouliot
 
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
Mats Bryntse
 

Was ist angesagt? (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
 

Andere mochten auch

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
Martin Triana
 
Reunio principi curs2n b
Reunio principi curs2n bReunio principi curs2n b
Reunio principi curs2n b
Isabel cavaller
 
TÉCNICAS DE ESTUDIO
TÉCNICAS DE ESTUDIOTÉCNICAS DE ESTUDIO
TÉCNICAS DE ESTUDIO
Vicenza
 
Unidade iii comédias
Unidade iii  comédiasUnidade iii  comédias
Unidade iii comédias
universigatas
 
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
 

Andere mochten auch (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
 

Ähnlich wie Daejeon IT Developer Conference Web Service Practice

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
 
[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é
 
GTAC: AtomPub, testing your server implementation
GTAC: AtomPub, testing your server implementationGTAC: AtomPub, testing your server implementation
GTAC: AtomPub, testing your server implementation
David Calavera
 
Mashups as Collection of Widgets
Mashups as Collection of WidgetsMashups as Collection of Widgets
Mashups as Collection of Widgets
giurca
 

Ähnlich wie 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
 

Kürzlich hochgeladen

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 

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