|
From: <php...@li...> - 2010-03-26 05:04:51
|
Hi Jost, Thanks a lot for your info on my question. I understand about the lack of module system in java. In my case we have many php applications on one server using different versions of Jasper Reports Libraries. So if I put all the versions of libraries in one WEB-INF/lib/ folder then I believe it would cause issues on loading correct libraries. In this case can I have two JavaBridge applications running in my Tomcat server so that the libraries are not messed up? If that is fine then could you please tell me how I can make two instance of the same application? If it's simply deploying the application twice then that's easy but if I need to change any settings to make it work I am not sure how can I do that. Please help. Thanks a lot. Best regards, Hameed On Thu, Mar 25, 2010 at 1:05 AM, < php...@li...> wrote: > Hi Hameed, > > > > I wanted to organize all my libraries properly instead of mixing in just > one > > folder. > > Java 7 may contain a module system. Until then please put all Java > libraries into *one* directory. > > Please see our FAQ entries "Why has java_require() been deprecated?" > and "Why do I get a NoClassDefFoundError?" for details. > > There were several Java module system (better: "package system") > proposals. The one I liked best was the system implemented by > rice.edu. An introduction is here: > http://www.cs.rice.edu/~javaplt/papers/sac2007.pdf > > BTW: Kent Dybvik has shown that it is possible to implement a module > system using pure syntax. Since PHP doesn't have a REPL (its top-level > environments cannot be changed by user-interaction), it makes sense to > implement such a system in place of the current PHP "namespaces" > implementation, especially since PHP namespaces doesn't allow a > re-export of (aliased) bindings: it isn't possible to build a > "compound-namespace" (see "published interfaces" vs. "public > interfaces"). > > > Regards, > Jost Bökemeier > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > -- Hameed Development Manager Pilot Simple Software Hong Kong ha...@pi... |