Hi, Thanks all, i will also try out the tadedon ( what language is that ? )
Anyway, on stuart's suggestion, don't you mind showing me how to apply the patch ? I prefer not to "build" it myself and i hope the patch can work fine without having me to do the compilation etc. cheers bb On Sun, Jun 13, 2010 at 11:38 AM, Stuart McCulloch <[email protected]>wrote: > On 12 June 2010 22:24, bambang passion < > [email protected]> wrote: > >> Hello Dhanji, >> >> first of all, applause for your works on dependancy injection ;-) >> >> Anyway, i have not used the guicey fruit yet, hence if guice have the jpa >> >> that you mentioned, then i will use the default one. >> >> First of all, from the technical stand point, all of them should work with >> >> struts2 action ( pojo ) right ? >> >> Regarding the exceptions, it is occurred on my struts action when i use >> >> the guice2.0, while the guice 1.0 do not give me this problem. >> >> Any suggestions or url links that can smooth out my struts2, jpa, and >> guice >> >> combo ? >> > > you could either build guice trunk and use that, or try the patched build > at > > > http://repo2.maven.org/maven2/org/sonatype/spice/inject/guice-patches/2.1.3/ > > at least until an official snapshot / release is available... > > >> thx >> >> bb >> >> On Fri, Jun 11, 2010 at 7:11 AM, Dhanji R. Prasanna <[email protected]>wrote: >> >>> To configure JPA with Guice we have an extension in the works >>> guice-persist. >>> >>> As for the exception, can you post the entire stack trace? It's possible >>> that this may be from the guicey-fruit side. >>> >>> Dhanji. >>> >>> On Thu, Jun 10, 2010 at 3:45 PM, bambang passion < >>> [email protected]> wrote: >>> >>>> anyone out there ? >>>> >>>> thx >>>> >>>> >>>> On Mon, Jun 7, 2010 at 5:44 PM, bb < >>>> [email protected]> wrote: >>>> >>>>> Hi, I am new to Guice, and currently having problems with the guice >>>>> 2.0 that i just >>>>> downloaded. >>>>> >>>>> a. I need the guice2.0, so that i am able to use the guicefruit for >>>>> smooth jpa integration >>>>> ( inject with @PersistenceContext ) --- i have already been able to >>>>> inject ejb into >>>>> my struts2 action and guice is wonderful ! Now i need guice to support >>>>> jpa injection >>>>> also. >>>>> >>>>> Can you suggest me on the stable guice2.0 one ? >>>>> >>>>> Here is my stack : >>>>> com.google.inject.internal.ComputationException: >>>>> com.google.inject.internal.cglib.core.CodeGenerationException: >>>>> java.lang.reflect.InvocationTargetException-->null >>>>> at com.google.inject.internal.MapMaker >>>>> $StrategyImpl.compute(MapMaker.java:553) >>>>> at com.google.inject.internal.MapMaker >>>>> $StrategyImpl.compute(MapMaker.java:419) >>>>> >>>>> b. Also, perhaps anyone have inputs on integrating JPA and guice ? >>>>> notes that i have already managed to @inject ejb into my struts2 >>>>> action, so >>>>> right now i need to inject Entity Manager. ( So do i need to >>>>> configure another module ? ) >>>>> >>>>> thx >>>>> >>>>> bb >>>>> >>>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "google-guice" group. >>>> To post to this group, send email to [email protected]. >>>> To unsubscribe from this group, send email to >>>> [email protected]<google-guice%[email protected]> >>>> . >>>> For more options, visit this group at >>>> http://groups.google.com/group/google-guice?hl=en. >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "google-guice" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]<google-guice%[email protected]> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/google-guice?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "google-guice" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<google-guice%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/google-guice?hl=en. >> > > > > -- > Cheers, Stuart > > -- > You received this message because you are subscribed to the Google Groups > "google-guice" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-guice%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-guice?hl=en. > -- You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-guice?hl=en.
