Code Monkey home page Code Monkey logo

Comments (4)

eliast avatar eliast commented on July 20, 2024

Sure thing. Why don't you submit a PR?

On Sun, Jun 1, 2014 at 8:11 PM, Jarrod Davis [email protected]
wrote:

Currently, servlets are ignored when using AutoConfig. This requires a
finicky workaround in the Application class to save the injector to an
instance variable during bootstrapping, using that to manually inject a
servlet, wrap it in a holder, and add to the environment's
getApplicationContext().

In short, it would be nice if Servlets were added and injected like Jersey
Resources.


Reply to this email directly or view it on GitHub
#29.

from dropwizard-guice.

jarrodldavis avatar jarrodldavis commented on July 20, 2024

I will once I have time. This project (along with Dropwizard itself) as saved me quite a bit of time and headache (after trying several other options), so I'll definitely contribute once I can make some time. Might be a few weeks, though.

from dropwizard-guice.

mlk avatar mlk commented on July 20, 2024

How would the AutoConfig know the path for servlets?

I've had a go at this using a custom annotation: https://github.com/mlk/dropwizard-guice/tree/29_servlet_support but I'm not sure if this is the right way to go about it.

from dropwizard-guice.

jhaber avatar jhaber commented on July 20, 2024

Closing due to inactivity

from dropwizard-guice.

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.