On Sunday, June 7, 2015 at 3:12:08 PM UTC-4, Hannes Steffenhagen wrote: > > Hello, I'm currently writing an Application using Guice. It is not a web > application (nor is it based on servlets), but it still conceptually has > scopes like 'Application', 'Session' and 'Request' - does it make any sense > at all to try to attempt to use the built in scopes from the web module? Or > should I rather write my own scopes, despite what the documentation > recommends? >
I've found it so useful to do that that I wrote a library for generically doing custom scopes: https://github.com/timboudreau/scopes To use it in a Maven project: http://timboudreau.com/builds/ (one of these days I'll get that and a bunch of related stuff on Maven Central) -Tim -- You received this message because you are subscribed to the Google Groups "google-guice" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-guice. To view this discussion on the web visit https://groups.google.com/d/msgid/google-guice/8eac70b5-7dfa-4a34-9aa1-0aa9a97003c0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
