Webcam Chat QuickBooks Advice international calling cards international phone cards
JavaBeat Java Books Certifications Certifications Kits Articles Tutorials Tips QNA Book Store Interview Questions SCJP 1.5 SCJP 1.6 SCWCD 5.0 SCBCD 5.0 SCEA SCJA Feeds
Submit Links | Latest Links | Login (want to submit links for DLinks? send a mail to krishnas@javabeat.net)

My First Guice Web Application

google-guice Comments
  • 0 votes
Google Guice is an open source Dependency Injection framework from Google. Guice is based on annotations and generics unlike Spring which depends on XML of Java for wiring dependencies. Guice injects constructors, fields and methods (any methods with any number of arguments, not just setters). Guice provides support for custom scopes, static member injection, Spring as well as Struts 2.x integration and AOP Alliance method interception. Guice is available at Google Code. You can find the User guide and Javadocs from there. This post describes how I implemented a simple Web application using Guice. For injecting dependencies into Servlets, I used a Listener (this idea was from Hani Suleiman in the Guice developer mailing list). Follow these steps to run the example.... more »

A simple dependency injection component

spring google-guice Comments
  • 1 votes
Guice is alternative to Spring framework except life cycle management. I like Guice framework over Spring for the following reason.... more »

Integrating Guice and JSF

jsf google-guice Comments
  • 0 votes
Special thanks to my teammate Çağatay Çivici for inspiring me on this one. I will never be able to pronounce his name correctly, but that certainly doesn't stop me from taking one of his good ideas and running with it. ... more »

Hibernate with Guice - Part I

hibernate google-guice Comments
  • 0 votes
In this Blog you will see how to add Google-Guice functionality to a Hibernate-Application. In Part I i will introduce a simple Hibernate-Application. In Part II you can see how this Application will be transformed for using Guice.... more »

Google Guice Starts a New Google Age?

google-guice Comments
  • 0 votes
Google Guice is a an open source Java framework released by Google under Apache License 2.0. Guice is a light weight Inversion of Control Container. It does what Spring does regarding dependency inversion aspect, without using xml files. Guide uses annotations and requires Java 1.5 or above and follows the Google philosophy of being really easy to use.... more »

Creating Google Guice Modules with Java 6’s ServiceLoader

java java6 google-guice Comments
  • 0 votes
Google Guice is a lightweight dependency injection framework for Java 5 (or later), which is explained here very well.... more »

persistence and transactions for Google Guice

google-guice Comments
  • 0 votes
Warp-persist (now version 1.0) provides a thin layer of integration for injecting and managing persistence using Hibernate, JPA (so far TopLink Essentials, OpenJPA and Hibernate have shown success) or db4objects in Guice-driven applications. It provides support for declarative transactions and units-of-work using a flexible @Transactional annotation.... more »

Guice vs Spring

spring google-guice Comments
  • 0 votes
At the weekend I managed to get some free time away from working on our next release to look at a recent benchmark that compared the performance of Google Guice 1.0 with Spring 2.5. The benchmark referred to in the article as a modified version of Crazy Bob’s “Semi Useless” Benchmark is interesting not in terms of the results but in the analysis of the results and test construction. After reviewing the findings and benchmark code I thought it would be a good idea to instrument particular parts in the code with our Probes resource metering framework to better understand some peculiarities reported and to show how I use JXInsight Probes myself.... more »

Guice vs. Spring JavaConfig: A comparison of DI styles

spring google-guice Comments
  • 0 votes
With all of the excitement surrounding Guice lately, I thought it might be worthwhile to compare Guice with Spring JavaConfig. Both represent different approaches to annotation-based dependency-injection. I've chosen to reimplement my knight/quest example from chapter 1 of Spring in Action to illustrate the basics of each option.... more »

Integrating Guice and JSF

jsf google-guice Comments
  • 0 votes
I was wondering about how the integration of JSF and the community’s new hot IOC Framework Guice can be done and later figured out a way. The example I’ve created is simple, there’s a JSF page used for creating an Account entity,... more »
First 1
 

JavaBeat Website (2004-2011), India
javabeat | advertise | about us | contact | useful resources
Copyright (2004 - 2011), JavaBeat


Technology Blogs
Technology blogs Technology Blogs
blog log