legstar-base

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

License

License

GroupId

GroupId

com.legsem.legstar
ArtifactId

ArtifactId

legstar-base
Last Version

Last Version

2.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

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

Project Organization

LegSem

Download legstar-base

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
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