WSO2 Intro Webinar - Scale your business with the cloud enabled WSO2 Application Server Presentation Transcript
Scale your Business with the Cloud Enabled WSO2 Application Server Sagara Gunathunga firstname.lastname@example.org
Agenda1. Introduction2. Key features3. Server architecture4. Web services & Web Application support5. Development with WSO2 Developer Studio6. Caching, clustering and session replication7. Jaggery.js support8. Demo
Yet another Application Server
Wide range of deployment options Public/private Public/privateOn-premise IaaS PaaS
Seamless integration with WSO2 SOA platform
Multi – Tenant Application Server
WSO2 Application ServerBusiness friendly Apache 2.0 license & Fully open source.Enterprise ready Web Services and Web Application container.Wide range of deployment options - on-premise, private/public IaaS, private/public PaaS.Build top of the WSO2 award winning Carbon middleware platform.Seamless integration with WSO2 Carbon based products.Simple web application development lifecycle using WSO2 Developer Studio.Powered by Apache Tomcat, Apache Axis2 and Apache CXF.In-build support for Multitenancy.WSO2 commercial and community support.
Key features of WSO2 Application ServerIn build JAX-WS , JAX-RS and native Axis2 web service support.Easy to use management console.REST and WSDL 2.0.Clustering support for High Availability and Scalability , Session replication.Improved lazy loading and resource sharing architecture.Improved caching mechanism.Basic Auth integration to LDAP, Google Auth, OpenID and other external user stores.Ability to install any Carbon feature.
Key features of WSO2 Application ServerDeployment synchronization features.Datasource management for scalable data management.Hot Deployment/Hot Update of services.WSDL2Java, Java2WSDL, WSDL Validatorand Try-It tools.Number of transport options.Flexible logging support with integration to enterprise logging systems.JMX MBeans for all key metrics monitoring and management features.Jagery.js support
lazy loading and resource management ?• Application servers usually run for a long time, keeping inactive applications on memory for a long time can effect to performance.• Application server restarting can cause considerable amount of application downtime and effect to availability.• Resources such as memory, cache and processor time are expensive hence need better resource management.• Lazy loading and resource sharing mechanisms should not negatively effect on end user experience.
lazy loading and resource management• Tenant lazy loading.• Web Service lazy loading.• Web Application lazy loading.
Web Service lazy loading.
Web Application lazy loading.
Clustering and session replication• The ability to store session specific data in Web services is an important feature. * Supports 3 levels. ServiceContext level. ServiceGroupContext level. ConfigurationContext level.• AppServer clustering is based on the Apache Tomcat Tribes group management system.
Deployment Synchronization• Used to synchronize the main repository of a Carbon server with set of nodes.• Usually one READ-WRITE repository with number of READ-ONLY repositories.• Offer two different approaches. * SVN based synchronizer * Registry based synchronizer
WSO2 Carbon features with Webapps• Carbon Webapp which is running on Tomcat.• Other webapps are also deployed in parallel with the Carbon Webapp.• Some API’s are shared across all Webapps to make important Carbon features available for external Webapps as well. * Authentication * Registry (Metadata Repository) * Carbon Caching
WSO2 Carbon features with Webapps
Carbon Authentication for Webapps• All Carbon functionalities are implemented as Web Services which are called Carbon Admin Services.• AuthenticationAdmin Service handles all Authentication functionalities.• AuthenticationAdminClient API is provided to talk to the Admin Service.• Webapps can use that API to communicate with the Carbon User store.• Any User store can be plugged into Carbon (Default LDAP)
Registry for Webapps• WSO2 Registry is used by all WSO2 products as a metadata repository• Webappsalso can use it for the same purpose through the CarbonContextAPI
Web service development• SOAP 1.1/1.2 and RESTfull Axis2 web services.• JAX-WS 2.2 web services and JAX-RS services.
WSO2 Developer Studio based development
WSO2 Developer StudioWSO2 Developer Studio is the developmenttool for writing applications that get hosted onone or more of carbon servers.• This is based on the popular Eclipse IDE with all the familiar tools at hand.• Developer Studio contains diverse set of tools vital for configuring your enterprise architecture
WSO2 Application server as a service https://appserver.stratoslive.wso2.com