Jason Hunter has published an interesting article about new features added to servlet 2.5. The focus of this article is like most of the JEE 5 goals all about simplification, easy of use, this is done by leveraging Java5 annotations (resources refences, life cycle support,...), some improvements around the web.xml, and cross context sessions support.
Interested to know more about the Oracle Application Server 10g and the SOA/Java strategy? Take some time to read the SearchWebServices.com interview with Steve Harris, VP of the Java Platform Group at Oracle.
Addition on 30/12: follow TheServerServide discussion
You can find online the top 10 presentations of Oracle Open World 2005:
- Optimizing the Optimizer: Essential SQL Tuning Tips and Techniques
- 10 Things We Like About Oracle Database 10g Release 2
- PeopleSoft Enterprise, JD Edwards, and Oracle E-Business Suite Integration with Oracle Fusion Middleware
- The Future of Database and Information Technology
- Understanding Shared Pool Memory Structures: Tips on How to Optimize Usage and Avoid Errors
- Take the Guesswork Out of Database I/O Tuning
- Tuning Oracle SQL in the Real World
- What They Didn't Print in the Doc: High-Availability Best Practices from Oracle Maximum Availability
- Performance Diagnostics Demystified: Best Practices for Oracle Database 10g
- Best Practices for Oracle Database 10g Backup and Recovery
You have probably heard about Web Tools Platform (WTP), this project extends Eclipse with various tools for developping J2EE applications. It contains editors for HTML, JSP, XML and so more... In addition to various wizards to create Web Services, EJB, Connector and more... WTP allows developers to package the application using J2EE standard packagind: EAR,WAR,RAR,JAR and deploy and run the application from the IDE.
The challenge here is not how you build J2EE components using an IDE, but more how do you package, deploy and run your application easily from the IDE. Eclipse WTP allows you like Oracle JDeveloper does, to package the various J2EE components in standard archives (JAR, WAR, EAR, RAR, ...) and deploy them to a J2EE container. WTP project has a very nice list of containers you can deploy to: Oracle, IBM, BEA, JBoss, Tomcat, ...
With the latest build of Eclipse WTP (Release 1.0M8), Oracle Application Server 10g is now part of the default server list. So if your are an OracleAS user you can now use WTP and start to run and debut your application running in OracleAS from Eclipse.
What do you need to start using WTP and OracleAS:
- Download and install Eclipse WTP 1.0M8 from Eclipse site.
- Download and install OracleAS 10g (OC4J 10.1.3 Developer Preview 4) from OTN
- You must set a administrator password for OC4J using the start command
- Done! You can now use OC4J and Eclipse. I have a viewlet that shows the basic steps to create and run your first Web application.
Update (Nov,18) : I forgot to mention the Oracle Application Server Adapter tutorial from the Web Tools project.
I am using internally Blojsom for blogging about the product I am taking care of: OC4J and especially the Web Services stack. In this post I am quickly documenting, as the title says, how to install Blojsom on OracleAS 10g.
The first thing to do is to download the product itself, just download the Blojsom quickstart from sourceforge.
Since, Blojsom is distributed as a WAR file you have nothing special to do, just deploy it. Anyway I have created a viewlet that shows step by step deployment using Oracle Enterprise Manager.
So the application link will be:
Note: if you want to use the command line utility (admin.jar) or the Ant deployment task, you should package the Web archive in an EAR file.
The easiest way will be to just change the index.html page to redirect to the default blog. The index.html page to be modified is in:
blojsomXXXXis the name of the Web application generated during deployment.
This is it...
I would like react to last week marc andreessen's words (netscape founder during the php/zend conference andreessen basically says that PHP will beat Java and succeeds where Java is not. Most of the reasons that Andreesen used to justify this saying are because of PHP simplicity. Do you think he is talking about the language or the application server -yeah, let's call it this way... (J2EE...)..
Let's talk about J2EE first, it is true that when you take a look to the learning curve of J2EE and PHP it is a no brainer.. PHP is effectively more simple. But we can start with the acronyms themselves: J2EE==Enterprise, where PHP==Personal Home Page ( since then renamed Hypertext Processor). So from the origins the 2 technologies were not here to achieve the same goals. But PHP has proven that it could be used for complex application/Web sites, and still keep it simplicity.
So PHP is simple this is true, but Java on the server could be also. I think that the complexity comes from the fact that J2EE its expert always see an application as a enterprise application, and what that means in term of life cycle, development process, packaging and so on.... Why am I saying that it is coming from the expert? Just take a look to a PHP tutorial and a J2EE one? This is clear that you must be a very good and experienced developer to start with J2EE... But this is is not coming from the technologies, but mainly the way we talk about it. I think we should talk a little more about simple development with Java. For example focusing o JSP and JSTL for simple stuff. I agree that putting too much logic in JSP and reduce the number of layer is 'bad' for complex applications, but it could be used for some. Why do we need to always package a WAR or EAR file? Yes you can technically deploy exploded archive and modify the information after the fact. This is not necessary the best practices but it could be useful for some applications (not necessary only in development environment.
About the language itself, sure that Java is more complex, it is considerate as a System Level Language, where PHP is a scripting language. Do we still compare Shell and C? No we need both of them isn't?
Still skeptical about the simplicity of PHP, try it...
Still skeptical about Java being simple, try a scripting language... for example Groovy
In conclusion the platform of my dream should:
- Keep the simple case simple
- Made the impossible possible
And I am sure that Java is the good language and platform for that; but Groovy and other scripting languages will help. And I will also continue to develop using PHP too. And both worlds will coexists and be integrated using Web Services and or JSR-223.
I am just coming back for Toronto where I have been presenting Oracle Developer Day: SOA for J2EE Developers. As part of this exercise I have introduced Web Services and related technologies/standards.
A person in the audience asked me:
But can I do SOA Today? Are Web Services are mature enough?
I think that is a very interesting and valid question. The answer is certainly:
- Yes you can, and I would add, yes you should!!
Web Services are definitively big actors in Service Oriented Architecture since by definition they are loosely coupled, implementation agnostic and facilitate reusability. In the same time the concern of this person are justified since some important pieces of infrastructure are yet available in vendors solutions. Or if they exist they are proprietary and won't allow interoperability of the service with other stack... Losing interoperability is a big deal when you talk about Web Services since most of the time, if the designers want to use Web Services it is to be able to reuse it in various applications, independently of the platform where this application is running.
This morning I have been talking about the Oracle Database and Web Services. If you are Oracle 10g developer (Database or Application Server) you probably already know that you can publish PL/SQL stored procedure as Web Services... One of the new feature of our OracleAS 10.1.3 release is the fact that now you can publish SQL and DML as well. In this post I am quickly explaining the basic steps to publish a query as Web Service.
Oracle Developer Day](http://www.oracle.com/webapps/events/EventsDetail.jsp?p_eventId=9691&src=1587968&src=1587968&Act=43) is a free, hands-on workshop that will give you insight into the latest technologies in SOA and Java. You can choose from one of two topics:
- Track 1: Emerging SOA and J2EE technologies: EJB 3.0, JavaServer Faces and BPEL
- Track 2: Rapid J2EE Application Development for Forms and Designer Developers
Here the list of dates and cities:
- New York, NY – Thursday, September 29, 2005 – New York Metro Area Oracle User Group Day
- Pasadena, CA – Tuesday, October 11, 2005
- Toronto, Ontario – Tuesday October 18, 2005
- Montreal, Quebec – Thursday, October 20, 2005
- Columbus, OH – Monday, October 24, 2005
- Minneapolis, MN – Thursday, October 27, 2005
- Calgary, Alberta – Tuesday, November 1, 2005
You can now downlaod the Early Access 1 version of Oracle JDeveloper 10g (10.1.3) from OTN.