Coder Social home page Coder Social logo

Comments (3)

plavjanik avatar plavjanik commented on July 18, 2024 1

It makes sense. But is more complicated. We cannot use JZOS directly in an open-source project since the JZOS JAR file is a part of IBM SDK for Java on z/OS. The only way how to call is to use Java Reflection or ask developers to download it themselves as this sample does - https://github.com/zowe/spring-boot-jzos-sample.
I do not like the second option because it complicates automated builds.

An internal closed-source example can be done since it is OK to have the JAR on private Artifactory.

Another option is to write/generate a wrapper for JZOS functions that would use the Java Reflection to call the real JZOS that is in z/OS Java. This would have also the benefit that we can create an interface with different implementations:

  • Calling real JZOS on z/OS
  • Mock for unit testing
  • Fake that emulates what can be done on PC so you can do more development on PC
  • Some RPC to a backend server on z/OS (or to z/OSMF REST API) so you can get real data from z/OS without the need to deploy your application to z/OS during development (uploading huge JARs from Prague to Las Vegas takes some time).

The JZOS Java API itself is not private. We can publish code that is using it. The issue is publishing the JZOS JAR that uses proprietary native interfaces.

from sample-spring-boot-api-service.

dkelosky avatar dkelosky commented on July 18, 2024

I think the jzos licensing thing was an issue, and why it's not included. Is that correct @plavjanik ?

from sample-spring-boot-api-service.

github-actions avatar github-actions commented on July 18, 2024

This issue has not been updated in a long time.

from sample-spring-boot-api-service.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.