Friday, June 19, 2009

WebSphere Application Server for Developers - Now downloadable, No charge

Want to try out WebSphere Application Server V7.0 for development? Check!
Want to do it without having to order a CD? Check!
Want to do it without having to work with purchasing? Check!
Want to do it by yourself as a developer? Double Check!

I talk to many developers who want to install WebSphere Application Server for development, but every license is tracked and installed by their operations team on some remote server. Working with the operations team and (gasp) purchasing would take more time than the time to write the application they wanted to write. So they go off and download some other runtime and later port the application back to WebSphere Application Server or abandon the project altogether.

This won't be the story after today. Go here to download a no-charge copy of WebSphere Application Server for your development needs.

From the download page:

Download WebSphere Application Server for Developers, a no-charge offering that satisfies the need for a no-cost WebSphere Application Server development runtime for projects that don't warrant the expense of a priced and supported runtime on the developer desktop. Reduce testing effort and develop with confidence using a runtime environment that is identical to the production runtime environment your applications will eventually run on.


Enjoy!

Tuesday, June 16, 2009

WAS XML Feature Pack Demo #4 - More XSLT 2.0 Features and Compilation

I released the first demo two months ago introducing the XML Feature Pack:

Demo 1 (Part 1, Part 2).

Two days ago I released the second demo showing how to use XPath 2.0 in an end to end J2EE application:

Demo 2 (Part 1, Part 2).

Yesterday I released the third demo showing how to use XSLT 2.0 in an end to end J2EE application:

Demo 3 (Part 1, Part 2).

Today, I'll wrap up the demos with demo 4 which talks to about XSLT 2.0 schema awareness, validation and various other XSLT 2.0 features we've added to round out the XSLT 2.0 standard support. Finally, I show a demonstration of how to use the pre-compilation support added in the Beta refresh.

Demo 4 - XSLT 2.0 Features (Part 1)


Direct Link (HD Version)


Demo 4 - XSLT 2.0 Features (Part 2)


Direct Link (HD Version)

WAS XML Feature Pack Demo #3 - End to End XSLT

I released the first demo two months ago introducing the XML Feature Pack:

Demo 1 (Part 1, Part 2).

Yesterday I released the second demo showing how to use XPath 2.0 in an end to end J2EE application:

Demo 2 (Part 1, Part 2).

In this third demo, I expand upon this same basic application to show how to use XSLT 2.0 in an end-to-end J2EE application. In the demo, I show some of the new valuable features of XSLT 2.0. I show how to bridge the gap between Java and XML processing by showing binding of Java data to the XSLT stylesheets and calling user defined Java extension functions as part of the XSLT processing. As compared to the XPath 2.0 example where data was stored in JavaBeans then JSP formatted to the user, this sample directly transforms data from XML to XHTML user presentation. Also, I show how some of the Java logic used in the XPath 2.0 example can be recoded in simpler XSLT 2.0 temporary trees and stylesheet functions.

Demo 3 - End to End XSLT 2.0 (Part 1)


Direct Link (HD Version)


Demo 3 - End to End XSLT 2.0 (Part 2)


Direct Link (HD Version)

Monday, June 15, 2009

WAS XML Feature Pack Demo #2

As announced last week, I have created three new demos for the WAS XML Feature Pack.

I released the first demo two months ago introducing the XML Feature Pack:

Demo 1(Part 1, Part 2). Remember to click, view in HD.

In the second demo, I expand upon this same basic application to show how to use XPath 2.0 in and end-to-end J2EE application. In the demo, I show some of the new valuable features of XPath 2.0. Also, I show how to bridge the gap between Java and XML processing by showing binding of Java data to the XPath queries and calling user defined Java extension functions as part of the XPath processing. Finally, I show how to gather data from the returned XPath sequence cursors and how to integrate that data with Java beans.

Demo 2 - End to End XPath 2.0 (Part 1)


Direct Link (HD Version)


Demo 2 - End to End XPath 2.0 (Part 2)


Direct Link (HD Version)

Wednesday, June 10, 2009

WAS V7 XML Feature Pack Beta Refreshed (With focus on XSLT 2.0)

Today we have released an updated XML Feature Pack Beta. The beta is available here.

Since the first release two months ago (which had full XPath 2.0 and partial XSLT 2.0/XQuery 1.0), we have added quite a bit to XSLT 2.0 (making us nearly spec complete) and more to XQuery 1.0.

Among the biggest features added in the XSLT 2.0 area is XML Schema awareness. This includes validation which allows you to validate (make sure it contains data that is allowed per the schema) the incoming data to transformations, temporary trees of data, and output data from transformations. Also, as is important when working with vertical industry standard schemas, our schema awareness support includes schema assessment. This means that your XSLT stylesheets know when an attribute or element content is an integer or date and you can treat it as such. Taking this to the next level, if you extend your industry standard schema type of a bill of materials, you can write templates that match that type (schema-element(*, tns:BillOfMaterialsType)). In the past you would have had to made templates that were of the industry standard element names as well as all extending element names (tns:BillOfMaterialsName, mycompany:FullfillmentBillOfMaterialsName, mycompany:PurchasingBillOfMaterialsName, etc.).

Other new XSLT 2.0 features in this refresh are collections support (allows multiple input data sources in a well defined way), "undeclare-prefixes" serialization parameter(simplifies namespace in XML 1.1), next-match (allows you to call overridden templates) element, required parameters and "as" attributes (helps guarantee stylesheet elements are called correctly) and full support of XSLT keys.

Another major feature of this refresh is ability to pre-compile XML artifacts. This refresh contains tools that compile XPath, XSLT, and XQuery to java classes. These classes are basically the same logic that previously was interpreted by the XML runtime. However, with them now being compiled, they run much faster than interpreted. The refresh offers three modes:


  • interpreted - best when the XML artifacts are created ad hoc at runtime and not reused

  • compiled - best when the XML artifacts are created ad hoc at runtime but reused

  • pre-compiled - best when the XML artifacts are known at compile time of your application



We have also expanded our XQuery 1.0 support in this refresh.

Please let me know if any of these new features help you in your applications. I'm excited to hear of all the applications that are being tested against this functionality.

Finally, I have created another three demos to be posted on YouTube. Over the couple of days, I'll post them with links here. Hopefully they will help you understand how to use this functionality in your own applications.