Hi,
There shouldn’t be any problem with dependency injection. As long as your java part runs correctly in an application server (tomcat, jetty or sailfish) it will run with php-bridge.
php-java-bridge just calls methods on objects on the java side, it’s like a web service, so there is no conflict with any java library and runtime byte code manipulation. It uses reflection partly, therefore as long as the java code you are using doesn’t cripple reflection which guice shouldn’t do everything should work normally.
Numa
Numa Schmeder www.dfacto.ch
NU...@DF...
DIGITAL STRATEGY | DESIGN | DEVELOPMENT
Le 28 mai 2014 à 17:48, php...@li... a écrit :
> Hello guys,
>
> I have a bit of a major undertaking with a project that I'm currently
> working on, as you might already guess I'm trying to bridge bout PHP and
> Java together via your php-java-bridge. The Java side of the project is
> using Google's Guice for dependency injection all over the project but the
> thing is I haven't seen any documentation (*and trust me I've been
> searching for awhile now*) on how to handle a use case like this. I've come
> across Zend server's PHP Java bridge but it's pretty much doing the same
> thing like this bridge, so I'd rather use this one as intended in the first
> place.
>
> To be honest I'm not even sure if I'm being clear here or how to ask the
> question. If someone here has any idea of what I'm talking about please
> chime in. What I really want to do is use this bridge for my project but
> doing so from a dependency injection point of view. I really hope someone
> here can point me in the right direction.
>
> Also, is there an IRC channel that I could correspond with persons live on?
> I've been looking for it but there doesn't seem to be any available. Thanks.
>
> *--*
> *Mr. Karey H. Powell*
> Software Engineer | Accelor8
>
> *PHONE:* +1.876.442.5402
> *SKYPE**:* k_cipher_p
> *LINKEDIN: *http://www.linkedin.com/pub/karey-powell/55/b16/a49
> *WEBSITE:* http://kareypowell.com
> *GITHUB: *https://github.com/kareypowell
> ------------------------------------------------------------------------------
> Time is money. Stop wasting it! Get your web API in 5 minutes.
> www.restlet.com/download
> http://p.sf.net/sfu/restlet
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|