Sap hybris hy465 pdf download hybris certification materials

23 pages
1 downs
55 views

Extension: PDF

Please download to get full document.

View again

of 23
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Share
Description
sap hybris certification materials HY465 pdf download for more details email erpebooks@gmail.com http://erpcertificationmaterials.com
Transcript
  • 1. M W hvbris softwareAn SAP Company HY465 http://erpcertificationmaterials.com/ http://erpcertificationmaterials.com/
  • 2. 0 2 H Y 4 6 5 © hybris, An S A P C o m p an y http://erpcertificationmaterials.com/ http://erpcertificationmaterials.com/
  • 3. Role Company Hobbies Spring/JEE Project experience Previous hybris experience Cockpit NG or BackOffice experience Introduction | 1 -4 0 http://erpcertificationmaterials.com/ http://erpcertificationmaterials.com/
  • 4. Course and Hardware requirements • Laptop or personal computer • Windows, Linux or Mac-OS X • Minimum 8 GB of RAM • One free USB Slot • Administrator Rights • Latest Java 7 (oracle JDK preferred) • Internet access (optional, for further wiki reference) • Must have completed Cockpit NG Fundamentals online course • Good Java, Spring Framework and AJAX knowledge • Beginner ZK framework knowledge Introduction | 1 -6 Training Content [*] • This course aims to: • introduce developers to building applications with the Cockpit NG framework • provide an overview of CNG core features • show an example custom CNG application • This course won’t: • solve project-specific problems • teach BackOffice-specific or hybris Commerce Suite development or configuration • Provide a comprehensive, all-inclusive guide of how to develop everything within Cockpit NG Introduction | 1 -7 0 4 H Y 4 6 5 © hybris, An S A P C o m p an y http://erpcertificationmaterials.com/ http://erpcertificationmaterials.com/
  • 5. Course Format • Theory and Labs • Modular • Each module has a theory section followed by a hands-on lab • Theory presents concepts and provides examples or demos • Labs allow students to apply theory • The Librarian application - a blueprint, sample application demonstrating best practices Introduction | 1 -8 What You Will Learn • Create a new widget • Connect widgets • Use the standard widgets library • Define a configuration for your widget with merge capability and a fallback strategy • Create a custom configuration adaptor • Unit test your widget • Create custom actions and editors • Use the Spring Application Context to register a new data layer • Create custom notifications • White-label and provide localization for your application Introduction | 1 -9 0 © hybris, An S A P C om pany H Y 4 6 5 5 http://erpcertificationmaterials.com/ http://erpcertificationmaterials.com/
  • 6. Overview Agenda CNG Refresher Lab Intro SAP M Working Hours - Day 1 Day 1 9:00 10:30 11:00 11:30 12:30 13:30 14:00 15:00 15:30 17:00 1. Introduction 1. Development environment set up lab 2. Widget Fundamentals 2. Build a widget lab Lunch 3. Widget Communication 3. Connect widgets and trap events lab 4. Widget Configuration 4. Configure widget lab Introduction |1-11 6 H Y 4 6 5 © hybris, An S A P C o m p an y http://erpcertificationmaterials.com/ http://erpcertificationmaterials.com/
  • 7. Working Hours - Day 2 Day 2 9:00 9:30 10:30 11:00 12:30 13:30 14:00 15:00 15:30 17:00 Review 5. Advanced Widget Configuration 5. Advanced widget configuration lab 6. Advanced Component Features 6. Editors and actions lab Lunch 7. CNG Testing Framework 7. Unit and black-box widget testing lab 8. Spring Context in Cockpit NG 8. Spring context in Cockpit NG lab Introduction |M 2 Working Hours - Day 3 Day 3 9:00 9:30 10:30 11:00 12:30 13:30 14:00 15:00 Review 9. Cockpit NG Data Integration 9. Cockpit NG Data Integration lab 10. Property Accessor and Notifications 10. Property accessor and notifications lab Lunch 11. Localize and Stylize your CNG App 11. Localize and stylize your CNG app lab Introduction |M 3 © hybris, An S A P C om pany H Y 4 6 5 7 http://erpcertificationmaterials.com/ http://erpcertificationmaterials.com/
  • 8. Architecture Refresher S T M 8 H Y 4 6 5 © hybris, An S A P C o m p an y http://erpcertificationmaterials.com/ http://erpcertificationmaterials.com/
  • 9. Cockpit NG Fundamentals Refresher - Architecture [*) Standard Widgets Library BackOffice Widgets 3rd Party Widgets ! 3rd Party Frameworks Core+ I REST Webservices Ihybris Platform Introduction |M 6 Cockpit NG Fundamentals Refresher - Architecture [*) hybris BackOffice • Single user interface for all hybris backend business tools • Provided out-of-the box in hybris Commerce Suite • For administrators and business users hybris Platfrom BackOffice Business Application CNG-based Business Application BackOffice Widgets BackOffice Core CNG Framework Introduction |M 7 © hybris, An S A P C om pany H Y 4 6 5 9 http://erpcertificationmaterials.com/ http://erpcertificationmaterials.com/
  • 10. Cockpit NG Fundamentals Refresher - Technologies [*) Technologies Overview m avert spring JAXB BackOffice Configuration Refresher E 10 H Y 4 6 5 © hybris, An S A P C o m p an y http://erpcertificationmaterials.com/ http://erpcertificationmaterials.com/
  • 11. Two types of Configuration - Application and User Interface • Application Configuration - widgets.xml • Layout and structure of the entire application • Application mashup • Which widgets are used • Layout of widget instances • Wiring of widgets • Widget viewing restrictions • Current values of widget instance settings BackOffice Configuration [*) h ttp s://w iki.h vb ris.co m /d isp lav/release5/U I+C o n fiau ratio n +in +th e+N ext+G en eratio n +C o ckp it+F ram ew o rk Introduction | 1 -20 BackOffice Configuration Two types of Configuration - Application and User Interface • Ul Configuration - cockpit-config.xml • Contextual Ul configuration per component (widget, action, editor) • Context based on runtime info for component - user role, object type, parent info • Application and component react differently to different contexts Introduction | 1 -21 © hybris, An S A P C om pany H Y 4 6 5 11 http://erpcertificationmaterials.com/ http://erpcertificationmaterials.com/
  • 12. Context Definition [*) Context tags (used in Ul Config - cockpit-config.xml) • component - ID of the component • principal - user or user group • type - class or type of Object • parent - Parent configuration that can be merged merge-by - context attribute of the parent component to match for attribute merging • merge-mode - merge action base configuration - String representation for given Object Introduction | 1 -22 Ul Configuration Precedence 3 different version of the Ul configuration: • cockpit-config.xml: Merged configuration of the whole BackOffice application. You can modify it at runtime from Application Orchestrator - -> Show cockpit- config.xml. This file is stored as a hybris Media item. • mybackoffice/resources/mybackoffice-backoffice-config.xml: Configuration of components defined in the mybackoffice extension. It can also be loaded at runtime by doing a reset in Application Orchestrator • mybackoffice/backoffice/resources/widgets/mywidget/cockpit-config.xml (optional): Configuration of a specific widget. Think of it as the widget’s default configuration. Introduction | 1 -23 0 12 H Y 4 6 5 © hybris, An S A P C o m p an y http://erpcertificationmaterials.com/ http://erpcertificationmaterials.com/
  • 13. Ul Configuration 95 (Book) ■ + E 6 * /10 ► » Ul Configuration • Explorer Tree [*] Explorer Tree Configuration <context component="expLorer-tree" merge-by="moduLe"> <n:explorer-tree xmlns:n="http://www.hybris.com/cockpitng/config/expLorertree"> <n:navigation-node id="Bookstore"> <n:type-node id="6oofes" code="Book" /> </n:navigation-node> </n:explorer-tree> </context> Introduction | 1 -25 © hybris, An S A P C om pany H Y 4 6 5 13 http://erpcertificationmaterials.com/ http://erpcertificationmaterials.com/
  • 14. Ul Configuration •Advanced Search □ & Typ«: Global Operator. Add criteria Book u . ^rnntPYT type="Booh" component="advanced-search"> n= Comparator Ankle NumiMU contare ldenM*er conlaro in □ ©© Catalog verMon equell D PWuel vsnanls tjpe aquata B Language equate a© IRBN13 equate |© Q PuUtner —• |©© ■* Include subtypes m <context c o m p o n e n t = "advanced-search" t y p e = "Book" parent="Product" merge-by="type"> < a d v a n c e d - s e a r c h :advanced-search xmlns:a d v a n c e d - s e a r c h = "http://www.hybris.com/cockpitng/config/advancedsearch"> <field-list> seLected="true" operator="equaLs"/> seLected="faLse" /> seLected="true" operator= "equaLs"/> seLected="true" operator="equaLs"/> seLected="faLse"/> seLected="faLse"/> seLected="faLse"/> <field name="Language" <field n a m e = "ISBN10" <field n a m e = "ISBN13" <field name="pubLisher" <field name="pub LishedDate' <field n a m e = "rentabLe" <field n a m e = "edition" </field-list> </advanced-search:advanced-search> </context> Introduction | 1 -26 Ul Configuration • Advanced Search ccontext c o m p o n e n t = "advanced-search" type="Book" parent="Product" merge-by= "type"> < a d v a n c e d - s e a r c h :advanced-search xmlns:a d v a n c e d - s e a r c h = "http://wuw.hybris.com/cockpitng/config/advancedsearch"> <field-list> seLected-"true" operator-"equaLs"/> seLected-"faLse" /> seLected="true" operator= "equaLs"/> seLected="true" operator="equaLs"/> <field n a m e = "Language" <field n a m e = "ISBN10" <field n a m e = "ISBN13" <field name="pubLisher" <field name="pubLishedDate" seLected="faLse"/> <field n a m e = "rentabLe" <field n a m e = "edition" </field-list> </advanced-search:advanced-search> </context> seLected="faLse"/> seLected="faLse"/> Introduction | 1 -27 14 H Y 4 6 5 © hybris, An S A P C o m p an y http://erpcertificationmaterials.com/ http://erpcertificationmaterials.com/
  • 15. Ul Configuration • List View (inherited from Product) [*) 95 (Book) fi * is + B = H « 1 /10 » ►> 11 i 1 | Article Number Identifier Approval Catalog version Language ISBN10 ISBN13 Publisher 1 ■ 8942944779 The Strange Case of the Disappeanng hybris Website approved bookstoreProductCataiog : Staged in 8942944779 3338942944779 Pinniped □ 8942944779 The Strange Case of the Disappeanng hybns Website approved bookstoreProductCataiog : Online en 8942944779 3338942944779 Pinniped □ 1013742419 Withenng Heights approved bookstoreProductCatalog : Staged M 1013742419 3331013742419 Hybns Classics Library □ 1013742419 Withenng Heights approved bookstoreProductCataiog : Online cn 1013742419 3331013742419 Hybns Classics Library I P i 2121888894 How In Make Fnanrift end Infuriate Pranln annmvnd hnnkfttnmPmrinrtCatalnn Strand nn 717188A594 3337171888594 HvtvM Classics 1Ihmrv ccontext component="listview" type="P r oduct"> <1ist-view:1ist-view xmlns:list-view="http:/ / w n n .hybris.com/cockpitng/component/l istView"> <list-view:column qualifier="" spring-bean="previewListCelIRenderer" w i dth="26px"/> <list-view:column qualifier="code"/> <list-view:column qualifier= "name"/> <list-view:column qualifier="approvalStatus"/> <list-view:column qualifier= "catalogVersion"/> </list-view:1ist-view> </context> Introduction | 1 -28 Ul Configuration • List View (Defined for Book) 95 (Book) * * s + B S ‘E « i i ' 1° i i > i 11 1111 1 - 1 ■ 111 1 - 11 “ Article Number Identifier Approval Catalog version Language ISBN10 ISBN13 Publisher B 8942944779 The Strange Case of the Disappeanng hybns Website approved bookstoreProductCataiog : Staged en 8942944779 3338942944779 Pinniped 8942944779 The Strange Case of the Disappeanng hybns Website approved bookstoreProductCataiog : Online Q 1013742419 Withering Heights approved bookstoreProductCataiog Staged en 8942944779 3338942944779 Pinniped en 1013742419 3331013742419 Hybris Classics Library 1013742419 Withering Heights approved bookstoreProductCataiog Online en 1013742419 3331013742419 Hybris Classics Library i 7171888594 How In Maks Friends and Infuriate Pranln annmvnd hnnkstnmPmriurtCatalnn Strand «tn 7171888594 3332171888594 Hvhns Classic* 1ihrarv ccontext component="listview" type="Book" parent="Product" merge-by="type"> <1ist-view:1ist-view xmlns:list-view= "http:/ / w w n .hybris.com/cockpitng/component/listView"> <list-view:column qualifier="language"/> clist-view:column qualifier="ISBN10"/> clist-view:column qualifier="ISBN13"/> clist-view:column quaifier="publisher"/> c/list-view:list-view> c/context> Introduction | 1 -29 © hybris, An S A P C om pany H Y 4 6 5 15 http://erpcertificationmaterials.com/ http://erpcertificationmaterials.com/
  • 16. Cockpit NG Developer Training Lab Module 1 Instructions Introduction Introduction T h i s d o c u m e n t w i l l g u i d e y o u t h r o u g h s e t t i n g u p y o u r l o c a l d e v e l o p m e n t e n v i r o n m e n t w h e r e y o u w i l l c a r r y o u t t h e l a b s f o r t h i s c o u r s e . What you will learn Y o u w i l l l e a r n h o w t o s e t u p t h e l a b d e v e l o p m e n t e n v i r o n m e n t f o r t h i s c l a s s . What you will need before starting 1 . I n t e r n e t a c c e s s 2. A d m i n i s t r a t i v e r i g h t s o n y o u r c o m p u t e r Instructions 1 . C h e c k w h i c h J a v a v e r s i o n y o u h a v e i n s t a l l e d i n y o u r m a c h i n e . P l e a s e o p e n a t e r m i n a l w i n d o w a n d t y p e j a v a -vers i o n . Y o u s h o u l d h a v e a t l e a s t J a v a S E 1 .7 . I f n o t , p l e a s e g o t o h t t p : / / w w w . o r a d e . c o m / t e c h n e t w o r k / p t / j a v a / j a v a s e / d o w n l o a d s / i n d e x . h t n i 1 t o d o w n l o a d a n d i n s t a l l a J D K 1 . 7 a p p r o p r i a t e f o r y o u r o p e r a t i o n a l s y s t e m . 2. M a k e s u r e t h a t y o u h a v e a J A V A _ H O M E e n v i r o n m e n t v a r i a b l e p o i n t i n g t o t h e d i r e c t o r y i n w h i c h y o u i n s t a l l e d t h e J D K . 3 . A l s o , m a k e s u r e t h a t t h e J A V A _ H O M E /b in d i r e c t o r y i s a d d e d a t t h e s t a r t o f y o u r P A T H v a r i a b l e . • I n U n i x / M a c , p u t e x p o r t P A T H = $ 3 A V A _ H 0 M E / b i n : $ P A T H i n $ H O M E / .b a s h _ p r o f ile. • I n W i n d o w s , o p e n t h e S y s t e m c o n t r o l p a n e l a n d u n d e r E n v i r o n m e n t V a r i a b l e s , a d d % 3 A V A _ H 0 M E % b i n t o t h e P A T H . 4. C h e c k t h a t y o u h a v e E c l i p s e i n s t a l l e d o n y o u r m a c h i n e . T h e l a t e s t v e r s i o n i s r e c o m m e n d e d f o r t h i s c l a s s . T o a v o i d u n e x p e c t e d i s s u e s , use a n E c lip s e d is tr ib u tio n fo c u s e d o n J a v a d e v e lo p m e n t. I f y o u d o n ’ t h a v e E c l i p s e , p l e a s e g o t o h t t p s : //w w w .e c lip s e .o r g /d o w n lo a d s /p a c k a p e s / a n d d o w n l o a d t h e " E c lip s e ID E f o r J a v a E E D e v e lo p e rs " a p p r o p r i a t e f o r y o u r s y s t e m . O n c e i n s t a l l e d , r u n E c l i p s e a n d m a k e s u r e t h a t i t c o m p i l e s j a v a c l a s s e s f o r 1 . 7 ( U n d e r J a v a C o m p ile r i n P re fe re n c e s ) . T h e n c r e a t e a n e w , e m p t y w o r k s p a c e w h e r e y o u w i l l w o r k o n t h e l a b s . 5 . C h e c k w h i c h M a v e n v e r s i o n y o u h a v e i n s t a l l e d o n y o u r m a c h i n e . O p e n a t e r m i n a l w i n d o w a n d t y p e m v n -version. Y o u n e e d a t l e a s t M a v e n 3 .0 , b u t w e r e c o m m e n d y o u i n s t a l l t h e l a t e s t o n e f o r t h i s c l a s s . T o g e t t h e l a t e s t v e r s i o n , p l e a s e g o t o h tt p s : //m a v e n .a p a c h e .o r g /d o w n lo a d .c g i t o d o w n l o a d a n d i n s t a l l a v e r s i o n s u i t e d t o y o u r s y s t e m . 6 . M a k e s u r e y o u h a v e M a v e n ’ s b i n d i r e c t o r y a d d e d t o t h e b e g i n n i n g o f y o u r P A T H v a r i a b l e , s o t h a t y o u c a n r u n t h e c o r r e c t m v n b u i l d u t i l i t y r e g a r d l e s s o f t h e p r o j e c t o n w h i c h y o u a r e w o r k i n g . P r o t i p : I f y o u a r e s e t t i n g u p a W i n d o w s m a c h i n e , i t i s i m p o r t a n t t h a t y o u a v o i d f o l d e r s w i t h l o n g n a m e s o r w i t h s p a c e s i n t h e i r n a m e , a n d t h a t y o u d o n o t i n s t a l l y o u r w o r k i n g f o l d e r t o o d e e p i n y o u r f i l e s y s t e m ( t h e c l o s e r y o u r w o r k i n g f o l d e r i s t o y o u r r o o t f o l d e r ( s u c h a s C : ) , t h e b e t t e r ) . 7 . U n z i p c n g - f r a m e w o r k - d e v e l o p e r - l a b s . z i p i n t o t h e e n v i r o n m e n t w h e r e y o u w i l l b e w o r k i n g . T h i s f i l e c o n t a i n s a l l o f t h e e x e r c i s e s a s w e l l a s e x a m p l e s o l u t i o n s . C NG T ra in in g M o d u le 1 • In tro d u c tio n Lab In s tru c tio n s / 1 http://erpcertificationmaterials.com/ http://erpcertificationmaterials.com/
  • 17. P r o t i p : I f y o u h a v e a n y q u e s t i o n s a b o u t h o w t o d o w n l o a d , i n s t a l l , o r s e t u p t h e r e q u i r e d s o f t w a r e a n d e n v i r o n m e n t v a r i a b l e s o n y o u r m a c h i n e , p l e a s e a s k y o u r i n s t r u c t o r f o r a d v i c e . P r o t i p : N e v e r a l l o w y o u r s e l f t o b e c o m e s t u c k f o r t o o l o n g o n a n y o n e s t e p o f t h e l a b s , o r y o u w i l l f a l l b e h i n d . A s k y o u r i n s t r u c t o r f o r h e l p ! 8 . B u i l d i n g a n d r u n n i n g a . O p e n a t e r m i n a l w i n d o w a n d c h a n g e y o u r w o r k i n g d i r e c t o r y t o c n g - f r a m e w o r k - d e v e l o p e r - l a b s / e x e r c i s e s / t h e L i b r a r i a n - l a b 2 - e x e r c i s e b. Execute the script run_librarian Mac: . / r u n _ l l b r a r i a n . s h Win: r u n _ l i b r a r i a n . b a t c. A f t e r g e t t i n g t h e message, INFO: Starting ProtocolHandler ["http-bio-8080"], i n t h e t e r m i n a l w i n d o w , o p e n a b r o w s e r a n d n a v i g a t e t o http://localhost:8080/theLibrarian T h e f o l l o w i n g p a g e s h o u l d a p p e a r i n y o u r b r o w s e r : Mhybris softwareAn SAP Company Username: Password: Language: English (United States) w LOGIN Ifyou see this screen, you have the first lab built and running. d . Y o u c a n s t o p t h e s e r v e r b y p r e s s i n g C t r l+ C a f t e r f o c u s i n g o n t h e t e r m i n a l w i n d o w i n w h i c h t h e s e r v e r i s r u n n i n g . R e p e a t s t e p s b a n d c e v e r y t i m e y o u n e e d t o s e e t h e r e s u l t s o f m o d i f i c a t i o n s t o y o u r p r o j e c t d u r i n g l a b d e v e l o p m e n t . S te p a i s o n l y n e c e s s a r y a t t h e s t a r t o f e a c h l a b ( p r o v i d e d y o u l e a v e y o u r c o n s o l e w i n d o w o p e n ) . D o n ' t f o r g e t t o c h a n g e d i r e c t o r y t o t h e c o r r e c t e x e r c i s e d i r e c t o r y a t t h e s t a r t o f e a c h l a b . Y o u w i l l n e e d t o s t o p t h e s e r v e r ( S t e p d ) e v e r y t i m e y o u n e e d t o t e s t n e w c o d e — b
  • Related Search
    We Need Your Support
    Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

    Thanks to everyone for your continued support.

    No, Thanks