WebSphere sMash / Project Zero

       PHP/Java Bridge
           Ant Phillips
         antphill@uk.ibm.com
IBM Software Group | WebSphere software


Review of Java Bridge in sMash 1.0

                                            ...
IBM Software Group | WebSphere software


Enhancements in sMash 1.1 – Part I

                                            ...
IBM Software Group | WebSphere software


Enhancements in sMash 1.1 – Part II



                                         ...
IBM Software Group | WebSphere software


Enhancements in sMash 1.1 – Part III
                                           ...
IBM Software Group | WebSphere software


Enhancements in sMash 2.0

                                          Access to s...
Upcoming SlideShare
Loading in …5
×

Java Bridge

1,652 views

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,652
On SlideShare
0
From Embeds
0
Number of Embeds
43
Actions
Shares
0
Downloads
19
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Java Bridge

  1. 1. WebSphere sMash / Project Zero PHP/Java Bridge Ant Phillips antphill@uk.ibm.com
  2. 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. 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. 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. 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. 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

×