legstar-core2

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

License

License

GroupId

GroupId

com.legsem.legstar
ArtifactId

ArtifactId

legstar-core2
Last Version

Last Version

2.1.0
Release Date

Release Date

Type

Type

pom
Description

Description

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

Project URL

https://github.com/legsem/legstar-core2
Project Organization

Project Organization

LegSem
Source Code Management

Source Code Management

https://github.com/legsem/legstar-core2.git

Download legstar-core2

Filename Size
legstar-core2-2.1.0.pom 15 KB
Browse

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • legstar-cob2xsd
  • legstar-base
  • legstar-base-generator
  • legstar-jaxb
  • legstar-jaxb-generator
  • legstar-maven-plugin

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