• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
FFPOJO Framework Overview
 

FFPOJO Framework Overview

on

  • 855 views

This presentation is an overview about FFPOJO Project, a pojo based text file parser library for Java applications.

This presentation is an overview about FFPOJO Project, a pojo based text file parser library for Java applications.

Statistics

Views

Total Views
855
Views on SlideShare
847
Embed Views
8

Actions

Likes
0
Downloads
2
Comments
0

2 Embeds 8

http://www.linkedin.com 6
https://www.linkedin.com 2

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    FFPOJO Framework Overview FFPOJO Framework Overview Presentation Transcript

    • Gilberto Augusto Holms
      gibaholms85@gmail.com
      @gibaholms
      http://gibaholms.wordpress.com/
      FFPOJO Framework Overview
      Revision: 01
    • About me...
      Gilberto Augusto Holms
      • Java and SOA Architect
      • Expertise: Java, EAI, SOA, BPEL, BPM, Oracle FusionMiddleware
      • Interests: OpenSource, Artificial Intelligence, Innovation
      • Twitter: @gibaholms
      • Blog: http://gibaholms.wordpress.com/
      • SCJA, SCJP, SCWCD, SCBCD, SCDJWS, OCE WLP 10g
    • Text Files and Tabular Information
      • Mostcommonandoldway for informationexchange
      • Platformindependent
      • ASCII Format
      • Fastaccess to data (no types, protocolsor envelopes)
      • Simple to create
      • Simple to consume
      • Lightweight
      • Widelyusedtoday
    • CommonTroubles
      • A lotofparsingcode, less business code
      • Hard to maintain
      • Littlechange to layout  big change to code
      • Encouragesprocedural approach
      • Code replication
      • Lackofstandards
      • Easy to makemistakes
      • Hard to test
      • A big mess
    • FFPOJO Framework
      • Abstraction
      • Standardization
      • Simplicity
      • Cleanliness
      • Maintainability
      • ObjectOriented approach
      • Additionalfeatures
    • FFPOJO Framework – AdditionalFeatures
      • Supportsdelimited, positionalandmixed layout files
      • Annotations and/or XML mappings, with overridding
      • Metadatainformationcaching (performance)
      • Manyabstractionlevels (string, file, processor)
      • Customtyping (“decorators”)
      • File Writerand File Readerobjectabstractions
      • Optional use of NIO
      • Complex files support, with Header, BodyandFooterconcepts
      • Can work on “push” style (processorconcept)
      • Built-inmultithreadingsupport
      • Lightweight (no extra API dependencies)
    • Easy to Use
      • Create a record POJO andannotate it (positionalordelimited)
      • Annotate POJO getterstoo
      • Makeyour parses (lowlevelexample, string abstraction)
      @PositionalRecord
      publicstaticclassCustomer {
      private String name;
      private String email;
      ...
      @PositionalField(initialPosition = 6, finalPosition = 25)
      public String getName() {
      returnname;
      }
      ...
      @PositionalField(initialPosition = 26, finalPosition = 55)
      public String getEmail() {
      returnemail;
      }
      while ( (line = reader.readLine()) != null) {
      Customercust = ffpojo.createFromText(Customer.class, line);
      }
      Text-To-Pojo
      Pojo-To-Text
      String line = ffpojo.parseToText(customer);
      • FFPOJO Project Site: https://github.com/gibaholms/ffpojo/
      • Authors Blog: http://gibaholms.wordpress.com/
      • AuthorsTwitter: @gibaholms
      Thanks !
      gibaholms85@gmail.com
      More InformationandSamples