If I'm writing a web application that uses the model 2 architecture, is it possible to use the Google Guice framework (or really any IoC container)? The reason I ask this question is because everything I've researched about DI, IoC, et cetera always uses Spring, Hibernate or some other framework/container in their examples. I'm just using Java classes, controllers, and JSP's to build this application and I can't find any good documentation about the subject.
Add a comment |
1 Answer 1
what you're looking for in the Java EE web tier is a technology called CDI, a tutorial on this can be found here
- The Overflow Blog
-
-
- Featured on Meta
-
-
Related
Hot Network Questions
- PhD public defense mode before PowerPoint or QuickTime was invented
- Different CIs for the same linear mixed model emmeans, ggemmeans, ggpredict
- Can poetry be substantively conducive to philosophy?
- PS Plus subscriber — Football Manager 2024 worked yesterday on PS5 but now says "This content is not available. To use this content, purchase it"
- How to test i.i.d. assumption?
- Would a variable mandatory-savings policy be an effective alternative to interest-rate hikes for reducing consumer demand?
- "O fortunati, quorum iam moenia surgunt!" -- why the indicative mood?
- Let’s go to the pub! Hey, we’re all thirsty but some of us don’t want to get drunk.
- Is the transfer principle useless?
- ASCII-based Lightweight Browser in Python with Clippy-Style Helper (Updated)
- Using the word “interwind”
- Why are Jeremy Crawford's rules comments unreliable?
- Was 2023 the first time a person in California was killed in a black bear attack?
- How to build basement walls in a basement that has a interior French drain and uneven epoxied perimeter?
- Movie in which a starship is hit by an asteroid and the small crew try to fix the ship to get home
- When was the last time U.S. Congress overrode a president's veto?
- What is the USER= value reported for sudo attempts?
- Do blueshifted and redshifted light sources have differing energies?
- How do you time a Perfect Guard against a Guardian?
- Minimum width to connect both side
- Window length clarification - FIR Filter
- Staggered monitors: Mouse moving to other monitor where not abutting
- What, if any, is the list analogue of KeyValuePattern?
- How can I clean unsealed concrete before installing flooring?
lang-java