Tug’s Blog

Redis, NoSQL and more…

At Oracle Open World All the Week

| Comments

As you may know this is Oracle Open World this week in San Francisco… I am working there all week mainly on the OC4J and JDeveloper demo pods. Come to see the new version that help you to develop J2EE and Web Services. Also I am presenting Thursday at 4pm a paper about Service Oriented Architecture (SOA) and Event Driven Architecture (EDA)

I invite you to join this feast… if you can not take a look to the OTN at Oracle World blog, that highlights important keynotes, session and demoground activities…

You can also take a look to the official Oracle Open World Web site

New OC4J and JDeveloper Release Available

| Comments

Oracle Containers for J2EE 10g (10.1.3) Developer Preview

This fully J2EE 1.4 compatible release of OC4J offers improvements in classloading, data-source consolidation and configuration, TopLink integration and many other areas. This release also delivers a host of new capabilities in the area of Web Services, including management capabilities to enable and disable services and to configure message reliability, logging and security options. The brand new browser-based Enterprise Manager Application Server Control management console provides deployment, management and monitoring of all types of J2EE applications using the new standard JMX (JSR-77) and Deployment (JSR-88) APIs.

Download it now and experience OC4J for yourself: http://www.oracle.com/technology/tech/java/oc4j/1013

Oracle JDeveloper 10g (10.1.3) Developer Preview

The focus of this release has been to increase developer productivity, improve the user interface, and reduce the footprint. This Developer Preview release is intended to give you a sneak peek at the developer goodness to come and solicit your feedback. This release is the most substantial and ground-breaking we’ve had in years, adding many new features – including a new look and feel, greatly improved coding environment, extensive refactoring options, J2EE 1.4/J2SE 5.0 support, and visual JSF development. We encourage you to take it for a spin.

Download the product and check out the related resources at http://www.oracle.com/technology/products/jdev/101/

Windows User Finally You Will Be Able to Use Konfabulator

| Comments

One of my favorites tools on my Mac is Konfabulator that allows you to create -or use prebuilt- application called Widgets. This Widgets are for example battery level, weather, see the Widget Gallery.

The reason why I love it is not necessary the list of existing one, but more because you can very easily develop yours using Javascript. Dowload it and start to develop your widgets, developer guide, javascript reference are available in the Konfabulator Workshop

HTML/Javascript Tip: Refreshing an Image Not the Full Page

| Comments

I was discussing with a friend about the creation of a monitoring dashboard in HTML. As any monitoring tool you want to be able to see the information in real-time, so you need to refresh the content….

One way of doing it is to refresh the whole page and this is easy, just use the meta tag: <META HTTP-EQUIV="Refresh" CONTENT="5; URL=http://www.grallandco.com/" > where 5 is the number of seconds between each refresh.

Javascript allows you to easily refresh a specific image of your page (a chart for example):

1
2
3
4
5
6
7
8
9
10
11
<img src="myChartServlet" name="chart1"/>
<script language="JavaScript">
  function loadImage() {
    var now = new Date();
    if (document.images) {
      document.images.chart1.src = 'myChartServlet?time='+now.getTime(); // add the time to avoid caching
    }
    setTimeout('loadImage()',1000);
  }
  setTimeout('loadImage()',1000);
</script>

You can obviously make the whole think dynamic and configurable…