KEMBAR78
WebBee rapid web app development teck stack | PPTX
WebBee rapid web application
development full lightweight
tech stack



Dmitriy Rogatkin
January 2012
Tech stack content

     TJWS light weight application server supporting servlet
      specification 3.0 and JSP specification 2.2
     7Bee XML based scripting tool for building, installation and
      testing tasks
     Aldan 3 multipurpose light weight application development
      framework including
            •     MVC and front controller servlet framework
            •     Template engine
            •     Light weight Java annotation driven DO
            •     Simplified SOA container with built in common basic services
            •     General purpose utilities
            •     Light weight Ajax framework

     WebBee rapid web application development building blocks on
      top of Aldan 3 including:
            •     App portal, forms, reports, grids, chat, attachments, tree and other

2    © 2011 Progress Software Corporation. All rights reserved.
Architecture of web framework
                                                                  Page model
    ..
    Response
                                                                                 Front              Request
                                 View Generator
                                                                               controller
                                                                                    Cache of page services
    JSP Views                                                      View templates
                                              Text resources




                                                                                                Model data


                                                                 Cached content

          Registry                                Logger           Resource       Persistence
                                                                   Manager        Manager
    SOA container                                 Config
3   © 2011 Progress Software Corporation. All rights reserved.
Building block page service diagram


          Customized per use




    Customized per building block



                     Custom per app




                  Base page service



4     © 2011 Progress Software Corporation. All rights reserved.
Base Page service in deep

     Configurable base web application behavior
     Access control
     Base Ajax handlers
     Pattern method for generation page model, controller, and data
      binding




5    © 2011 Progress Software Corporation. All rights reserved.
Web technologies supporting highlights

     Flexible views support as JSP as template based like Velocity
      and also built-in powerful template engine
     View implementation as composition of common and
      model/controller specific templates
     Annotation declared autosuggest and cascading support
     Open architecture to use any Ajax library (in addition to built-in
      light weight Ajax library)
     Comet (web push) technology is part of framework with
      utilization of servlet specification 3.0 and future websockets
      (covered by separate presentation)
     Multi faced UI, mobile browsers aware
     Pre built common web application building blocks requiring only
      annotation based configuration in most cases
     Codebase is Android compatible can be compiled and run

6    © 2011 Progress Software Corporation. All rights reserved.
Application creation methodology

     Identify data model
     Represent application UI mapped in WebBee building blocks
     Code data model in JDO with storage annotations
     Extend UI building blocks adding data model connection
     Add presentation annotations to data model
     Create view templates
     Code Ajax handlers (server side) and server push handlers
      (client side)
     Create background services
     Adjust application model for common behavior and background
      services
     Refresh config files



7    © 2011 Progress Software Corporation. All rights reserved.
Circle of use and competition

     Extremely light weight with foot print varies from 200K to 2MB
      including app server, frameworks and application (JDK is extra)
     Mobile and embedded deployment friendly
     Android version is available with J2EE war based deployment
     QA, and Installation tool
     Offline applications
     Small to medium size web site
     Competitors:
            •     Spring MVC
            •     Tapestry
            •     Stripes
            •     JSF
            •     Struts 2
            •     Wicket
            •     Play!
8    © 2011 Progress Software Corporation. All rights reserved.
Using 3rd party products

     TJWS
            • JSP engines GNU and Jasper
     7Bee
            • Jdepend by Mike Clark
            • JSch by Jcraft
     Aldan 3
            • None
     WebBee
            • NicEdit by Brian Kirchoff
            • HTML encoder (public domain)
            • Tigra Calendar (public domain)




9    © 2011 Progress Software Corporation. All rights reserved.
Comparison with other web app frameworks

                                             Spring                Tapestry     WebBee
     License                                 Apache, GPL2          Apache       BSD
     Target Audience                         Enterprise            Enterprise   Mobile
     Scaffolding                             Yes                   ?            Yes
     Development                             Yes                   ?            Yes
     principles
     Design pattern                          Yes                   ?            Yes
     Multilingual                            Yes                   ?            Yes
     content
     View                                    Velocity, JSP         HTMLT        HTMLT, JSP
     Security                                Container             Container    Built-in
     JDO                                     Hibernate             Hibernate    Built-in
     Ajax                                    DOJO                  DOJO         Built-in
     Pre-built solutions                     No                    No           20+
     Configuration                           XML                   XML          Annotations

10
     Footprint                               5.3M                  4.5M         320K
      © 2011 Progress Software Corporation. All rights reserved.
Code and application demonstration

      Ipicurei
      WebFolder
      TravelsPal
      Atjeews (Android)




11    © 2011 Progress Software Corporation. All rights reserved.
WebBee rapid web app development teck stack

WebBee rapid web app development teck stack

  • 1.
    WebBee rapid webapplication development full lightweight tech stack Dmitriy Rogatkin January 2012
  • 2.
    Tech stack content  TJWS light weight application server supporting servlet specification 3.0 and JSP specification 2.2  7Bee XML based scripting tool for building, installation and testing tasks  Aldan 3 multipurpose light weight application development framework including • MVC and front controller servlet framework • Template engine • Light weight Java annotation driven DO • Simplified SOA container with built in common basic services • General purpose utilities • Light weight Ajax framework  WebBee rapid web application development building blocks on top of Aldan 3 including: • App portal, forms, reports, grids, chat, attachments, tree and other 2 © 2011 Progress Software Corporation. All rights reserved.
  • 3.
    Architecture of webframework Page model .. Response Front Request View Generator controller Cache of page services JSP Views View templates Text resources Model data Cached content Registry Logger Resource Persistence Manager Manager SOA container Config 3 © 2011 Progress Software Corporation. All rights reserved.
  • 4.
    Building block pageservice diagram Customized per use Customized per building block Custom per app Base page service 4 © 2011 Progress Software Corporation. All rights reserved.
  • 5.
    Base Page servicein deep  Configurable base web application behavior  Access control  Base Ajax handlers  Pattern method for generation page model, controller, and data binding 5 © 2011 Progress Software Corporation. All rights reserved.
  • 6.
    Web technologies supportinghighlights  Flexible views support as JSP as template based like Velocity and also built-in powerful template engine  View implementation as composition of common and model/controller specific templates  Annotation declared autosuggest and cascading support  Open architecture to use any Ajax library (in addition to built-in light weight Ajax library)  Comet (web push) technology is part of framework with utilization of servlet specification 3.0 and future websockets (covered by separate presentation)  Multi faced UI, mobile browsers aware  Pre built common web application building blocks requiring only annotation based configuration in most cases  Codebase is Android compatible can be compiled and run 6 © 2011 Progress Software Corporation. All rights reserved.
  • 7.
    Application creation methodology  Identify data model  Represent application UI mapped in WebBee building blocks  Code data model in JDO with storage annotations  Extend UI building blocks adding data model connection  Add presentation annotations to data model  Create view templates  Code Ajax handlers (server side) and server push handlers (client side)  Create background services  Adjust application model for common behavior and background services  Refresh config files 7 © 2011 Progress Software Corporation. All rights reserved.
  • 8.
    Circle of useand competition  Extremely light weight with foot print varies from 200K to 2MB including app server, frameworks and application (JDK is extra)  Mobile and embedded deployment friendly  Android version is available with J2EE war based deployment  QA, and Installation tool  Offline applications  Small to medium size web site  Competitors: • Spring MVC • Tapestry • Stripes • JSF • Struts 2 • Wicket • Play! 8 © 2011 Progress Software Corporation. All rights reserved.
  • 9.
    Using 3rd partyproducts  TJWS • JSP engines GNU and Jasper  7Bee • Jdepend by Mike Clark • JSch by Jcraft  Aldan 3 • None  WebBee • NicEdit by Brian Kirchoff • HTML encoder (public domain) • Tigra Calendar (public domain) 9 © 2011 Progress Software Corporation. All rights reserved.
  • 10.
    Comparison with otherweb app frameworks Spring Tapestry WebBee License Apache, GPL2 Apache BSD Target Audience Enterprise Enterprise Mobile Scaffolding Yes ? Yes Development Yes ? Yes principles Design pattern Yes ? Yes Multilingual Yes ? Yes content View Velocity, JSP HTMLT HTMLT, JSP Security Container Container Built-in JDO Hibernate Hibernate Built-in Ajax DOJO DOJO Built-in Pre-built solutions No No 20+ Configuration XML XML Annotations 10 Footprint 5.3M 4.5M 320K © 2011 Progress Software Corporation. All rights reserved.
  • 11.
    Code and applicationdemonstration  Ipicurei  WebFolder  TravelsPal  Atjeews (Android) 11 © 2011 Progress Software Corporation. All rights reserved.