Category: Java

Java

Will Oracle kill Java and MySQL? 4

Will Oracle kill Java and MySQL?

Oracle is going to buy Sun and control Java and MYSQL.1
2
In an interesting post in ZDNET ,Mr Shuttleworth, the founder of Ubuntu is claimed to state that:

“.. he doesn’t seem too worried that the proprietary software company will kill Sun’s open source Java, OpenSolaris and MySQL jewels, in spite of Oracle’s hold on the database market.”

I am not sure I completely share his optimism. I am not so much worried about Java, there is no competition there. But think of it -If you were Oracle’s CEO, You just got the chance to kill the number one competitor product- Wouldn’t you want to kill MySQL?

Tip: how to write an XML document with JSP for AJAX applications 2

Tip: how to write an XML document with JSP for AJAX applications

AJAX applications usually connect to a server side application and request data in the form of XML. When the server side is written in JSP (Java Server Pages), for example a spring-framework web application with JSP views, writing the XML response is sometimes problematic.

The problem:

When using JSP to format the data in to XML and send it to the AJAX application, the XML is not recognized as XML (empty DOM object) and the AJAX application does not function properly.

Removing the Ant Configuration Selection in eclipse 10

Removing the Ant Configuration Selection in eclipse

When I updated to eclipse 3.2 I found a new irritating feature:

The problem:
The first time when selecting the Run As-> Ant build… on any of the ant tasks (targets) you have in your build.xml file, you get a window called “modify attributes and launch.”

After that any time you try to run an ant task (with or without the build…) you get an annoying “Ant Configuration Selection” window that makes the ant running process a click longer.