Frederic Daoud — «Stripes... and Java Web Development Is Fun Again

Total Page:16

File Type:pdf, Size:1020Kb

Frederic Daoud — «Stripes... and Java Web Development Is Fun Again What readers are saying about Stripes. and Java Web Development Is Fun Again This book is a must for anyone using Stripes, novice or pro. The author has done a great job of explaining the basics as well as the details of Stripes’ amazing features while showing how to build a real- life application. A novice developer can get up to speed fast, keeping with Stripes’ pragmatic approach to development: “It doesn’t have to be hard.” As the chapters progress, you will gain thorough knowledge of all the Stripes features. What really impressed me was the author’s dedication to giving you full examples of all the possible variations; you’re not left thinking, “If I just knew how to use that feature.” If you want to know how to use a Stripes feature, look it up in this book—it’s definitely covered. Stripes...and Java Web Development Is Fun Again will be on my work desk from now on. Jeppe Cramon Chief Architect, TigerTeam This book is really engaging. Since I’m familiar with Stripes, I enjoyed learning about many lesser-known nuances that Stripes provides— and those tasty little nuggets kept me reading. This book delivers a comprehensive understanding of the intellectual and technical aspects of Stripes. It has served to cement my appreciation for Stripes. Brandon Goodin Coauthor, iBATIS in Action At first I thought this book would be merely a welcome dead-tree ref- erence for our team of self-proclaimed veteran Stripes developers. But somewhere along the way Frederic Daoud managed to greatly impress and humble me with his experience and in-depth knowledge of Stripes. With its clear and well-structured chapters, the content is thorough and fast-moving. The text flows naturally from topic to topic and from chapter to chapter. The code is good, clear, and readable. The tone is personal and light, like the author is casually chatting with us, the readers. This was very appealing to me, having read truckloads of dry, almost scientific comp-sci books. And even I, as a long-time Stripes user, learned some things I didn’t know. Jasper Fontaine Lead Developer, Codegap As a Stripes committer, I learned a good bit from reading this book. For example, the explanation of how checkboxes are handled is very informative. In fact, I might print it out and hang it above my desk! Even seasoned Stripes developers get confused by that sometimes. Thanks, Frederic. Ben Gunter Committer, The Stripes Framework I changed several of my practices after reading this book. The book contains some really great ideas, and I really was surprised I learned so much from it! Aaron Porter Committer, The Stripes Framework This is a valuable resource to both newcomers and experienced Stripes developers. Although Stripes is very easy to use, this is the book I wish I had read when I got started! Having used Stripes for more than a year, I still found many great tips that will help me improve and simplify my code. Chris Herron Freelance Java Developer Stripes . and Java Web Development Is Fun Again Frederic Daoud with Tim Fennell The Pragmatic Bookshelf Raleigh, North Carolina Dallas, Texas Many of the designations used by manufacturers and sellers to distinguish their prod- ucts are claimed as trademarks. Where those designations appear in this book, and The Pragmatic Programmers, LLC was aware of a trademark claim, the designations have been printed in initial capital letters or in all capitals. The Pragmatic Starter Kit, The Pragmatic Programmer, Pragmatic Programming, Pragmatic Bookshelf and the linking g device are trademarks of The Pragmatic Programmers, LLC. Every precaution was taken in the preparation of this book. However, the publisher assumes no responsibility for errors or omissions, or for damages that may result from the use of information (including program listings) contained herein. Our Pragmatic courses, workshops, and other products can help you and your team create better software and have more fun. For more information, as well as the latest Pragmatic titles, please visit us at http://www.pragprog.com Copyright © 2008 Frederic Daoud. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmit- ted, in any form, or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior consent of the publisher. Printed in the United States of America. ISBN-10: 1-934356-21-2 ISBN-13: 978-1-934356-21-0 Printed on acid-free paper. P1.0 printing, October 2008 Version: 2009-4-20 To Nadia. You are the love of my life and the woman of my dreams. Contents 1 Introduction 13 1.1 What Can Stripes Do for You? ............... 15 1.2 Getting the Most Out of This Book ............ 16 1.3 Acknowledgments ...................... 19 I Learning the Controls 21 2 Stripes 101: Getting Started 22 2.1 Setting Up a Stripes Application ............. 22 2.2 Hello, Stripes! ........................ 27 2.3 Binding to Action Beans .................. 36 2.4 Wrapping Up ......................... 39 3 The Core: Action Beans and JSPs 40 3.1 Let’s CRUD .......................... 41 3.2 Writing a Base for a Stripes Application ......... 43 3.3 Displaying Data with Action Beans and JSPs . 46 3.4 Parameterized Links .................... 52 3.5 Displaying Messages to the User ............. 57 3.6 Creating Forms ....................... 60 3.7 Use a Forward or a Redirect? ............... 67 4 Validating User Input 70 4.1 Stripes Validation Concepts ................ 70 4.2 Using Built-in Validations ................. 76 4.3 When You Need More: Custom Validation Methods . 88 5 There’s More to Life Than Strings: Working with Data Types 98 5.1 Type Conversion Concepts ................. 98 5.2 Built-in Type Converters .................. 100 5.3 Formatting .......................... 107 5.4 Working with Custom Data Types ............. 110 CONTENTS 10 6 Customizing Stripes Messages 121 6.1 Customizing Information Messages ............ 121 6.2 Customizing Error Messages ............... 124 6.3 Changing the Text of Error Messages .......... 131 6.4 Creating Messages for Custom Errors .......... 138 7 Reusable Layouts 141 7.1 Basic Stripes Layout Concepts .............. 142 7.2 Putting Layouts to Work: Decorators ........... 146 7.3 Using View Helpers ..................... 156 7.4 If You’re Used to Tiles or SiteMesh ............ 161 II Revving Up 165 8 Adding Form Input Controls 166 8.1 Checkboxes ......................... 167 8.2 Select Boxes ......................... 170 8.3 Image Buttons and Text Areas .............. 174 8.4 Using Cross-page Controls ................. 178 8.5 Radio Buttons ........................ 180 9 Advanced Features Made Easy 183 9.1 Managing Session Data ................... 183 9.2 Altering Form Values in the Action Bean ........ 188 9.3 Using Indexed Properties .................. 191 9.4 Working with Files ..................... 195 10 Registering and Logging In 203 10.1 The Registration Page .................... 203 10.2 Adding Password and Confirm Password Boxes . 205 10.3 Dealing with a Bunch of Required Fields ........ 207 10.4 Using Validation Metadata ................. 208 10.5 Creating a Wizard ...................... 210 10.6 The Login Page ........................ 216 Report erratum this copy is (P1.0 printing, October 2008) CONTENTS 11 11 Parlez-Vous Français? Making It Multilingual 218 11.1 Offering an Application in Multiple Languages . 218 11.2 Translating the Text of an Application .......... 221 11.3 Switching Between Languages ............... 233 11.4 Using Different Resource Bundles ............ 236 III In High Gear 244 12 Completing the Stack 245 12.1 Persistence with Stripersist, JPA, and Hibernate . 245 12.2 Dependency Injection with Spring ............ 261 12.3 Automated Testing with Mock Objects .......... 267 13 Tapping into Stripes 277 13.1 Houston: Exception Handling ............... 277 13.2 Customizing URL Bindings ................ 283 13.3 Everything Is Possible: Interceptors ........... 294 13.4 Interceptor Example: Adding Support for Guice . 299 13.5 Another Interceptor Example: Ensuring Login . 302 13.6 The Stripes Life Cycle in More Detail ........... 304 14 It’s a Dangerous World: Adding Security 307 14.1 Controlling Parameter Binding .............. 307 14.2 Preventing Cross-site Scripting Attacks ......... 311 14.3 Using Encryption ...................... 313 14.4 Ensuring the User Is Logged In .............. 315 14.5 Showing Users Their Data, Not Other People’s . 319 14.6 Using Roles .......................... 321 15 Using JavaScript and Ajax 336 15.1 Using JavaScriptResolution ................ 337 15.2 Working with Ajax Requests and Responses . 341 15.3 Ajaxifying the Webmail Application ............ 351 15.4 Adding Client-Side Validation ............... 360 A Configuration Reference 369 A.1 Required Configuration ................... 369 A.2 Extensions .......................... 370 A.3 Settings ............................ 376 A.4 Interceptors ......................... 378 Report erratum this copy is (P1.0 printing, October 2008) CONTENTS 12 B Resources 379 B.1 Stripes Online Resources ................. 379 B.2 Stripes Dependencies .................... 379 B.3 Third-Party Frameworks, Libraries, and Tools . 380 B.4 Development Tools ..................... 381 B.5 Bibliography ......................... 381 Index 382 Report erratum this copy is (P1.0 printing, October 2008) Everything should be made as simple as possible, but not one bit simpler. Albert Einstein Chapter 1 Introduction Welcome to Stripes! Stripes is a framework that makes developing Java web applications easier.
Recommended publications
  • Pragmatic Guide to Javascript
    www.allitebooks.com What Readers Are Saying About Pragmatic Guide to J a v a S c r i p t I wish I had o w n e d this book when I first started out doing JavaScript! Prag- matic Guide to J a v a S c r i p t will take you a big step ahead in programming real-world JavaScript by showing you what is going on behind the scenes in popular JavaScript libraries and giving you no-nonsense advice and back- ground information on how to do the right thing. W i t h the condensed years of e x p e r i e n c e of one of the best JavaScript developers around, it’s a must- read with great reference to e v e r y d a y JavaScript tasks. Thomas Fuchs Creator of the script.aculo.us framework An impressive collection of v e r y practical tips and tricks for getting the most out of JavaScript in today’s browsers, with topics ranging from fundamen- tals such as form v a l i d a t i o n and JSON handling to application e x a m p l e s such as mashups and geolocation. I highly recommend this book for anyone wanting to be more productive with JavaScript in their web applications. Dylan Schiemann CEO at SitePen, cofounder of the Dojo T o o l k i t There are a number of JavaScript books on the market today, b u t most of them tend to focus on the new or inexperienced JavaScript programmer.
    [Show full text]
  • Jquery: Novice to Ninja
    SECOND Pantone: EDITION CMYK: JQUERYGrey scale PANTONE Orange 021 C PANTONE 2955 C NOVICE TO NCMYK IO, 53, N100, 0 JCMYKA 100, 45, 0, 37 NEW KICKS ANDBlack 50% TRICKSBlack 100% BY EARLE CASTLEDINE & CRAIG SHARKIE SIMPLE, FAST, POWERFUL — JAVASCRIPT THE WAY IT SHOULD BE Summary of Contents Preface . xvii 1. Falling in Love with jQuery . 1 2. Selecting, Decorating, and Enhancing . 19 3. Animating, Scrolling, and Resizing . 53 4. Images and Slideshows . 93 5. Menus, Tabs, Tooltips, and Panels . 139 6. Construction, Ajax, and Interactivity . 187 7. Forms, Controls, and Dialogs . 239 8. Lists, Trees, and Tables . 305 9. Plugins, Themes, and Advanced Topics . 347 A. Reference Material . 409 B. JavaScript Tidbits . 419 C. Plugin Helpers . 425 Index . 431 JQUERY: NOVICE TO NINJA BY EARLE CASTLEDINE & CRAIG SHARKIE wnload from Wow! eBook <www.wowebook.com> o D iv jQuery: Novice to Ninja by Earle Castledine and Craig Sharkie Copyright © 2012 SitePoint Pty. Ltd. Product Manager: Simon Mackie Assistant Technical Editor: Diana MacDonald Technical Editor: Tom Museth Indexer: Michele Combes Expert Reviewer: Jörn Zaefferer Cover Designer: Alex Walker Editor: Kelly Steele Printing History: Latest Update: February 2012 First Edition: February 2010 Second Edition: February 2012 Notice of Rights All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means without the prior written permission of the publisher, except in the case of brief quotations included in critical articles or reviews. Notice of Liability The authors and publisher have made every effort to ensure the accuracy of the information herein.
    [Show full text]
  • The Definitive Guide to Grails
    apress.com Graeme Rocher, Jeff Scott Brown The Definitive Guide to Grails This will be the first and only definitive book on the agile open source lightweight Grails (“Groovy on Rails” analogous to Ruby on Rails) Framework 1.0 release Written by the open source Grails project founder and lead, Graeme Rocher Emerging growth area with support from key open source lightweight projects like Spring, Hibernate, Wicket and more The rise of Ruby on Rails has signified a huge shift in how we build web applications today; it is a fantastic framework with a growing community. There is, however, space for another such framework that integrates seamlessly with Java. Thousands of companies have invested in Java, and these same companies are losing out on the benefits of a Rails–like framework. Enter Grails. Grails is not just a Rails clone. It aims to provide a Rails–like environment that is more familiar to Java developers and employs idioms that Java developers are comfortable 2nd ed., 648 p. using, making the adjustment in mentality to a dynamic framework less of a jump. The concepts within Grails, like interceptors, tag libs, and Groovy Server Pages (GSP), make those in Printed book the Java community feel right at home. Grails' foundation is on solid open source technologies Softcover such as Spring, Hibernate, and SiteMesh, which gives it even more potential in the Java space: 39,99 € | £36.99 | $46.99 Spring provides powerful inversion of control and MVC, Hibernate brings a stable, mature object [1]42,79 € (D) | 43,99 € (A) | CHF relational mapping technology with the ability to integrate with legacy systems, and SiteMesh 53,55 handles flexible layout control and page decoration.
    [Show full text]
  • A Bad Case of Stripes
    A Bad Case of Stripes A Bad Case of Stripes Author: David Shannon Publisher: Scholastic Paperbacks (2004) Binding: Paperback, 32 pages Item Call Number: E SHANN Camilla Cream loves lima beans, but she never eats them. Why? Because the other kids in her school don't like them. And Camilla is very, very worried about what other people think of her. In fact, she’s so worried that she's about to break out in a bad case of stripes! Questions to talk about with your child: Why did Camilla break out in stripes (and other patterns?) What did you notice about the patterns that break out on Camilla? Do they have anything to do with what’s happening around her? Look at each of the pictures. Was there anything about Camilla that stayed the same each time she changed? What made Camilla finally turn back into herself? Did Camilla learn anything from having a bad case of stripes? Look at the last page. Was there anything different about the way Camilla looks? Fun things to do together: David Shannon always hides a picture of his white terrier Fergus somewhere in each of his books. Look for the picture of Fergus in this book. Camilla loves lima beans. Have lima beans for lunch or dinner one day. Draw a picture of yourself with stripes, polka dots or some other pattern. Check out a book about patterns, for example, Pattern Bugs by Trudi Harris or Patterns at the Museum by Tracey Steffora. Recognizing and completing simple patterns is an important kindergarten readiness skill.
    [Show full text]
  • Pragmatic Bookshelf Groovy Recipes.Pdf
    What readers are saying about Groovy Recipes This is the go-to guide for turning Groovy into every Java developer’s perfect utility knife. Whether you need to quickly parse an Atom feed, serve up an Excel spreadsheet from your Grails app, or create a tar- ball on the fly, this book will show you how. In true Groovy style, Scott does away with all unnecessary ceremony and gets right down to business. In almost every section, the very first thing you see is code— the recipe for solving the problem at hand—and if you want to stick around for the clear and informative explanation, well, that’s strictly optional. Jason Rudolph Author, Getting Started with Grails Groovy Recipes is the book that I want to have in reach whenever I work in my Groovy bakery. Nothing gets you faster up to speed than having well-thought-out recipes for your everyday tasks. Dierk König Canoo Engineering AG The format of this book is ideal for rapidly obtaining crucial informa- tion just when you need it. An agile text for agile development! Joe McTee Software Engineer, JEKLsoft Groovy is on my radar as one of the next big things in Java, and this book gets you up to speed quickly with lots of great code examples. David Geary Author, Clarity Training, Inc. Scott does a fantastic job of presenting many little nuggets of “groovi- ness” here in a way that is easy to read and follow. There is plenty here for Groovy newcomers and veterans alike. Thanks, Scott! Jeff Brown Member of the Groovy and Grails Core Development Teams Adding Groovy to Java is like adding rocket fuel to your SUV.
    [Show full text]
  • 2Nd USENIX Conference on Web Application Development (Webapps ’11)
    conference proceedings Proceedings of the 2nd USENIX Conference Application on Web Development 2nd USENIX Conference on Web Application Development (WebApps ’11) Portland, OR, USA Portland, OR, USA June 15–16, 2011 Sponsored by June 15–16, 2011 © 2011 by The USENIX Association All Rights Reserved This volume is published as a collective work. Rights to individual papers remain with the author or the author’s employer. Permission is granted for the noncommercial reproduction of the complete work for educational or research purposes. Permission is granted to print, primarily for one person’s exclusive use, a single copy of these Proceedings. USENIX acknowledges all trademarks herein. ISBN 978-931971-86-7 USENIX Association Proceedings of the 2nd USENIX Conference on Web Application Development June 15–16, 2011 Portland, OR, USA Conference Organizers Program Chair Armando Fox, University of California, Berkeley Program Committee Adam Barth, Google Inc. Abdur Chowdhury, Twitter Jon Howell, Microsoft Research Collin Jackson, Carnegie Mellon University Bobby Johnson, Facebook Emre Kıcıman, Microsoft Research Michael E. Maximilien, IBM Research Owen O’Malley, Yahoo! Research John Ousterhout, Stanford University Swami Sivasubramanian, Amazon Web Services Geoffrey M. Voelker, University of California, San Diego Nickolai Zeldovich, Massachusetts Institute of Technology The USENIX Association Staff WebApps ’11: 2nd USENIX Conference on Web Application Development June 15–16, 2011 Portland, OR, USA Message from the Program Chair . v Wednesday, June 15 10:30–Noon GuardRails: A Data-Centric Web Application Security Framework . 1 Jonathan Burket, Patrick Mutchler, Michael Weaver, Muzzammil Zaveri, and David Evans, University of Virginia PHP Aspis: Using Partial Taint Tracking to Protect Against Injection Attacks .
    [Show full text]
  • Preparing for Banner Powered by Ellucian XE
    Preparing for Banner powered by Ellucian XE Mark Hoye, Services Portfolio Consultant Ellucian September 25, 2015 Introduction • This session is about moving forward with Banner powered by Ellucian XE. • It explains Ellucian XE, how it adds value to your investment in Banner, and how you can take advantage of its power today. © 2015 ELLUCIAN. ALL RIGHTS RSERVED Agenda 1 Ellucian XE 2 Banner powered by Ellucian XE 3 Preparing for Banner powered by Ellucian XE 4 Summary and Questions © 2015 ELLUCIAN. ALL RIGHTS RSERVED Ellucian XE Ellucian: Future-proof Technology Evolutionary approach Extensible ecosystem strategy Global and mobile-first technology strategy Published roadmaps and product plans Investment in our products and our processes protects our customers’ investments © 2015 ELLUCIAN. ALL RIGHTS RSERVED The XE Strategy and Design Principles Mobile Self-Service Admin UI Cloud XE Design Principles Usability Features/Func7on Cloud Readiness/Scalability Configuraon over Customizaon Extensibility APIs/Integraon Single Global Product © 2015 ELLUCIAN. ALL RIGHTS RSERVED Banner powered by Ellucian XE Applications Leveraging XE Strategy Banner Applications Integrated Applications • Catalog & Schedule • Ellucian eTranscripts • Faculty Grade Entry • Ellucian Mobile • Attendance Tracking • Ellucian Elevate • Event Management • Ellucian Pilot (Student Success) • Advising Student Profile • Ellucian Portal for Banner • Student Registration • Intelligent Learning Platform (ILP) • Employee Profile • APIs (Services) • Academic history • Student • Communication Management © 2015 ELLUCIAN. ALL RIGHTS RSERVED ReSTful services and the Higher Education Data Model • Expose “Resources” - important concepts and objects • Each resource is uniquely Resources (Nouns) “addressable” • Provide “representations” of those resources Verbs • Provide a consistent interface (Get, Post, Put, Delete) based upon standard HTTP methods • Interaction with the API is stateless Output (XML, JSON) © 2015 ELLUCIAN.
    [Show full text]
  • Oralcard: Web Information System for Oral Health
    Universidade de Aveiro Departamento de Electrónica, Telecomunicações e 2011 Informática José Manuel OralCard: Sistema de Informação Web para a Saúde Santos Melo Oral OralCard: Web Information System for Oral Health Universidade de Aveiro Departamento de Electrónica, Telecomunicações e 2011 Informática José Manuel OralCard: Web Information System for Oral Health Santos Melo OralCard: Sistema de Informação Web para a Saúde Oral Dissertação apresentada à Universidade de Aveiro para cumprimento dos requisitos necessários à obtenção do grau de Mestre em Engenharia de Computadores e Telemática (M.I.E.C.T.), realizada sob a orientação científica do Professor Doutor José Luís Guimarães Oliveira, Professor Associado do Departamento de Electrónica, Telecomunicações e Informática da Universidade de Aveiro. Dedico este trabalho à minha família. o júri presidente Professor Doutor Armando José Formoso de Pinho Professor Associado com Agregação do Departamento de Electrónica, Telecomunicações e Informática da Universidade de Aveiro vogais Professor Doutor António Manuel de Jesus Pereira Professor Coordenador do Departamento de Engenharia Informática da Escola Superior de Tecnologia e Gestão do Instituto Politécnico de Leiria Professor Doutor José Luís Guimarães Oliveira Professor Associado do Departamento de Electrónica, Telecomunicações e Informática da Universidade de Aveiro agradecimentos Um obrigado especial ao Professor José Luís Oliveira pela minha integração no grupo de trabalho de Bioinformática, no Instituto de Engenharia Electrónica e Telemática de Aveiro (IEETA). Um obrigado especial ao Pedro Lopes e ao Joel P. Arrais, que me ajudaram com grande dedicação no desenvolvimento deste trabalho. Um obrigado ao Nuno Rosa pela ajuda na parte biológica e científica do trabalho. Este projecto não estaria concluído sem reconhecer a ajuda prestada pelos meus pais e irmãs, não só na dissertação como em todo o percurso académico na Universidade de Aveiro.
    [Show full text]
  • The Definitive Guide to Grails
    G. Rocher, J.S. Brown The Definitive Guide to Grails ▶ This will be the first and only definitive book on the agile open source lightweight Grails (“Groovy on Rails” analogous to Ruby on Rails) Framework 1.0 release ▶ Written by the open source Grails project founder and lead, Graeme Rocher ▶ Emerging growth area with support from key open source lightweight projects like Spring, Hibernate, Wicket and more The rise of Ruby on Rails has signified a huge shift in how we build web applications today; it is a fantastic framework with a growing community. There is, however, space for another such framework that integrates seamlessly with Java. Thousands of companies have invested in Java, and these same companies are losing out on the benefits of a Rails– 2nd ed., 648 p. like framework. Enter Grails. A product of Apress Grails is not just a Rails clone. It aims to provide a Rails–like environment that is more familiar to Java developers and employs idioms that Java developers are comfortable Printed book using, making the adjustment in mentality to a dynamic framework less of a jump. The concepts within Grails, like interceptors, tag libs, and Groovy Server Pages (GSP), make Softcover those in the Java community feel right at home. ▶ 39,99 € | £36.99 | $46.99 ▶ *42,79 € (D) | 43,99 € (A) | CHF 53.55 Grails' foundation is on solid open source technologies such as Spring, Hibernate, and SiteMesh, which gives it even more potential in the Java space: Spring provides powerful eBook inversion of control and MVC, Hibernate brings a stable, mature object relational mapping technology with the ability to integrate with legacy systems, and SiteMesh handles Available from your bookstore or flexible layout control and page decoration.
    [Show full text]
  • Learning of Web Application Frameworks Based on Concerns, Micro-Learning and Examples
    Learning of Web Application Frameworks based on Concerns, Micro-Learning and Examples Daniel Correa Botero Universidad Nacional de Colombia Facultad de minas, Departamento de ciencias de la computación y la decisión Medellín, Colombia 2014 Learning of Web Application Frameworks based on Concerns, Micro-Learning and Examples Daniel Correa Botero Submitted in partial fulfillment of the requirements for the degree of: Magister en Ingeniería de sistemas Thesis Director: Ph.D. Fernando Arango Isaza Research Area: Software Framework Understanding Research Group: Grupo de ingeniería de software Universidad Nacional de Colombia Facultad de minas, Departamento de ciencias de la computación y la decisión Medellín, Colombia 2014 …To my mother, Mercedes …To my future wife, Juliana Acknowledgments This master thesis would not have been possible without the support of many people. Many thanks to my thesis director, Ph.D. Fernando Arango Isaza, who spent a lot of time: making revisions, creating ideas and helping me with this project. Many thanks to Ph.D. Carlos Mario Jaramillo Zapata, who gave us excellent support: helping us to translate some papers and giving us ideas and corrections. Many thanks to Ph.D. Gloria Lucia Giraldo, who gave us support and allowed creating some experiments with her students. Thanks to Ph.D. Carlos Jaime Franco, who gave us support during the entire project to present some ideas in other countries. Thanks to Above & Beyond and BT your music is a wonderful source of inspiration. Thanks to Sebastián Gomez my friend who give me support. Thanks to Universidad Nacional de Colombia and Colciencias which provided me with the financial means to complete this project and made possible to present some chapters of this project in some conferences around the world.
    [Show full text]
  • Evaluating Presentation Layer Development Frameworks for EJB Applications in J2EE Architecture
    International Conference on Computer Science and Information Technology (ICCSIT'2011) Pattaya Dec. 2011 Evaluating Presentation Layer Development Frameworks for EJB Applications in J2EE Architecture Ohm Samkoses, Dipl. -Inform. Matthias Vianden, Prof. Dr. rer. nat. Horst Lichter gathering and analysis, multiple rounds of frameworks Abstract—For medium to large organizations, information selection with different criteria, prototype implementations, systems play an important role for information storage and retrieval. and results evaluation. The chosen frameworks for prototype They are used to support business processes such as decision-making. development should fulfill most of the requirement and the In information systems, huge amountof data needs to be manipulated prototypes implementation should reflect the solution for each and visualized. One way to handle this complexity is to use Enterprise JavaBeans (EJB) [1] in a J2EE architecture. Since EJB has requirement clearly, and must be able to work with the not been designed to work in the Presentation Layer, suitable existing system's environment: the back-end is managed by Presentation Layer Development frameworks are introduced to EJB 3.0, and IBM Websphere Application Server 7.0. enhanced thepresentation layer of the information systems. The MeDIC (Metric Definition Integration Calculation) system and XAM II. TASKS / STEPS (eXam Assignment and Management) system [2] are typical representatives of such information system. A. First frameworks selection Nowadays, many frameworks, such as Java Server Faces (JSF), First step was to narrow-down the scope of the focused Wicket, and Tapestry, exist to cover the Presentation Layer. They framework based mainly on framework popularity. Other provide a variety of features and architecture enhancements.
    [Show full text]
  • Automated Classification of RNA 3D Motifs and the RNA 3D Motif Atlas
    Downloaded from rnajournal.cshlp.org on October 8, 2021 - Published by Cold Spring Harbor Laboratory Press BIOINFORMATICS Automated classification of RNA 3D motifs and the RNA 3D Motif Atlas ANTON I. PETROV,1 CRAIG L. ZIRBEL,2 and NEOCLES B. LEONTIS1,3 1Department of Chemistry, 2Department of Mathematics and Statistics, Bowling Green State University, Bowling Green, Ohio 43403, USA ABSTRACT The analysis of atomic-resolution RNA three-dimensional (3D) structures reveals that many internal and hairpin loops are modular, recurrent, and structured by conserved non-Watson–Crick base pairs. Structurally similar loops define RNA 3D motifs that are conserved in homologous RNA molecules, but can also occur at nonhomologous sites in diverse RNAs, and which often vary in sequence. To further our understanding of RNA motif structure and sequence variability and to provide a useful resource for structure modeling and prediction, we present a new method for automated classification of internal and hairpin loop RNA 3D motifs and a new online database called the RNA 3D Motif Atlas. To classify the motif instances, a representative set of internal and hairpin loops is automatically extracted from a nonredundant list of RNA-containing PDB files. Their structures are compared geometrically, all-against-all, using the FR3D program suite. The loops are clustered into motif groups, taking into account geometric similarity and structural annotations and making allowance for a variable number of bulged bases. The automated procedure that we have implemented identifies all hairpin and internal loop motifs previously described in the literature. All motif instances and motif groups are assigned unique and stable identifiers and are made available in the RNA 3D Motif Atlas (http://rna.bgsu.edu/motifs), which is automatically updated every four weeks.
    [Show full text]