Jon Maron from Oracle has just published an article about transaction processing in distributed SOA. You will learn in this article the challenges that you have when you want to manage transactions in a distributed Services Oriented Architecture running using Web Services.
Monday, November 29, 2004
Friday, November 26, 2004
J2EE 1.4 introduces a major release of JSP: 2.0. Here some of the cool new features:
- Direct usage of Expression Language (EL) in your JSP:
You do not need to put the EL in any tag now, just use it as needed:
<html>Find more about JSP 2.0 Expression Language in the J2EE 1.4 tutorial.
<head><title>JSP 2.0 new features</title></head>
- Easy tags creation with .tag files
It is now easier to create your own tags.
You just need to create a new .tag file (or .tagx if you want to use XML syntax) in the WEB-INF/tags directory of your Web application; or META-INF/tags if you want to package the Tags in Jar file. So creating a .tag file is easy, using the attribute directive. The following example is a new tag named mytag.tag that prints a title set using the attribute title, in the color specified in the attribute textColor.
<%@ attribute name="title" required="true" description="Title of the document"%>Here is the JSP that uses this new Tag:
<%@ attribute name="textColor" required="true" description="Color of the Title"%>
<%@ taglib tagdir="/WEB-INF/tags/" prefix="tags"%>
<tags:mytag title="My new JSP" textColor="blue"/>
Easy header and footer template using the prelude and coda includes:
In most of the Web application that I have built, I started by creating template for my HTML pages; most of them to handle header and footer. Oracle JSP implementation provides this for a while using the Global Include feature. JSP 2.0 introduces a standard way of doing that using prelude and coda includes. I *hate* the choice made by the spec to call that prelude and coda. May be good Java developer are necessary musicians, since this is commonly used there? Why not simply header/footer or using a prefix like pre.../post.... Anyway, that is not the point.
The way you can set a prelude and/or coda include to your JSPs is done with the new Web Descriptor tag: <jsp-property-group>. This new tag allows you to configure a set of JSP that matches a specific URL. Part of the subtags of <jsp-property-group> are:
- <include-coda> : the path to JSP fragment (.jspf) to include in the beginning all the JSP that matched the URL.
- ><include-prelude>:the path to the JSP fragment to include in the end all the JSP that matched the URL.
Friday, November 19, 2004
Oracle has published a new white paper about Service Oriented Architecture, and how Oracle Application Server 10g accelerates SOA development and deployment. Read the paper on the Oracle Web Site.
Wednesday, November 17, 2004
In the context of the 10th anniversary of Oracle TopLink, The Server Side published an interview of Mike Keith and Doug Clark, architect and product manager of TopLink. They talk about persistence in J2EE using EJB 3.0, but also the differences between TopLink and other persistence solutions...
Monday, November 15, 2004
Monday, November 8, 2004