Code Monkey home page Code Monkey logo

mgoellnitz / dinistiq Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 0.0 631 KB

Minimalistic Dependency Injection - Or: what I got wrong about dependency injection. Done in Java based solely on the JSR 330 annotations, dinistiq is a minimalistic approach to component based application setup for the Java SE. Using only one scope with mostly singletons it adds very new few external dependencies to your project.

Home Page: http://mgoellnitz.github.io/dinistiq/

License: GNU Lesser General Public License v3.0

Java 100.00%
annotations bean dependency-injection injection injection-points java simple

dinistiq's People

Contributors

mgoellnitz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dinistiq's Issues

Too eager dependency noting for anonymous strings

If a beans gets injected values given from a properties file, some anonymous local (to that file) values might me injected too - most likely strings. These strings are not part of the dependency collection and especially not part of the ordering process. Subsequently this process fails.

The problem seems to have been introduced with 0.5 with its more precise ordering check.

Update Servlet API Dependency

To be usable in Google App Engine dinistiq relied on the Servlet API 2.5. With Servlet API 3.1 we could provide a leaner web integration API and configuration.

Integrate Servlets Directly

The indirection through the generic dinistiq dispatcher servlet can be removed. We will loose the pattern patching then but also one step in the calling sequence for requests.

Migrate to TestNG

I now consider the EPL of JUnit a problematic license for dinistiq.

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.