From what information I could find, they both solve the same problems - more esoteric operations like array containment and intersection (&&, @>, <@, etc). However I would be interested in advice about when to use one or the other (or neither possibly). The PostgreSQL documentation has some information about this:
GIN index lookups are...
i know gin is client side of guice . so in order to use gin. it must be used together with guice? i wonder, can it be used with spring?
...
Hi'
I'm currently evaluating many FullText indexing solutions, and I'm playing with native postgres FT.
I'm trying to index my data using GIN indices. But there's a limitation in the field size, I encounter some errors saying "huge tuple" while inserting data
As far as I understand, it's directly related to the field size.
But this li...
In google Guice, I can create an injector based on multiple module with the function createInjector.
Because I use GWT.create to instanciate the injector in GoogleGin, is it possible to create a Ginjector based on multiple AbstractGinModule.
If we can't, how do you organize your code to avoid having all your binding in the same Module ...
I've been building a GWT 1.7 + GAE application using the eclipse plugin.
The system constants are loaded into a MyConstants.properties file that is loaded by the singleton MyConstants class extending the ...gwt.i18n.client.Constants class.
I would like for MyConstants to load one of several files containing settings like
MyConstants-l...
Hi all!
I'm trying to link all this technologies, but there are many isolated examples and I do not have enough experience to link them together
so my questions:
Whether there is a similar example?
Is it possible to use UIBinder with Gin?
Any recommendations to implement it?
...
I've been trying to use Grapher on my GIN project. But trying to create an Injector to give the InjectorGrapher has not been working.
Right in the first line of my code:
Injector injector = Guice.createInjector( new GinModuleAdapter( new MyGinModule() ) );
it crashes with
Exception in thread "main" java.lang.AssertionError: sho...
I'm trying to use GIN (Guice for GWT) within eclipse. The tutorial says to add a line to my module xml file:
<inherits name="com.google.gwt.inject.Inject"/>
However, when I do this Eclipse reports an error "com.google.gwt.inject.Inject cannot be resolved to a type"
I've added gin.jar, aopalliance.jar and guice.jar as referenced l...
I'd like to use gwt-dispatch Command Patter implementation in my app. I'm using also mvp4g. How can I make DefaultDispatchAsync available to inject into my presenters using GIN or make it globally available, so I can access it from my presenters?
...
I have some questions regarding gwt-dispatch and guice. I'm using Guice 2.0, gwt-dispatch 1.1.0 snapshot, mvp4g 1.1.0 and GIN 1.0
First of all, I have defined simple action, result and handler:
ListContactsAction.java
public class ListContactsAction implements Action<ListContactsResult>{
public ListContactsAction() {
}
}
L...
I have a hazy understanding of GIN, but have it working for injecting presenters, etc.
I'm trying to inject a self-made "User" class into all my presenters in order to get the currently logged-in user.
I've added @Inject to the constructor on my User class, and added User to my GIN module ... but apart from that, I'm totally lost. Do ...
To use gwt-dispatch we create an object like:
private static final DispatchAsync dispatchAsync = GWT.create(DefaultDispatchAsync.class);
Is there any way to do this with injection, I mean how to inject this DispatchAsync object into other classes where we need to use it.
This is something related to @Inject annotation!
...
Usual dead code detectors don't seem to find which defined objects in a Guice or Gin module are not needed any more: is there a simple way to detect this?
For example, let's say I defined a Provider method for a type with a certain annotation:
@Provides @Named("string range")
String getStringRange(Request foo) {
return foo.getBarPr...