IT-eye weblog
I’ve just written my first entry for the new IT-eye weblog: Viewing changesets in CVS.
I’ve just written my first entry for the new IT-eye weblog: Viewing changesets in CVS.
Infoworld is reporting that JDeveloper will be gratis: Oracle to offer JDeveloper tool for free.
Out of the box, JDeveloper has a lot more functionality than Eclipse in many areas. Visual JSP editing, visual support for JSF, support for some of the UML diagrams, wizard support for it’s ORM frameworks ADF Business components and Toplink. It’s a good IDE, so if you haven’t tried it yet, you should.
It’s good to see all the effort Oracle is putting into Java these days: EJB 3.0 support in OC4j since last year, BPEL plugin for JDeveloper, BPEL engine, a really good set of JSF components, a Toplink plugin for Spring, support for xdoclet in JDeveloper.
There’s a very interesting post on Veerle’s blog: A response from an accessibility consultant from BlindSurfer. It seems like web standards, xhtml and css are not improving accessability for blind people, yet. Apparently, screenreader manufactures are as slow implementing support for web standards as some other big software companies. Worth a read.
This blog may look weird for a while, i’m upgrading it to wordpress 1.5.
Wilfred’s story about Jules de Ruijter’s presentation on their migration from Designer to Developer made it to OTN’s frontpage! I have to agree with Wilfred, the presenation, Oracle Designer versus Oracle JDeveloper, was really interesting, Jules is a good speaker who likes to provoke his audience.
Javaddicts and the Amis blog are reporting about executing pl/sql statements from Ant: Executing Oracle PL/SQL from Ant, Executing PL/SQL from ANT – how to keep the format straight.
I’ve also written an Ant target for my current project where we execute pl/sql. The pl/sql queries domain values from some tables and outputs an xml document containing these domains. The problem with Ant’s sql task is that it doesn’t display the output created using dbms_output. So i’ve extended the SQLExec class, to copy all the output created using dbms_output to standard out. This is done in the printDbmsOutputResults method:
*/
String getLineSql = “begin dbms_output.get_line(?,?); end;”;
CallableStatement stmt = conn.prepareCall(getLineSql);
boolean hasMore = true;
stmt.registerOutParameter(1, Types.VARCHAR);
stmt.registerOutParameter(2, Types.INTEGER); while (hasMore) {
boolean status = stmt.execute();
hasMore = (stmt.getInt(2) == 0); if (hasMore) {
out.println(stmt.getString(1));
}
}
stmt.close();
}
Interesting read about some new features in j2se 1.5: Five Favorite Features from 5.0. Good timing, as i started using jdk 1.5 this week: i’ve been trying Hibernate 3.0 with annotations. I’ve used Hibernate in the past in combination with xdoclet, switching to annotations is pretty straight forward.
Something you might run into when starting with annotations is the following error message:
Error(8): cannot find symbol
It’s not a very helpfull error message, but you can solve it by importing the class for the annotation you are using:
import javax.persistence.*;
@Entity
@Table(name="EMP")
public class Emp {
Powered by WordPress