We're getting close...

1 view
Skip to first unread message

Bob Lee

unread,
Feb 22, 2007, 4:15:15 PM2/22/07
to google...@googlegroups.com
We're not ready for an official announcement just yet, but I uploaded the first release candidate for Guice 1.0 to the site: http://code.google.com/p/google-guice/

Can you all please take it for a spin and have a look through the users' guide? We appreciate any feedback.

For you Struts 2 users, I didn't include a plugin jar, but the code is there. I'll make sure I get a jar into RC2 (or the final release if we're ready).

Thanks,
Bob

Isaac Sparrow

unread,
Feb 23, 2007, 1:00:35 AM2/23/07
to google...@googlegroups.com
Great work on the usage guide. The one area I would really like to see
a simple example for is "Bootstrapping Your Application".

It would be helpful to see an example that injects "one root object",
and another that illustrates the following line:

"...your application should ideally have one class (if that many)
which knows about the Container,..."

I'm new to dependency injection, so it may be obvious to others, but
it is not clear to me how I could not have at least one class that has
knowledge of the container.

Isaac


--
Random Geek Stuff: http://l0wbyt3.blogspot.com

Bob Lee

unread,
Feb 23, 2007, 11:46:36 AM2/23/07
to google...@googlegroups.com
On 2/22/07, Isaac Sparrow <isaac....@gmail.com> wrote:

Great work on the usage guide. The one area I would really like to see
a simple example for is "Bootstrapping Your Application".

It would be helpful to see an example that injects "one root object",
and another that illustrates the following line:

"...your application should ideally have one class (if that many)
which knows about the Container,..."

I'm new to dependency injection, so it may be obvious to others, but
it is not clear to me how I could not have at least one class that has
knowledge of the container.

If I use Struts or WebWork for example, all my actions are injected, so my application itself has no knowledge of the container.

If you're writing a backend service, you could accomplish the same thing by injecting all your service implementations at the framework level.

BTW, please hold off on blogging about Guice. We aren't going "public" just yet. ;)

Bob

sparrowsmith

unread,
Feb 23, 2007, 12:04:20 PM2/23/07
to google-guice

On Feb 23, 8:46 am, "Bob Lee" <crazy...@crazybob.org> wrote:


> On 2/22/07, Isaac Sparrow <isaac.spar...@gmail.com> wrote:
>
> > Great work on the usage guide. The one area I would really like to see
> > a simple example for is "Bootstrapping Your Application".
>
> > It would be helpful to see an example that injects "one root object",
> > and another that illustrates the following line:
>
> > "...your application should ideally have one class (if that many)
> > which knows about the Container,..."
>
> > I'm new to dependency injection, so it may be obvious to others, but
> > it is not clear to me how I could not have at least one class that has
> > knowledge of the container.
>
> If I use Struts or WebWork for example, all my actions are injected, so my
> application itself has no knowledge of the container.
>
> If you're writing a backend service, you could accomplish the same thing by
> injecting all your service implementations at the framework level.

Ah. I get it now.

>
> BTW, please hold off on blogging about Guice. We aren't going "public" just
> yet. ;)

I'll remove the entry. Sorry about that.

Isaac

>
> Bob

Bob Lee

unread,
Feb 23, 2007, 12:08:38 PM2/23/07
to google...@googlegroups.com
On 2/23/07, sparrowsmith <isaac....@gmail.com> wrote:
I'll remove the entry. Sorry about that.

No big deal. You don't have to remove it.

Bob

Reply all
Reply to author
Forward
0 new messages