Re: [PHP4BETA] PHP 4.0 Release Candidate 1 - Win32 binaries for servlet and java posted

From: Date: Tue, 28 Mar 2000 19:08:38 +0000
Subject: Re: [PHP4BETA] PHP 4.0 Release Candidate 1 - Win32 binaries for servlet and java posted
Groups: php.version4 
Request: Send a blank email to php-version4+get-12764@lists.php.net to get a copy of this message
>How exactly should I make java classes available to php ? Place them in your CLASSPATH. There is absolutely no other registration, wrappers, or other effort required on your part. Instantiate new instances of a class using: $foo = new Java("your.class.name", optional, constructor, arguments); Reference class fields or bean properties using: $foo->attributeName Invoke static or instance methods using: $foo->methodName(optional, method, arguments); When run as a servlet, you have access to two predefined objects: $request and $response. - Sam Ruby

« previous php.version4 (#12764) next »