|
Blogs
In this blog we are going to see how we can integrate OpenLaszlo with SAP Netweaver CE.
What is OpenLaszlo?
OpenLaszlo applications are written in LZX (similar in spirit to XUL, MXML, and XAML), an XML language that uses custom tags and industry-standard JavaScript to describe client behavior.
LZX applications are compiled by the OpenLaszlo compiler, which is bundled as part of the Laszlo Presentation Server (LPS), and delivered either as SWF files to be executed by the Adobe Flash Player, or as DHTML (“Ajax”) to be rendered directly by the native JavaScript engines of internet browsers such as Mozilla Firefox or Internet Explorer.
LZX applications can be deployed either using the OpenLaszlo server as a proxy connection, or as Standalone OpenLaszlo Objects—which we call “SOLO” deployment. LZX applications typically communicate with “back ends”—which may be written in Java, PHP, SQL, etc—by sending XML over HTTP.
For more on OpenLaszlo, please see OpenLaszlo.org.
What I have done to integrate Open Lazlo is 1) Created an external Library which contains all the libraries needed. 2) Create a Dynamic web module which refers to the external library. 3) Create a J2EE Enterprise Application to wrap the web module and deploy it as an .ear to the engine.
You can download all this DC from the link at the end of this blog.
Once deployed the application .ear, following will be the output.
Enter a valid Zip code, In this sample we will be connecting to weather.com to get the weather details. Links to the Dc's used for this
Ayyapparaj KV is a Consultant for Bristlecone India Pvt Ltd |