Google gin? use with spring?

I know gin is the client side. so for gin use. should it be used in conjunction with a pattern? I wonder if it can be used with spring?

+2


source to share


3 answers


SpringIntegration ?



As I understand it, this uses the GWT Java-to-JavaScript compiler, so the next question is, does ww760 work with GWT. If so, I think you'd be better off using Spring directly rather than jumping over that extra hoop.

+2


source


From the gwt-gin Faq:

GIN uses Guice at compile time through the GWT Generator. The generator creates an implementation of your Ginjector interfaces.



So guice is built in and no replacement possible. Apart from adding the necessary banners to your GWT module, you don't need to know about guice at all when using the genie. Of course, using gin is very similar to using guice ...

0


source


So guice is built in and no replacement possible. Other than adding the necessary jars to your GWT module, which you don't really need to know about when using a genie. from Of course using gin is very similar to using guice ...

Just a little clarification (source: GIN homepage):

GIN is built on top of Guice and uses (a subset of) the Guice bindings language.

Thus, think of GIN as a way to use Guice in your GWT projects - most tutorials, videos, etc. related to Guice will work with Gin. Note that the GIN site does not have tutorials on actual DI in the wiki - this is because it uses everything in the Guice wiki, with a few exceptions (mostly cutting edge stuff). If you want to know the differences, check the Guice Compatibility .

0


source







All Articles