Hi all (and especially Henrique)

Currently, if I get it right, WOInject makes it possible to use
Guice's bindings. However, regarding WebObjects entities and (web)
components' bindings, it's still the good old
"_NSUtilities.setClassForName(WOSubmitButton.class,
"WOSubmitButton");".

Why not using Guice/Modules for this matter as well?

Then there would be only one place and logic to look up to find out
actual implementations.

It would also unify the behavior, since Guice doesn't allow multiple
times the same bindings whereas WebObjects does.

If the concept pleases you, we already have, at my workplace, an
implementation for it which we could share. This implementation works
through a subclass of Guice's AbstractModule which kind of "redirects"
WebObjects bindings, checking them the Guice's way and making them
happen the WebObjects way.

Eager to read you back

Best,
Joseph
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to