legstar-jaxb-generator

Translates COBOL structures to a java model. Converts Mainframe data to Java objects.

License

License

GroupId

GroupId

com.legsem.legstar
ArtifactId

ArtifactId

legstar-jaxb-generator
Last Version

Last Version

2.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

legstar-jaxb-generator
Translates COBOL structures to a java model. Converts Mainframe data to Java objects.
Project Organization

Project Organization

LegSem

Download legstar-jaxb-generator

How to add to project

<!-- https://jarcasting.com/artifacts/com.legsem.legstar/legstar-jaxb-generator/ -->
<dependency>
    <groupId>com.legsem.legstar</groupId>
    <artifactId>legstar-jaxb-generator</artifactId>
    <version>2.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.legsem.legstar/legstar-jaxb-generator/
implementation 'com.legsem.legstar:legstar-jaxb-generator:2.1.0'
// https://jarcasting.com/artifacts/com.legsem.legstar/legstar-jaxb-generator/
implementation ("com.legsem.legstar:legstar-jaxb-generator:2.1.0")
'com.legsem.legstar:legstar-jaxb-generator:jar:2.1.0'
<dependency org="com.legsem.legstar" name="legstar-jaxb-generator" rev="2.1.0">
  <artifact name="legstar-jaxb-generator" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.legsem.legstar', module='legstar-jaxb-generator', version='2.1.0')
)
libraryDependencies += "com.legsem.legstar" % "legstar-jaxb-generator" % "2.1.0"
[com.legsem.legstar/legstar-jaxb-generator "2.1.0"]

Dependencies

compile (11)

Group / Artifact Type Version
com.legsem.legstar : legstar-base jar 2.1.0
com.legsem.legstar : legstar-base-generator jar 2.1.0
com.legsem.legstar : legstar-jaxb jar 2.1.0
org.apache.ws.xmlschema : xmlschema-core jar 2.2.5
org.glassfish.jaxb : jaxb-xjc jar 2.3.3
org.glassfish.jaxb : jaxb-core jar 2.3.0.1
com.github.jknack : handlebars jar 1.3.2
commons-io : commons-io jar 2.7
org.apache.commons : commons-lang3 jar 3.11
org.slf4j : slf4j-api jar 1.7.30
org.slf4j : slf4j-log4j12 jar 1.7.30

test (1)

Group / Artifact Type Version
junit : junit jar 4.13.2

Project Modules

There are no modules declared in this project.

legstar core V2

A COBOL to Java conversion framework.

A new take on the original legstar project

Objectives

  • Provide conversion capabilities for data described by COBOL copybooks

  • Provide a faster alternative to legstar for use cases that require massive conversions (Hadoop, ETL, ...)

  • Provide a simpler API than legstar, using java generics, explicit thread safety and use Builder pattern/Fluent interfaces

  • Extract out dependency on JAXB. While still supporting JAXB, the API should be usable in environments that has no JAXB at all

  • Provide a validation API that allows checking preemptively that host data is compatible with a given COBOL copybook

Non objectives

  • Backward compatibility with legstar. The API V2 is not compatible.

  • Complete functional equivalence to legstar. Rarely used legstar features will not be ported to V2.

  • Recognizes the IBM COBOL for z/OS syntax only. It may or may not work for other COBOL compilers.

Requirements

  • Java JDK 6 and above (It is important that this is a JDK not a simple JRE)

  • Maven 3 (If you build from sources)

  • Ant 1.9.x (To run samples)

Build from sources

  1. Clone the GIT repository

  2. From a command window, while located in the folder where you cloned the repo, type:

mvn clean install

Run the base sample

If you built the project from sources, you will find the distribution zip file under legstar-core2/legstar-base-generator/target.

Otherwise you can get the latest released zip here.

Unzip the zip file in a location of your choice.

Go to the samples folder and type:

ant

Run the JAXB sample

If you built the project from sources, you will find the distribution zip file under legstar-core2/legstar-jaxb-generator/target.

Otherwise you can get the latest released zip here.

Unzip the zip file in a location of your choice.

Go to the samples folder and type:

ant

Versions

Version
2.1.0
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0