0
Introduction to WSO2 Carbon Platform<br />by<br />AfkhamAzeezSupunMalinga<br />  Director of Architecture        Software ...
Agenda<br /><ul><li>WSO2 Platform
In-depth look at WSO2 Carbon
Writing a Carbon component</li></li></ul><li>About WSO2<br /><ul><li> Founded in 2005 by acknowledged leaders in XML, Web ...
 Producing entire middleware platform 100% open source under Apache license
Leading contributors to the Apache Software Foundation
 Business model is to sell comprehensive support & maintenance for our products
 Venture funded by Intel Capital
 Global corporation with offices in USA, UK & Sri Lanka
 100+ employees and growing</li></li></ul><li>Selected Customers<br />
WSo2 Platform<br />
Challenges in Enterprise Software<br /><ul><li>Legacy Modernization and Integration
Most enterprises have complex existing systems that are expensive to replace and need to be connected to web applications ...
End-to-End Flows, Straight-Thru, Business Processes, Portals
Enterprises need to reduce human interaction as much as possible to make transactions efficient
When human interaction is required, it needs to be high-quality and contextual (portal, task list, analysis data available)
Performance, Scalability and Reliability
For Straight-Through-Processing and consumer-fronting applications there needs to be very high scalability and performance
Skills
There is a shortage of people required to build very high performance, complex, integrated applications. Simple effective ...
Governance
Large enterprises have thousands of applications that need to be tracked, with lifecycle and dependency management
Identity Management
Need to integrate Web-based Identity management and federated identities
A strong move to Policy-based authorization and entitlement with central management</li></ul>© WSO2 2011<br />
How does WSO2 help?A complete platform to enable modern Enterprise Software<br /><ul><li>Legacy Modernization and Integrat...
Enterprise Service Bus, Business Adapters and Data Services connects to multiple existing systems
End-to-End Flows, Straight-Thru, Business Processes, Portals
Straight through processing supported by ESB flows and Business Process Server
Human Task management and Rich User Interfaces with Gadgets and Portals
Performance, Scalability and Reliability
Industry leading performance: eBay 5B transactions/day, Fox Mobile 150m transactions/day
Systems in full Continuous Availability mode (no downtime even for system updates)
Skills
WSO2 systems use industry standard programming models and effective tools and UIs
Java/POJO, HTML/JavaScript, XML, Eclipse and Web-based consoles
Governance
WSO2 has a leading governance solution based
Business Activity Monitoring allows Key Performance Indicators to be monitored
Identity
A full web-based identity management system with support for Java, .NET, C, C++, PHP
Full Policy-based entitlement and authorization engine</li></ul>© WSO2 2011<br />
Other Enterprise Challenges<br />WSO2 Solution<br /><ul><li>100% Open Source and Open Standards
Straightforward pricing, no multi-core hikes, simple contracts
A complete cloud-enabled approach, strong cloud vision
Completely modular stack:
Self-Consistent, use exactly what you need and no more
First class support system, top-rated support and response times</li></ul>Challenge<br /><ul><li>Vendor Lock-in
High Cost and Procurement complexity
Cloud vision and migration
Inconsistent and complex systems
Support is often hard to use</li></ul>© WSO2 2011<br />
WSO2 CarbonOn-premises Platform<br />© WSO2 2011<br />
Enterprise Expectations<br />© WSO2 2011<br />
The WSO2 SOA platform <br />© WSO2 2011<br />
WSO2 - A Complete Compositional Application Platform<br /><ul><li>Orchestration & Composition
WSO2 Business Process Server
WSO2 Mashup Server
Repository and Governance
WSO2 Governance Registry
Monitoring
WSO2 Business Activity Monitor
Identity Management and Security
WSO2 Identity Server
Tooling
WSO2 Carbon Studio</li></ul>© WSO2 2011<br />
Upcoming SlideShare
Loading in...5
×

WSO2Con 2011: Introduction to the WSO2 Carbon Platform

4,759

Published on

WSO2 Carbon platform is the base framework for all fifteen WSO2 products and Cloud services. Based on OSGi, WSO2 Carbon is lean, consistent, modular, componentized middleware platform for enterprise software. The Carbon platform consists of a powerful core set of components and numerous product-specific components that are plugged together to provide a unique set of products. These highly decoupled components can easily be added or removed from any Carbon instance.
This tutorial will provide a fundamental overview of WSO2 Carbon, including:
An overview of the WSO2 Carbon architecture
The advantages of a modular framework
WSO2 Carbon platform capabilities
Insights to how Carbon is developed and built
A comprehensive demo on the lifecycle of a carbon component, explaining how a component is created, plugged into the platform and used
Carbon UI framework

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

No Downloads
Views
Total Views
4,759
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
213
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Transcript of "WSO2Con 2011: Introduction to the WSO2 Carbon Platform"

  1. 1. Introduction to WSO2 Carbon Platform<br />by<br />AfkhamAzeezSupunMalinga<br /> Director of Architecture Software Engineer<br />WSO2 Inc.<br />Lean, Consistent, Modular <br />Enterprise Software Platform<br />
  2. 2. Agenda<br /><ul><li>WSO2 Platform
  3. 3. In-depth look at WSO2 Carbon
  4. 4. Writing a Carbon component</li></li></ul><li>About WSO2<br /><ul><li> Founded in 2005 by acknowledged leaders in XML, Web Services Technologies & Standards and Open Source
  5. 5. Producing entire middleware platform 100% open source under Apache license
  6. 6. Leading contributors to the Apache Software Foundation
  7. 7. Business model is to sell comprehensive support & maintenance for our products
  8. 8. Venture funded by Intel Capital
  9. 9. Global corporation with offices in USA, UK & Sri Lanka
  10. 10. 100+ employees and growing</li></li></ul><li>Selected Customers<br />
  11. 11. WSo2 Platform<br />
  12. 12. Challenges in Enterprise Software<br /><ul><li>Legacy Modernization and Integration
  13. 13. Most enterprises have complex existing systems that are expensive to replace and need to be connected to web applications and new business processes
  14. 14. End-to-End Flows, Straight-Thru, Business Processes, Portals
  15. 15. Enterprises need to reduce human interaction as much as possible to make transactions efficient
  16. 16. When human interaction is required, it needs to be high-quality and contextual (portal, task list, analysis data available)
  17. 17. Performance, Scalability and Reliability
  18. 18. For Straight-Through-Processing and consumer-fronting applications there needs to be very high scalability and performance
  19. 19. Skills
  20. 20. There is a shortage of people required to build very high performance, complex, integrated applications. Simple effective systems with clear programming models are vital
  21. 21. Governance
  22. 22. Large enterprises have thousands of applications that need to be tracked, with lifecycle and dependency management
  23. 23. Identity Management
  24. 24. Need to integrate Web-based Identity management and federated identities
  25. 25. A strong move to Policy-based authorization and entitlement with central management</li></ul>© WSO2 2011<br />
  26. 26. How does WSO2 help?A complete platform to enable modern Enterprise Software<br /><ul><li>Legacy Modernization and Integration
  27. 27. Enterprise Service Bus, Business Adapters and Data Services connects to multiple existing systems
  28. 28. End-to-End Flows, Straight-Thru, Business Processes, Portals
  29. 29. Straight through processing supported by ESB flows and Business Process Server
  30. 30. Human Task management and Rich User Interfaces with Gadgets and Portals
  31. 31. Performance, Scalability and Reliability
  32. 32. Industry leading performance: eBay 5B transactions/day, Fox Mobile 150m transactions/day
  33. 33. Systems in full Continuous Availability mode (no downtime even for system updates)
  34. 34. Skills
  35. 35. WSO2 systems use industry standard programming models and effective tools and UIs
  36. 36. Java/POJO, HTML/JavaScript, XML, Eclipse and Web-based consoles
  37. 37. Governance
  38. 38. WSO2 has a leading governance solution based
  39. 39. Business Activity Monitoring allows Key Performance Indicators to be monitored
  40. 40. Identity
  41. 41. A full web-based identity management system with support for Java, .NET, C, C++, PHP
  42. 42. Full Policy-based entitlement and authorization engine</li></ul>© WSO2 2011<br />
  43. 43. Other Enterprise Challenges<br />WSO2 Solution<br /><ul><li>100% Open Source and Open Standards
  44. 44. Straightforward pricing, no multi-core hikes, simple contracts
  45. 45. A complete cloud-enabled approach, strong cloud vision
  46. 46. Completely modular stack:
  47. 47. Self-Consistent, use exactly what you need and no more
  48. 48. First class support system, top-rated support and response times</li></ul>Challenge<br /><ul><li>Vendor Lock-in
  49. 49. High Cost and Procurement complexity
  50. 50. Cloud vision and migration
  51. 51. Inconsistent and complex systems
  52. 52. Support is often hard to use</li></ul>© WSO2 2011<br />
  53. 53. WSO2 CarbonOn-premises Platform<br />© WSO2 2011<br />
  54. 54. Enterprise Expectations<br />© WSO2 2011<br />
  55. 55. The WSO2 SOA platform <br />© WSO2 2011<br />
  56. 56. WSO2 - A Complete Compositional Application Platform<br /><ul><li>Orchestration & Composition
  57. 57. WSO2 Business Process Server
  58. 58. WSO2 Mashup Server
  59. 59. Repository and Governance
  60. 60. WSO2 Governance Registry
  61. 61. Monitoring
  62. 62. WSO2 Business Activity Monitor
  63. 63. Identity Management and Security
  64. 64. WSO2 Identity Server
  65. 65. Tooling
  66. 66. WSO2 Carbon Studio</li></ul>© WSO2 2011<br />
  67. 67. Carbon Architecture<br /><ul><li>“Eclipse for Servers”
  68. 68. Completely Modular Middleware
  69. 69. Based on the Equinox OSGi runtime
  70. 70. The most integrated composite application platform available
  71. 71. Clean “front-end/back-end” separation
  72. 72. Every component has a core runtime, a clean SOA management interface, a well-defined front-end console component
  73. 73. All completely pluggable, versioned, etc
  74. 74. Full dependency management
  75. 75. Hence full re-use
  76. 76. Pluggable common core services:
  77. 77. Registry, Key Management, Identity Management, Clustering, Monitoring/JMX, Transports, etc
  78. 78. Cloud enabled</li></ul>© WSO2 2011<br />
  79. 79. WSO2 Carbon : Component Architecture<br />
  80. 80. WSO2 Carbon<br />
  81. 81. WSO2 Carbon : Component Library<br />
  82. 82. WSO2 Carbon : Distribution Artifacts<br />
  83. 83. WSO2 Carbon : Share Runtime<br />
  84. 84. Carbon Component Manager<br />© WSO2 2011<br />
  85. 85. Integration Features<br /><ul><li>Support for SOA, WOA, and Messaging protocols
  86. 86. SOAP, WS-Security, SecureConversation, Trust, ReliableMessaging, Discovery, MetadataExchange, MTOM, Transfer, Addressing
  87. 87. JMS (tested with Tibco, IBM MQSeries, Sonic, Swift, Apache QPid, ActiveMQ)
  88. 88. AMQP Broker component (beta in Q2 2011)
  89. 89. CORBA/IIOP connectivity
  90. 90. HTTP – full REST support
  91. 91. SMTP/POP3, TCP, FIX, HL7, extensible transports
  92. 92. File Adapter
  93. 93. Rule based mediation
  94. 94. Transactional flows
  95. 95. Transformation
  96. 96. Smooks (Flatfile, EDI, CSV, Record)
  97. 97. XSLT, XQuery
  98. 98. Variable Record
  99. 99. Routing
  100. 100. Content and header based routing (variable parsing for efficiency)
  101. 101. Message Router EIP
  102. 102. Microflow engine
  103. 103. Aggregate/Disaggregate, filter, clone
  104. 104. Priority based queuing / mediation
  105. 105. Tasks
  106. 106. CRON-like ability to run flows based on timers
  107. 107. Events
  108. 108. Multi-protocol event distribution engine</li></ul>© WSO2 2011<br />
  109. 109. ESB / Legacy Application Integration <br />© WSO2 2011<br />
  110. 110. Key Capabilities continued<br /><ul><li>Business Process Server
  111. 111. BPEL 1.1 and BPEL 2.0 support
  112. 112. Full management console including instance and process management
  113. 113. Identity Server
  114. 114. Support for local and federated Identity
  115. 115. Full single-sign on (SAML2, OpenID, Infocard)
  116. 116. Entitlement and authorization
  117. 117. OAuth and XACML
  118. 118. Policy based
  119. 119. Integration with ESB, Registry, etc
  120. 120. Portal (Gadget Server)
  121. 121. Based on Google Gadget Specification
  122. 122. Supports OpenID, Infocard login
  123. 123. Inter-gadget communications
  124. 124. Automatic generation of gadgets from WSDLs
  125. 125. Registry/Repository
  126. 126. Highly scalable repository
  127. 127. Full versioning, lifecycle, dependency management
  128. 128. Eclipse tooling (beta)
  129. 129. Command line, REST, WS-* APIs
  130. 130. Schema, WSDL management
  131. 131. Code and configuration management</li></ul>© WSO2 2011<br />
  132. 132. Application Container<br /><ul><li>WSO2 Application Server
  133. 133. POJO container
  134. 134. Spring, JAXWS, pure POJO services
  135. 135. Webapp
  136. 136. WAR deployment
  137. 137. WS-* Support
  138. 138. Clustering and session replicatio
  139. 139. Full multi-tenant deployment and management of webapps</li></ul>© WSO2 2011<br />
  140. 140. Extended Capabilities<br /><ul><li>Business Rules Server
  141. 141. Embeddable
  142. 142. Within ESB flows or POJO code
  143. 143. Available as services
  144. 144. Callable remotely, from BPS, etc
  145. 145. Stores and manages rulesets in the Registry
  146. 146. Event Server – MB and CEP
  147. 147. Event distribution and topic management
  148. 148. Complex Event Processing
  149. 149. Business Activity Monitoring
  150. 150. Out of the box monitoring of the platform (services, mediations, etc)
  151. 151. Extensible to monitor business metrics
  152. 152. Analytical support</li></ul>© WSO2 2011<br />
  153. 153. Business Activity Monitor<br />© WSO2 2011<br />
  154. 154. Key Enhancements in Carbon 3.x<br /><ul><li>Improved provisioning
  155. 155. Web console, remote API and command-line
  156. 156. Install, Uninstall, Revert
  157. 157. Patch management
  158. 158. Clear dependency management and reversion
  159. 159. WS-Discovery capabilities across the platform
  160. 160. Automatically publish and discover services from providers and consumers
  161. 161. Registry provides the WS-Discovery server
  162. 162. Significantly improved registry support for large scale deployments
  163. 163. Clear separation of per-cluster metadata vs enterprise metadata
  164. 164. ESB 3.0.1
  165. 165. Priority Queuing
  166. 166. Hot deploy, undeploy, update, co-deploy
  167. 167. Message Relay mode
  168. 168. Governance Registry
  169. 169. Tree view
  170. 170. AJAX/Web XML editor
  171. 171. Impact analysis gadgets
  172. 172. Identity Server
  173. 173. SAML2 Single Sign-on
  174. 174. OAuth federated authorization
  175. 175. Available as cloud-ready images
  176. 176. Amazon AMI, vmWare and KVM images</li></ul>© WSO2 2011<br />
  177. 177. Tooling<br /><ul><li>Currently the tooling is a set of Eclipse components
  178. 178. BPEL and ESB editors
  179. 179. AS and Registry tools
  180. 180. Carbon App and WSO2 Carbon Studio
  181. 181. Taking individual components and building a complete deployment and tooling model for composite applications
  182. 182. Carbon Studio provides a complete tool environment for WSO2
  183. 183. Carbon App is a deployment model that can auto-provision into a distributed infrastructure
  184. 184. Takes account
  185. 185. Logical Topology
  186. 186. Mapping to Physical Topology
  187. 187. Versioning
  188. 188. Dependencies</li></ul>© WSO2 2011<br />
  189. 189. BPEL Editor<br />© WSO2 2011<br />
  190. 190. Gadget Editor<br />© WSO2 2011<br />
  191. 191. WSO2 StratosCloud Middleware Platform<br />&<br />Stratoslive Platform-as-a-Service<br />© WSO2 2011<br />
  192. 192. Enterprise IT in 2011<br />© WSO2 2011<br />© WSO2 2011<br />31<br />
  193. 193. Enterprise IT in 2015+<br />© WSO2 2011<br />© WSO2 2011<br />32<br />
  194. 194. WSO2 Stratos<br />© WSO2 2011<br />
  195. 195. WSO2 Stratos<br /><ul><li>Cloud Middleware Platform
  196. 196. Can be hosted on a private or public infrastructure Cloud (IaaS) or directly on the infrastructure
  197. 197. Self-service portal for managing the platform
  198. 198. Domain/sub-domain registration
  199. 199. Each tenant can provision users
  200. 200. Or be auto-provisioned from LDAP or AD
  201. 201. Each tenant can choose “Stratos Services”
  202. 202. Tenant Stratos Services are isolated and secure
  203. 203. Each tenant Stratos Service has a full administration console with fine-grained user authorization
  204. 204. StratosLive - PaaS
  205. 205. http://stratoslive.wso2.com</li></ul>© WSO2 2011<br />
  206. 206. WSO2 Carbon and Stratos<br />
  207. 207. © WSO2 2011<br />
  208. 208. Cloud Native Middleware<br />© WSO2 2011<br />
  209. 209. Design Objectives : WSO2 Carbon<br /><ul><li> To build a,
  210. 210. Lean
  211. 211. Modular
  212. 212. Enterprise-class
  213. 213. Middleware platform</li></li></ul><li>Design Objectives : WSO2 Carbon<br /><ul><li> Self-consistent and lean
  214. 214. Internal interoperability
  215. 215. External interoperability
  216. 216. Infinitely flexible and agile for rapid solution architecture adoption
  217. 217. Open standards and Open Source
  218. 218. A complete middleware platform from data to screen</li></li></ul><li>Complete Platform – Data to Screen<br />
  219. 219. WSO2 Carbon Based Products<br />WSO2 Carbon based products<br />WSO2 Carbon<br />Set of Features<br />=<br />+<br /><ul><li> WSO2 Carbon based products
  220. 220. WSO2 WSAS
  221. 221. WSO2 ESB
  222. 222. WSO2 IS
  223. 223. Features
  224. 224. Service Management Feature
  225. 225. Proxy Services Features
  226. 226. Transport Management Feature</li></li></ul><li>WSO2 Carbon, The webapp<br /><ul><li> Carbon can be used as an standalone server or can be deployed in application servers.
  227. 227. Carbon is itself a webapp, hence In the standalone mode, it uses an embedded tomcat instance.
  228. 228. In both modes, Carbon is launched by the BridgeServlet which bridges the non-OSGi world and the OSGi world.</li></li></ul><li>WSO2 Carbon, The webapp<br />
  229. 229. Various Technologies<br />OSGi.<br />Equinox P2.<br />J2EE specially servlets, JSPs<br />Web Services and WS-* specifications.<br />...<br />
  230. 230. Key Features<br />
  231. 231. Core Platform Services<br /><ul><li> Mechanisms to providing and consuming Web services
  232. 232. Repository Services
  233. 233. Authentication and Authorization
  234. 234. Logging Service
  235. 235. Clustering for HA
  236. 236. UI Framework
  237. 237. Multitenancy</li></li></ul><li>Enterprise Deployments<br />Enterprise ready for large deployments with<br /><ul><li> Clustering
  238. 238. High availability
  239. 239. Scalability</li></li></ul><li>Some other Features…<br /><ul><li> Mechanisms to providing and consuming services,
  240. 240. Message mediation,
  241. 241. Service Orchestration,
  242. 242. Service Governance,
  243. 243. Service Monitoring,
  244. 244. Business Process Management.</li></li></ul><li>UI Framework / Easy Configuration<br /><ul><li> Easy configuration via a rich Web-based graphical management Console allows remote administration of the system.
  245. 245. Clear interface for component configuration
  246. 246. Based on Apache Tiles UI framework.</li></li></ul><li>Development and Release Process<br /><ul><li> Open and agile development model
  247. 247. All binaries and source code distributed under the Apache Software License 2.0
  248. 248. Source code repository (Subversion)</li></ul>https://svn.wso2.org/repos/wso2<br /><ul><li> Issue tracker (JIRA)</li></ul>http://wso2.org/jira<br /><ul><li> All design and development discussions are carried out on public mailing lists</li></li></ul><li>Building and Testing<br /><ul><li> Build system based on Apache Maven2
  249. 249. Continuous integration system powered by Hudson
  250. 250. Automated nightly builds
  251. 251. Automated testing</li></li></ul><li>Documentation<br /><ul><li> Context sensitive help on the UI
  252. 252. A documentation distribution as well as an on-line documentation</li></ul>http://wso2.org/project/carbon/3.2.0/docs/<br /><ul><li> Articles and tutorials can be found on WSO2 Oxygen Tank</li></ul>http://wso2.org/library/carbon<br /><ul><li> Many publications on external websites</li></li></ul><li>What is a Carbon Component<br /><ul><li>A set of OSGiBundles.
  253. 253. Lives in the Carbon Framework. Hence should conform to rules define in the Carbon Framework.
  254. 254. Two aspects/ BE-FE Separation
  255. 255. Every component has a core runtime, a clean SOA management interface, a well-defined front-end console component
  256. 256. Back-end Runtime
  257. 257. Front-end Console
  258. 258. Uses Core Carbon Services
  259. 259. Via OSGi service registry</li></ul> e.g. Registry Service, UserManager Service, etc.<br />
  260. 260. What is a Feature<br /><ul><li> In Eclipse world
  261. 261. Feature is a grouping of set of logically related plug-ins/ OSGi bundles
  262. 262. Feature can be installed into Eclipse platform using its Update Manager
  263. 263. In Carbon world
  264. 264. Feature can be thought of as an installable form of one or more logically related Carbon component
  265. 265. Service Management Component
  266. 266. What you develop
  267. 267. Service Management Feature
  268. 268. What you install
  269. 269. Feature is a grouping of one or more logically related Carbon components
  270. 270. Features can be installed into Carbon based product using Feature Manager</li></li></ul><li>Features<br /><ul><li> Allows you to specify pre-requisites of your Carbon component.
  271. 271. Other dependent features, bundles.
  272. 272. Dependency Management.
  273. 273. Are installable Units which can be installed into any Carbon based product.
  274. 274. Can be install using the WSO2 Carbon Feature Manager
  275. 275. Can be shared with others by packaging features as a Repository (Update Site in eclipse terms).</li></li></ul><li>Carbon Component: Development Process<br /><ul><li> Develop the Carbon component
  276. 276. Back-end component (BE OSGi bundles)
  277. 277. Front-end component (FE OSGi bundles)
  278. 278. Common bundles, if any
  279. 279. Develop the corresponding feature
  280. 280. BE/Server Feature
  281. 281. FE/UI Feature
  282. 282. Composite Feature
  283. 283. Install into a Carbon based product
  284. 284. By integrating with the product build system
  285. 285. By developing a feature repository and installing using Feature Manager</li></li></ul><li>Carbon Component: Build Process<br /><ul><li> We use Maven as our build tool.
  286. 286. Building Carbon components/OSGi bundles
  287. 287. Use Maven Bundle plugin to build OSGi bundles
  288. 288. http://svn.wso2.org/repos/wso2/branches/carbon/3.0.0/components/logging/org.wso2.carbon.logging.service/3.0.0/pom.xml
  289. 289. Building Features
  290. 290. Use Maven P2 Feature plugin (Developed at WSO2)
  291. 291. User p2-feature-gen goal
  292. 292. http://svn.wso2.org/repos/wso2/branches/carbon/3.0.0/features/logging-mgt/org.wso2.carbon.logging.mgt.server.feature/3.0.0/pom.xml
  293. 293. Building a Repository
  294. 294. Use Maven P2 plugin
  295. 295. P2-repo-generator goal
  296. 296. http://svn.wso2.org/repos/wso2/branches/carbon/3.0.0/features/repository/pom.xml</li></li></ul><li>What do you need to know to develop a Carbon component?<br /><ul><li>Java – to write some code
  297. 297. Carbon - Understand the architecture and the usage
  298. 298. Apache Axis2 - enough to create a service and consume it
  299. 299. JSP
  300. 300. XML
  301. 301. SVN - To check out the code
  302. 302. Maven - To build the code
  303. 303. Plus a little OSGi and a little p2
  304. 304. OSGI is useful for:
  305. 305. Getting OSGi services (e.g. Registry) injected into your code
  306. 306. Handling activation of bundles</li></li></ul><li>Let’s write some code!<br />Enough talking!<br />
  307. 307. Student Manager Component<br /><ul><li> Lets develop a sample Carbon component to understand the development process as well as the build process.
  308. 308. Student Manager component
  309. 309. consists of a BE runtime which exposes a Web services to
  310. 310. Add new students
  311. 311. Get the list of students
  312. 312. Consist of a FE console which displays the available student information on the Carbon management console.
  313. 313. Student Manager Feature
  314. 314. org.wso2.carbon.student.mgt.server.feature
  315. 315. org.wso2.carbon.student.mgt.ui.feature
  316. 316. org.wso2.carbon.student.mgt.feature</li></li></ul><li>Developing the BE Component<br /><ul><li> Some actual server logic plus an admin service to manage it
  317. 317. Add some special sauce into the services.xml to let us know it’s an admin service
  318. 318. component.xml -> configures permissions</li></li></ul><li>BE Component: Directory Structure<br /><ul><li> org.wso2.carbon.student.mgt</li></ul> - src/<br />- main/<br /> - java/<br /> - org/wso2/carbon/student/mgt<br /> - Resources/<br /> - META-INF/<br />- services.xml<br />- component.xml<br />-test/<br />- pom.xml<br />
  319. 319. Developing the FE Component<br /><ul><li> Admin service client – standard Axis2 WSDL client
  320. 320. JSP
  321. 321. Helper code sets correct security
  322. 322. component.xml
  323. 323. Defines the menu structure to place the JSP in the right place</li></li></ul><li>FE Component: Directory Structure<br /><ul><li> org.wso2.carbon.student.mgt.ui</li></ul>- src/<br /> - main/<br /> - java/<br /> - resources/<br />studentmgt.wsdl<br /> org/wso2/carbon/student/mgt/ui/i18n/Resources.properties<br /> META-INF/ <br />- component.xml<br /> web/<br /> student-mgt/ (web context of the FE console)<br />doc/<br />userguide.html<br /> images/<br />js/<br /> *.jsp files <br />pom.xml<br />
  324. 324. Resources<br /><ul><li> How to develop OSGi Bundles using the Maven Plugin</li></ul>http://bit.ly/9TPMjl<br /><ul><li> Getting Started with WSO2 Carbon</li></ul>http://bit.ly/9CdzTO<br />
  325. 325. Thank You!<br />
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×