Your SlideShare is downloading. ×
0
Java Bridge
Java Bridge
Java Bridge
Java Bridge
Java Bridge
Java Bridge
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Java Bridge

1,383

Published on

Published in: Technology, News & Politics
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,383
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
19
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. WebSphere sMash / Project Zero PHP/Java Bridge Ant Phillips antphill@uk.ibm.com
  • 2. IBM Software Group | WebSphere software Review of Java Bridge in sMash 1.0 Basic access to Java methods and fields - types are automatically converted at boundary of PHP runtime Static methods and fields are accessible by using the built in JavaClass class Java exceptions can be caught in PHP scripts 2 WebSphere sMash PHP/Java Bridge
  • 3. IBM Software Group | WebSphere software Enhancements in sMash 1.1 – Part I Bridging between PHP and Java iterators Signatures provide explicit control for overloaded constructors and methods 3 WebSphere sMash PHP/Java Bridge
  • 4. IBM Software Group | WebSphere software Enhancements in sMash 1.1 – Part II Importing a Java class creates a PHP class that has the same shape 4 WebSphere sMash PHP/Java Bridge
  • 5. IBM Software Group | WebSphere software Enhancements in sMash 1.1 – Part III Extending a Java class inside PHP is possible but has some limitations Java bean access maps field access onto get/set method calls 5 WebSphere sMash PHP/Java Bridge
  • 6. IBM Software Group | WebSphere software Enhancements in sMash 2.0 Access to static methods and fields directly through the imported class name Built in BigDecimal and BigInteger classes Performance improvements - for example method invocation time reduced by 50% 6 WebSphere sMash PHP/Java Bridge

×