Home >Documents >Inside Apache Geronimo 1.1 - What makes it special? Rakesh Midha IBM Software Labs, Bangalore...

Inside Apache Geronimo 1.1 - What makes it special? Rakesh Midha IBM Software Labs, Bangalore...

Date post:26-Mar-2015
View:220 times
Download:1 times
Share this document with a friend
  • Slide 1

Inside Apache Geronimo 1.1 - What makes it special? Rakesh Midha IBM Software Labs, Bangalore [email protected] [email protected] Slide 2 1 Goal Show case Geronimo open source story Where it fits in Industry and Enterprise How it facilitates easy development and deployment Understand Geronimo 1.1 additions Get you hooked with Geronimo Slide 3 2 Agenda Geronimo - An Introduction Why Geronimo? What makes it Special? Where does it fit well? Geronimo Architecture and Components Geronimo 1.1 Whats New? Getting Started Administration and Configuration Development Enviornment Quick Application Development Getting Involved Summary, Q&A Slide 4 3 Geronimo - An Introduction Slide 5 4 What is Apache Geronimo? Open source J2EE application server project developed by the Apache Software Foundation. Benefits from the efforts of collaborative development by an open community of Java developers worldwide. Apache-licensed open source application server Highly customizable Small footprint Community-driven Brings together leading technologies from the broad open source community to support J2EE Slide 6 5 Geronimo Apache Geronimo an Apache Software Foundation top level project that is aimed at creating a world class, free, application server. It is made up of over 30 best of breed open source packages (some not under the Apache domain). The Geronimo kernel provides the common security, deployment, administration, management, and life- cycle services for these components. Geronimo reached official J2EE 1.4 certification in Milestone 5 in Oct 2005. Apache Geronimo Slide 7 6 Howl JDBM JDom Jetty Juddi Junit Mx4j OpenEJB ActiveIO ActiveMQ Scout Antlr ASM Axis Castor Concurrent Apache Directory Commons Beanutils Collections Digester El Fileupload I/O Lang Modeler Primitives TranQl Wsdl4j Xmlbeans Xpp3 Xstream Xfire Derby Pluto Slf4j Oro Servicemix Spring Stax Tomcat Regexp Geronimo Open Source Packages Slide 8 7 Geronimo History and Progress August 2003 August 2004 August 2005 Apache Geronimo Project formed Milestone 3 released Geronimo passes J2EE Certification Test Suite Milestone 4 released Milestone 5 released, full J2EE certification June 2005 Oct 2005 May 2005 IBM acquires Gluecode Software Jan 2006 V1.0 Released June 2006 V1.1 Released In Plan V1.2 Released Slide 9 8 Why Geronimo? Slide 10 9 Geronimo Key Features J2EE 1.4 Certified Certification from Sun Microsystems in October last year Certified on the Sun JDK 1.4.2, works with JDK 1.5 without CORBA Option for Jetty or Tomcat as a Web Container Geronimo supports both Jetty as well as Tomcat. Separate package for download, available for Jetty and Tomcat. Database Support Comes with Apache Derby database Also supports JDBC enabled databases using a connector framework from TranQL Eclipse Web Tools Project support Integrated development environment for creating, deploying, and debugging directly against Geronimo Runtime customization Advanced micro-kernel architecture enables runtime customization to save systems resources and improve performance Allows for greater flexibility in creating different server personalities in the future Slide 11 10 Geronimo Key Features Centralized configuration and control Easy to use Web Console Small Footprint ~60MB Easy access - downloadable in minutes Easily embeddable in customer or ISV stack Liberal product license Apache open source (ASF) license Flexible and rapid deployment across multiple configurations Directory-based hot deployment Local and remote deployment through command line, console, and IDE Improved reliability for most commonly deployed applications Web-tier clustering Slide 12 11 What makes it Special? Slide 13 12 Simple Easiest platform to development on, obtain, use, and service. Easy to understand, invisible to the customer. Application centric. Easy to configure and change. Embedded documentation, service functions, user interfaces, etc. Default setting will get you running. Flexible Can plug-in function while that application server is running. J2EE function is just one of the personalities that can be plugged in. Geronimo becomes the platform that partners/customers think when building apps. Need to be the Eclipse of the tooling world. Reliable Appliance like reliability. Never fails. Startup and recycle time should be minimal. Customer never sees or cares about the server it is about the application. It is the intel chip for your applications. Administration is available and easy. Tomcat like reputation in open source. Geronimo Key Design Principles Slide 14 13 Enchilada of best of breed open source products GBean Architecture A pluggable framework Modular Architecture Tomcat has web features but it lacks other J2EE features Low memory and resource requirement Better web performance as compared to other open source application servers True open source community driven Strategic c ommitment from IBM, Covalent, Chariot and other big players Very Active community and dev/user list Optional Support from IBM Geronimo Technical Advantage Slide 15 14 Geronimo Still Why? Its all Free!!! Free Application Server Free Development, Debugging environment Free Management tools Free resources like database, messaging Free enterprise class documentation Free Sample applications Free educational material like articles, tutorials Slide 16 15 Where does it fit well? Slide 17 16 Where does this fit in the Enterprise? Apache Geronimo are excellent positioned as developer runtimes Integration into Eclipse helps to reduce software licenses Small footprint Single User Environments Low end SMB companies Quick, frictionless access to application server technology with no up-front costs Departmental Applications in Enterprises SMBs and departmental applications are a good target for this technology Not quite ready to run your 4,000 AppServer farm Advanced monitoring, integration with commercial / open source monitors not quite there yet. Slide 18 17 Today With Tomcat plus other stuff you do yourself 1.Your developers have a job to do write your killer app! 2.They chose Apache Tomcat because it helps them build apps quickly 3.But Tomcat doesnt have web services support, a security framework, or messaging; so your developers added those components and integrated them into the stack 4.Then your rock star developer wrote some app-specific service and integrated that into the stack 5.Turns out your app needs clustering too, so they throw that into the stack 6.but the web services component they got doesnt do clustering; luckily theres a newer version of that out now, so they get the new version and integrate THAT into the stack 7.Now your staff is maintaining your killer app, Apache Tomcat, the web services component, messaging, security, clustering, AND your custom components Apache Tomcat Your Killer App SOAP/Web Services (Axis) JMS Messaging Security / Authentication Web Tier Clustering Other services you need/write Custom Integration SOAP/Web Services (Axis) Developers maintain all this! build apps quickly? What happened to building apps quickly?? Slide 19 18 Now, just much easier (oh, and future- proof)! What if you could start with Tomcat Extend Tomcat with pre-integrated features & services you need most (read: someone other than you did the tedious work) Welcome to a little secret we like to call Tomcat+, use Apache Geronimo Its fully extensible, and its built on the innovative open-source Apache Geronimo kernel Plus all the same Apache Tomcat youre already using Plus the leading components you want to use pre-integrated and tested (and the ability to turn off what you arent using) Plus the support you need from IBM Your Killer App Apache Geronimo Apache Tomcat SOAP/Web Services (Axis) JMS Messaging Security / Authentication Web Tier Clustering Other Optional Plug-ins for EJBs, Transactions, etc. Geronimo Plug-In Kernel Fully Integrated & Extensible Kernel Services Slide 20 19 Geronimo Architecture and Components Slide 21 20 Geronimo Architecture - GBean The Geronimo framework provides a set of cooperating classes, called GBeans, for combining an arbitrary set of components into a system Everything in Geronimo framework is GBean Lightweight kernel provides central integration based on Inversion of control pattern. Manageable at runtime using JMX, JSR-77 Example: An EJB container Web Module A J2EE web module that contains servlets and uses EJB It depends on the web container and the EJB container When its GBean is started, the Geronimo kernel recognizes the dependency and starts the web container and the EJB container first It must be aware of every EJB in the system. It registers a dependency on any EJB GBean An EJBs are added to the system The Geronimo kernel recognizes the relationship and injects information from the EJB GBean into the EJB container GBean where it updates its configuration state. This action is called dependency injection. Slide 22 21 Kernel Core of the component model Provides central integration point Binds all the subsystems Based on Inversion of Control /Injection Pattern Geronimo Beans GBean is a manageable unit in the Geronimo framework To add new component to the server, you deploy the collection of GBeans A deployment plan is an XML document that provides server specific attribute values GBeans can hold states and can define relationships amongst them GBean life cycle is managed by the kernel. A java class can be wrapped to become a GBean GBeans are used to tie all the open source projects in Geronimo ( Derby, Tomcat, Axis, OPenEJB . ) GBean can notify events. Geronimo Kernel Slide 23 22 Geronimo components Specification required for J2EE certification Area of coverageProject or code used by Geronimo Servlets 2.4 JavaServer Pages (JSP) 2.0 Web tier container with support for JSPs and servlets Jetty and Tomcat Enterprise Java Beans (EJB) 2.1EJB containerOpenEJB Java Message Service (JMS) 1.1Messaging serviceActiveMQ Java Naming and Dire

Popular Tags:

Click here to load reader

Embed Size (px)