• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Pushing Guice in WOInject all the way down ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Pushing Guice in WOInject all the way down ?


  • Subject: Pushing Guice in WOInject all the way down ?
  • From: Joseph Pachod <email@hidden>
  • Date: Fri, 30 Mar 2012 12:26:30 +0200

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Pushing Guice in WOInject all the way down ?
      • From: Henrique Prange <email@hidden>
  • Prev by Date: Re: Action
  • Next by Date: Re: Most requested stuff on Google Moderator
  • Previous by thread: Re: Action
  • Next by thread: Re: Pushing Guice in WOInject all the way down ?
  • Index(es):
    • Date
    • Thread