From: <php...@li...> - 2006-02-23 16:49:19
|
Hello! In the description page for the PHP/Java Bridge, it says: "PHP, the PHP/Java Bridge and the php files can be packaged within a standard J2EE archive, customers can easily deploy it into a J2EE application server or servlet engine. They don't have to install PHP and they usually cannot tell the difference whether the pages are generated by PHP, JSP or servlets." I'm curious as to how this is accomplished, e.g. the packaging of all the components into one archive. Do you have any examples of how this is done? What I'm trying to use the bridge for is to create MUD server that uses Java as the backend, and PHP as an internal scripting language for the game. In case you're not aware, a MUD server is text-based game where players connect via Telnet. Aside from the PHP and Java I'd like to archive into one file, I also would like to be able to call external PHP scripts on the server from the application, as well as have scripts within the archive itself. Is this doable with the bridge? Any help with how to package things so as to run the whole thing from one archive would be really appreciated. And if you have any thoughts on the implementation of the MUD server application, I'd be happy to hear them. I'm a little daunted with the scope of my own project. :^) Thanks! --->Ben |