legstar-jaxb

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

License

License

GroupId

GroupId

com.legsem.legstar
ArtifactId

ArtifactId

legstar-jaxb
Last Version

Last Version

2.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

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

Project Organization

LegSem

Download legstar-jaxb

How to add to project

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

Dependencies

compile (6)

Group / Artifact Type Version
com.legsem.legstar : legstar-base jar 2.1.0
javax.xml.bind : jaxb-api jar 2.3.1
org.slf4j : slf4j-api jar 1.7.30
org.slf4j : slf4j-log4j12 jar 1.7.30
commons-io : commons-io jar 2.7
org.apache.commons : commons-lang3 jar 3.11

test (2)

Group / Artifact Type Version
com.legsem.legstar : legstar-base-generator jar 2.1.0
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