Best Practices with WSO2 Developer Studio

2,835 views
2,562 views

Published on

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,835
On SlideShare
0
From Embeds
0
Number of Embeds
91
Actions
Shares
0
Downloads
122
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Best Practices with WSO2 Developer Studio

  1. 1. Enterprise  Applica2on   Development  Best  Prac2ces   with  WSO2  Developer  Studio   Asanka  Sanjeewa   Senior  So(ware  Engineer   Harshana  Mar2n   Associate  Technical  Lead   Last  Updated:    Jan.  2014
  2. 2. About  the  Presenter(s)   Harshana Martin Associate Technical Lead harshana@wso2.com ๏  *  
  3. 3. About  the  Presenter(s)   Asanka Sanjeewa Senior Software Engineer asankas@wso2.com ๏  *  
  4. 4. About  WSO2   ๏  ๏  Global  enterprise,  founded  in   2005  by  acknowledged  leaders  in   XML,  web  services    technologies,   standards    and  open  source   Provides  only  open  source   plaBorm-­‐as-­‐a-­‐service  for  private,   public  and  hybrid  cloud   deployments   ๏  ๏  *   All  WSO2  products  are  100%  open   source  and  released  under  the   Apache  License  Version  2.0.   Is  an  AcMve  Member  of  OASIS,   Cloud  Security  Alliance,  OSGi   Alliance,  AMQP  Working  Group,   OpenID  FoundaMon  and  W3C.   ๏  Driven  by  InnovaMon   ๏  Launched  first  open  source  API   Management  soluMon  in  2012   ๏  Launched  App  Factory  in  2Q  2013   ๏  Launched  Enterprise  Store  and  first  open   source  Mobile  soluMon  in  4Q  2013  
  5. 5. What  we  Deliver   *  
  6. 6. Business  Model   *  
  7. 7. WSO2  Developer  Studio   ๏  WSO2 Developer Studio is the strategic on-premise development tool for WSO2 Carbon middleware platform. ๏  Enables Develop, Deploy, Debug and Test using single interface providing One-Stop tool. ๏  For more information about WSO2 Developer Studio 3.5 refer to http://wso2.com/library/webinars/2014/01/productrelease-webinar-wso2-developer-studio/ *  
  8. 8.   Developer  Studio  Tools   •  ESB  Editor,  graphical  too,  with  reverse  engineering  capabiliMes   •  Governance  Registry  Tools,  to  browse,  create  and  edit  service  meta  data   •  Data  Services  Editor,  from  data  to  services  in  quick  Mme   •  IntegraMng   o  Eclipse  BPEL  editor  tools,  business  process  design   o  JBoss  Smooks  editor,  visual  data  transformaMons   •  Composite-­‐ApplicaMons  support   •  Combine  mulMple  arMfacts  into  one  logical  project  deployed  across  mulMple  services   with  different  roles   •  Maven   based   build   model,   to   help   with   automated   conMnuous   builds   and   integraMon   *  
  9. 9. Use  Case:  A  Fault  Repor2ng  System   *  
  10. 10. Product  Informa2on   ๏  WSO2 Developer Studio 3.5.0 ๏  WSO2 Enterprise Service Bus 4.8.0 ๏  WSO2 Application Server 5.2.1 ๏  WSO2 Data Service Server 3.1.1 ๏  MySQL Server 5.x *  
  11. 11. Demo *  
  12. 12. Demo  Outline   ๏  Setting up Database (MachinesDB) ๏  Setting up Development Environment ๏  Creating Data Service (MachineFaultsDS) ๏  Creating Axis2 Service (BinaryCodeDecoder) ๏  Creating ESB Artifacts ๏  Creating Web App to update fault jobs ๏  Adding WSO2 Servers to the Developer Studio ๏  Deploy Capp from Developer Studio *  
  13. 13. SeSng  up  Database   ๏  Create database (MachinesDB) ๏  Create table (MachineFaults) *  
  14. 14. SeSng  up  Development   Environment   ๏  Open eclipse (Developer Studio) ๏  Create Maven Multi Module Project *  
  15. 15. Crea2ng  Data  Service   ๏  Create Data Service Project (MachineFaultsDS) ๏  Configure Data Service ๏  Add an insert query (InsertQuery) ๏  Add input mapping for the InsertQuery ๏  Add an operation (InsertQueryOperation) ๏  Add an update query (UpdateQuery) ๏  Add input mapping for the UpdateQuery ๏  Add an operation for UpdateQuery (UpdateQueryOperation) ๏  Test data service *   ๏  Configure Data Service Server ๏  Add WSO2 Data Service Server to the Developer Studio ๏  Deploy data service ๏  Test service using Tryit option
  16. 16. Crea2ng  Axis2  Service   ๏  Create Axis2 service project (BinaryCodeDecoder) ๏  Create service (BinaryCodeDecoder) ๏  Generate WSDL for the service ๏  Test Axis2 service ๏  Add WSO2 Application Server to the Developer Studio ๏  Deploy axis2 service ๏  Test service using Tryit option *  
  17. 17. Crea2ng  ESB  Ar2facts   ๏  Create ESB Config project (ESBConfigs) ๏  Create ESB artifacts ๏  Create and import proxy services ๏  Create and import sequences ๏  Create Registry Resource Project ๏  Create endpoints as Registry Resources ๏  How to use tool palette ๏  Compose configurations using ESB Graphical Editor ๏  Deploy and Testing *   ๏  Configure ESB server for mail transport ๏  Start server ๏  Add ESB server to the Developer Studio as a Remote Server ๏  Deploy ESB artifacts within ESB server ๏  Testing configuration using Tryit option
  18. 18. Crea2ng  Web  Applica2on   ๏  Create a Web Application (FaultJobUpdater) ๏  Add jsp files (index.jsp) ๏  Add servlet ๏  Modify web.xml (add servlet mapping) ๏  Generate axis2 web service client to invoke a proxy service ๏  Test Web Application ๏  Deploy Web App in WSO2 Application Server ๏  Access Web App from web browser and submit form *  
  19. 19. *  
  20. 20. *  
  21. 21. Q/A *  
  22. 22. Call  to  ac2on  page   ๏  WSO2 Developer Studio 3.5.0 http://wso2.com/products/developer-studio/ http:// marketplace.eclipse.org/content/wso2-developerstudio ๏  WSO2 Developer Studio Documentation http://docs.wso2.org/display/DVS350/ WSO2+Developer+Studio+Documentation ๏  Eclipse Juno SR2 Java EE *   http://www.eclipse.org/downloads/packages/
  23. 23. Call  to  ac2on  page   ๏  WSO2 Enterprise Service Bus 4.8.0 http://wso2.com/products/enterprise-service-bus/ ๏  WSO2 Application Server 5.2.1 h]p://wso2.com/products/applicaMon-­‐server/   ๏  WSO2 Data Service Server 3.1.1 h]p://wso2.com/products/data-­‐services-­‐server/   *  
  24. 24. Contact  us  !  

×