Which technology will be used to implement this interface? SI4 Project by Pierre Arnoux, Jérémy Benabu, Steve Colombié and Xavier Gentile Supervised by Mireille Blay-Fornarino and Sébastien Mosser Friday, 12 th June,
Structure Project context PHP user interface JSF user interface Comparison Conclusion 2 Project context › PHP user interface › JSF user interface › Comparison › Conclusion
Project context › Existent Project context › PHP user interface › JSF user interface › Comparison › Conclusion 3 Photos Events Menus INTERFACE (to do) Bad way! Data base Good way!
Project context › Objectives Which technology is the best? Project context › PHP user interface › JSF user interface › Comparison › Conclusion 4 STRUTS ?.NET ? PHP ? JSP/JSF ? … PHP ? JSF ?
Project context › Objectives Criteria to compare Diffusion & reliability Installation cost Use cost Interoperability Project context › PHP user interface › JSF user interface › Comparison › Conclusion 5
Project context › Planning planning Project context › PHP user interface › JSF user interface › Comparison › Conclusion 6 Use of existing Web Services Jérémy Benabu & Steve Colombié Pierre Arnoux & Xavier Gentile Jérémy Benabu & Steve Colombié Pierre Arnoux & Xavier Gentile
PHP user interface NUSOAP library Easy installation Well documented Lot of examples Apache PHP is executed by the server Easy PHP Project context › PHP user interface › JSF user interface › Comparison › Conclusion 7
Index.phpIndex.php MenusMenus DeleteDelete ModifyModify CreateCreate ListingListing CoursesCourses CreateCreateDeleteDelete ModifyModifyListingListing Proxy Proxy Courses_proxiesCourses_proxiesMenus_proxiesMenus_proxies ProxyProxy NuSOAP NuSOAP nusoapnusoap Class Class. nusoapmimenusoapmime PHP user interface › Architecture Project context › PHP user interface › JSF user interface › Comparison › Conclusion 8
PHP user interface › Development Class Proxy (client): Call web service with WSDL Call methods Classes Courses / Menus Use their own proxy Object One file for each functionnality Easy to call a method (by generic function) Complex to receive parameters Project context › PHP user interface › JSF user interface › Comparison › Conclusion 9 Proxy Server WSDL Request SOAPClient Answer
PHP user interface › Demonstration Project context › PHP user interface › JSF user interface › Comparison › Conclusion 10
JSF user interface › Architecture Project context › PHP user interface › JSF user interface › Comparison › Conclusion 11 JSF Pages Managed Bean WebServices Java-based Web Application framework JSF uses a component-based approach
JSF user interface › Development Managed Bean : Getting WSDL’s Webservice Creating methods Calling the WebService methods intuitively Called by JSF pages easily Project context › PHP user interface › JSF user interface › Comparison › Conclusion 12 Managed Bean Controller Managed Bean Controller Web Service WSDL
JSF user interface › Demonstration Project context › PHP user interface › JSF user interface › Comparison › Conclusion 13
Comparison Project context › PHP user interface › JSF user interface › Comparison › Conclusion 14 JAVA API VersusVersus JSF PHP
Comparison Project context › PHP user interface › JSF user interface › Comparison › Conclusion 15 Massively used Few and not really well detailed
Comparison Project context › PHP user interface › JSF user interface › Comparison › Conclusion 16 Installation of an Apache Server Not Assured (NU SOAP) Every server (Apache, Glassfish…) Seems to be assured (standard)
Comparison Project context › PHP user interface › JSF user interface › Comparison › Conclusion 17 Volume per service By the controller 3 modules : Proxy Interface (heavy) Methods to manage types (very heavy) By the controller 2 short files : Interface JSF (easy) Controller Java
Comparison Project context › PHP user interface › JSF user interface › Comparison › Conclusion 18 Types Management Very Easy Not so simple ! It Needs some learning !
Comparison › Results JSF is reliable (it’s a standard made by Sun) JSF is lighter than PHP to build interfaces. JSF is easier and lighter to use than PHP for managing types (int, String…). JSF isn’t trivial to use, learning is needed. We have chosen JSF Project context › PHP user interface › JSF user interface › Comparison › Conclusion 19
Conclusion JSF will be used to implement the user interfaces of the project jSeduite. In our report we had made a tutorial about JSF and how to use it. It was interesting to compare two great technologies. Project context › PHP user interface › JSF user interface › Comparison › Conclusion 20
Thank you for you attention Any question ? Project context › PHP user interface › JSF user interface › Comparison › Conclusion 21