Tuesday, April 12, 2005

Infoworld about OracleAS 10gR2: Write once, run everywhere -- no kidding

As you can guess, when you work on a product it is always a pleasure to see good feedback, from end users, or from the media...

Tom Yager, from InfoWorld has published an article about Oracle Application Server 10g R2.

oracleas10gr2.jpg Infoworld ©

Here some of the comments:

“I’m extremely impressed with AS 10g Release 2 as a commercial product. Oracle has designed a valuable feature set built on top of J2EE 1.3, optimizing it for SOAs (service-oriented architectures), BPEL (Business Process Execution Language), BPM, pervasive support of XML, and real-time business intelligence, among many, many other things.”

“But I’m just as impressed with the clear emphasis Oracle has placed on complying not only with the letter of Java server standards, but with their “write once, run anywhere” spirit. You get to choose whether you want to bind yourself to Oracle’s extras. AS 10g Release 2 permits, and even automates, deployment to and management of non-Oracle Java app servers that adhere to the J2EE 1.3 standard. And if you do this, there are no subtle glitches meant to prod you toward paying for Oracle’s server.”

“After several weeks of living with AS 10g Release 2, I found that Oracle’s added value is nothing short of spectacular for enterprise applications and well worth paying for.”

“The myth of “write once, run anywhere” has been turned on its head. With AS 10g Release 2, Oracle has delivered on that age-old promise as well as a software giant can.”

Feel free to drop me comments about your experience with OracleAS 10g...

Friday, April 8, 2005

JavaPolis Survey: Which Persistence...

JavaPolis is offering a survey about Persistence Technology, if you have not voted yet go on JavaPolis Web site.

Wednesday, April 6, 2005

yagoohoogle : the best of both world.. in a simple way

A friend of mine send me this funny and useful link http://www.yagoohoogle.com/... Just simple and neat.

Thursday, March 31, 2005

Simplified Development using EJB 3.0: Raghu Kodali tested it for us

Raghu just posted an interesting article asking the question "Does EJB 3.0 really make application development easy?". So as you will see EJB 3.0 does simplify the development by reducing the number of source and descriptor files that you have to manipulate. (I won't go in the detail of the number of lines of Java or XML). What I really like about EJB 3.0 is not only the fact that Entity bean are POJOs, but also that now you can read the code and understand how the application is build, thanks to the annotations! I am sure that if you got the EJB 2.x genes you do not find them complex, but I did not have this mutation... I am inviting you to download the Oracle EJB 3.0 Developer Preview to be more familiar with this technology.

Monday, March 28, 2005

What to think about all the Ajax noise?

In the last 2 months the blogosphere has been very verbal about Ajax technology that describe a way of doing Rich UI using DHTML, Javascript and XML over HTTP. If you are not already familiar with the concept the article "Ajax: A New Approach to Web Applications" by Jesse James Garrett is a very good introduction.

For me, it is the first time that finally we have something really new in term of UI that is compliant with most of the modern architectures that are server side Java based. You can argue that Flex, OpenLazlo, ..., are very good and powerful, but first of all they use a proprietary plugin and really integrated with the development approach that most of the Java developers are currently using (MVC based on Struts, JSF or others). What get me very excited about Ajax is the fact that finally we can see Web Development giving an easy and standard/open way of creating rich client.

If you search around Ajax your will see that more and more framework are providing integration of Ajax technologies into their solution. What I see as the biggest move is the adoption of Ajax by JavaServer Faces, and simply because it is the J2EE standard for Java Web Development. I am sure that lot of you will say that Tapestry,ROR and other existing frameworks are providing the integration now, so why bother with JSF... Hmmm, I will say that all the current solution as still geek oriented and really focus on the core developers... What I see with JSF/Ajax integration is finally enterprise developers, that are used to 4GL development tools, (where the most important part is to develop business logic not a nice framework or a new set of libraries) will be able to develop Web Applications based on components that are smart enough to give the usability of a desktop application.

To give an idea of what I mean, you can take a look to Oracle ADF Faces components some of them are really powerful and provide rich interactivity to the user. One example is the Oracle Table Component that support pagination (next/previous) without refreshing the whole page. As a developer you drop the component on your page, set the properties, and done! You do not have to care about any HTML or Javascript coding. And this using a standard based faces components that you can use in any Web Container and even IDE. I know that the ADF Faces components are not using the sames stack as Ajax (eg: XML over HTTP) but this is just an example of what will be the experience for a developer and a user.

Sunday, March 27, 2005

New Oracle Products on OTN

Oracle BPEL Process Manager 10.1.2 Beta-3 Preview
BPEL PM 10.1.2 Beta 3 is now available on OTN. One of the biggest new, is the fact that the BPEL Designer is now based on Oracle JDeveloper and provide much more functionnalities than previous release.

Oracle Drive Preview Release
Oracle Drive Preview Release is a powerful WebDAV client that allows Portal content management and publishing directly from your Windows Desktop; Key Highlights:

  • Mount the Portal Repository as a Windows Drive
  • Get Portal specific menu options to set properties, ACL information, preview content and pages, etc
  • Access the Portal repository with a command line utility
  • Search from your Windows Explorer
  • Perform Virus check on the Portal Repository
  • Work with offline content and synchronize when online
  • Edit content with any available Editor
You can see a demonstration of Oracle Drive on OTN.

Saturday, March 26, 2005

PHP on OC4J??? Yes with JSR 223 RI

In this entry I am explaining how to use the JSR-223 Reference Implementation into Oracle Containers for J2EE (OC4J).

Note: I have done this only on Windows XP Platform, I did not test on Unix/Linux yet.

1-The first thing to do is to download the JSR-223 Reference Implementation from the JCP Web site.

2- Unzip the sjp-1_0-ea-windows-i586.zip in a directory let say d:\java\jsr223-ri.

3- You can choose here to do a proper installation (requires perl) or not. The *proper* installation preconfigure Apache Tomcat and the JSR-223 command line demonstration. Since what we are trying to achieve is to install the RI inside OC4J you do not need to do the installation.

4- Download this zip file that contains a Ant task and various files to configure and deploy the JSR223 sample into OC4J.

   4.1 To execute the Ant script you must start to set the following environman variables:

  • JAVA_HOME that points to the JDK home
  • ORACLE_HOME that points to the OC4J home (eg: d:\oracle\oc4j)
  • JSR223_HOME that points to directory where you have unzipped the JSR223 RI (eg d:\java\jsr223)

   4.2 Create a startup script for OC4J using the command

ant
The default target create a script names start-jsr223.bat in the %ORACLE_HOME%\bin directory. This script set various environment variable and start OC4J with the correct system parameters to load correctly the PHP scrip engine from Java.

   4.3 Start OC4J using the created script

%ORACLE_HOME%\bin\start-jsr223.bat

   4.4 Package and Deploy the Sample Application

ant deploy
This target packacge the Web samples from the reference implementation in a ear/war file, modifying the web.xml to define the different servlet mapping needed by JSR223.

5 Use the sample application

http://localhost:8888/jsr-223

You can start to use PHP in OC4J ;-) Take some time to read the sample code and specifications. JSR-223 is not only for Web container but also for JS2E, it is so interesting that the JSR-223 will probably be part of Mustang...