News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

IBM developerWorks:
Integrating Java and PHP in WebSphere sMash
October 01, 2008 @ 15:35:29

The IBM developerWorks site has this new tutorial posted showing how to combine two different languages, PHP and Jave, with the help of the Java bridge in the WebSphere sMash environment.

The WebSphere sMash environment enables rapid development of interactive Web applications based on popular Web technologies such as PHP, and it lets you reuse existing Java assets from PHP scripts. This article introduces the Java Bridge and shows how to access Java classes from PHP.

They create a sample project to work with in sMash and show how to implement and create a new the Java object that automatically loads and makes available to PHP the functionality inside. They look at accessing static methods and fields, catching exceptions, type conversion, and working with SQL connections.

0 comments voice your opinion now!
ibm java websphere smash bridge tutorial


blog comments powered by Disqus

Similar Posts

Dave Marshall: Silex Controllers as Services

DevShed: Lazy and Eager Loading in PHP 5

PHPMaster.com: Sending Emails with PHP

Wenbert Del Rosario's Blog: Registering your custom plugins in Zend Framework 1.8

Matthew Weier O'Phinney: RESTful APIs with ZF2, Part 1


Community Events





Don't see your event here?
Let us know!


api deployment update framework release series opinion package interview library podcast language install laravel tips list zendserver community introduction symfony

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework