Coder Social home page Coder Social logo

java-cdi's People

Contributors

jpkrohling avatar pavolloffay avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

java-cdi's Issues

Integrate with microprofile-opentracing

As https://github.com/eclipse/microprofile-opentracing defines tracing for CDI via @Traced annotation it might sense to use it as API for this project.

This project defines the same annotation - however there might be some semantical differences.

Some issues to consider:

cc @jpkrohling

Usage of Jaeger in the example

This repository should be vendor-neutral, but at the same time, we don't have a "perfect" world for a consensus. Current discussion points

  • Example should provide value to whoever is reading. If we show a screenshot of the traces, we should provide the tools to generate that screenshot, and Jaeger helps with that
  • Brave-OT could be added to the example's pom.xml, but it seems that it doesn't work with OT 0.30.0.
  • There's no TracerResolver for the MockTracer, so, if the example code would ship with this Tracer, it would need tracer-specific code, which is counter productive: ideally, the example would be about CDI (not MockTracer) and the target application would know nothing about the tracer.

Options:

  • Leave it as it is, with Jaeger's Tracer Resolver. Other implementations are more than welcome to send PRs to feature their tracers as well
  • Remove a concrete implementation from the example and let the reader add an implementation
  • Use MockTracer, adding MockTracer-specific code to the example

Dependency on java-ejb

This project has a dependency on java-ejb, but that's mostly because the javax.interceptor is reused from that repository, and it's not bringing any EJB-specific dependency. From a naming perspective, it might be better to extract the interceptor into a java-interceptor artifact and reuse it at java-cdi and java-ejb.

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.