Skip to main content

· 2 min read

OC4J 10g (10.1.3) is a J2EE 1.4 containers, so as part of the specifications, it supports JMX for management and deployment. One of the benefits of JMX is the fact that finally Java applications, and in our case the J2EE containers, have a standard based interface to be administered. OC4J exposes using its MBean Server system and application lever management beans (MBeans) that you can monitor and control from the Oracle Application Server Control (ASC) that is pre-deployed; but you can use any JMX client application. Sun has included as part of Java 5 JMX but also provides a standard JMX client called JConsole. This post is simply explaining how you can use the Sun's JConsole with OC4J.

  1. Set the environment:
$ORACLE_HOME to the OC4J home

$JAVA_HOME your JDK home
  1. Start the OC4J with the following property set
$JAVA_HOME/bin/java -Dcom.sun.management.jmxremote -jar oc4j.jar

The -Dcom.sun.management.jmxremote system property creates an RMI connector to the MBeanServer, we will use this RMI connector from the console iself.

  1. Start the JConsole, with the following command, adding the OC4J administration class to the classpath.
$JAVA_HOME/bin/jconsole -J-Djava.class.path=$JAVA_HOME/lib/jconsole.jar:$JAVA_HOME/lib/tools.jar;$ORACLE_HOME/lib/adminclient.jar

  1. The console will automatically ask you to connect to the OC4J process and you can start to monitor and administer your OC4J instance

Connection to the OC4J MBean Server

Java 5 JConsole browsing the OC4J MBeans

· One min read

Zend Core for Oracle, developed in partnership with Zend Technologies, supports businesses using PHP with Oracle Database for mission-critical Web applications. It provides a seamless out-of-the-box experience delivering a stable, high performance, easy-to-install and supported PHP development and production environment fully integrated with the Oracle Database.

Zend Core for Oracle will be available as a free download from Zend in late 2005; it is currently available in Beta. Support and updates for Zend Core for Oracle will be made available directly from Zend.

Find more and download link from OTN.

· One min read

I have been playing around with Google Talk It is quite nice, once again I like the look... But I do not see 'revolutionnary' features... Like Skype I was able to use it at work IM and Voice chat... I like the fact that they document how to work around their lack of platform support... I would like to have a mac version... I am surprised that Mac users in Google did not yet implement it!

Fo developer perspective it is interesting to know that they use standard based protocol such as Jabber/XMPP, and they invite people to use the API (since open standard) and server... Take a look to the developer section of their documentation.

· 2 min read

This last 2 weeks have been kind of crazy for me, and for Oracle.. Last week we were present at the Oracle Developer Tools User Group, and immediately jump in for the 10th edition of JavaOne.

I was not able to attend as much sessions as I wanted, but I had the pleasure to work a lot on the Oracle Booth in the JavaOne Pavillion. I worked on the J2EE, JSF, BPEL and Web Services ones. It was really great, with lot of technical questions around our products; I have to say that this year we had lot of interest around JavaServer Faces and EJB.

And this has been even better after Thomas Kurian's keynote on Tuesday with the following annoucements:

  • Oracle is participating to MyFaces project. You can find more information on JavaServer Faces on OTN.

  • Oracle will lead the development of the JSF extension for Eclipse, as you may know Oracle JDeveloper, now free, has one of the most appealing JSF Designer tool. So we are currently porting this design tools inside Eclipse, to facilitate the adoption of Faces by the developers.

  • Mike Keith, Toplink Architect, will be now co-specification leader of the persistence specification. Also Oracle will develop the Reference Implementation of the persistence engine of the JEE 5 platform. As you may know you can already start to develop EJB 3.0 within the early implementation available on OTN. Note that the next release of Oracle Application Server 10g (10.1.3), EJB 3.0 will be supported.

  • As you may have seen some weeks ago, Oracle is also the lead in the Eclipse project to implement the EJB 3 tool.

  • Also still around Eclipse, Oracle, most successful player around BPEL, will continue the development of the BPEL deigner inside Eclipse and put that officially in the Eclipse Project. If you are not familiar with BPEL, I will invite you to jump to the OTN Web Site.

  • Last, but not least, Oracle JDeveloper is now free...

· One min read

Here we go, the first day of Java One is about to start; and here some of the cool stuff to do:

  • Next-Generation Web Services in the Java™ Platform (TS-7230 / 2:15pm)
  • Groovy = Java™ Technology+ Ruby + Python for the JVM™ (TS-3402 / 3:30pm)
  • Web Services in the Real World (TS-3999 / 4:45pm)
  • Java Web Services Development Using Annotations (TS-7964 / 6:00pm)
  • Writing Performant WSDLs to Build Enterprise Web Services Applications (BOF-9213 / 7:30)
  • OC4J: Meet the Developers (BOF-9024 / 9:30pm)
  • Ensuring 100% Application Portability with J2EE (BOF-9030 / 10:30pm)

Also I think the opening Sun's Keynote from 8:30 to 11:00 am will be I am sure a good starting point for this week !

Busy day isn't? (I am on duty the morning, will try to go to afternoon sessions...)

· 2 min read

The 2005 edition of JavaOne will be a very good one, at least based of what Oracle is planning to do.

Oracle Booth

I invite you to come on the Oracle booth (booth 625) where Oracle Developers and Product Managers will be pleased to talk, and demonstrate the latest technologies and their integration in our product (J2EE 1.4, EJB 3.0, JSF, BPEL, Web Services, RFID and more...). Like last year we provide you a chance to win lot of cool stuff. First of all enter a raffle for a chance to win a Sony PlayStation 2, Star Wars PC game packs, and Atari joysticks.

Also the first 500 people to submit an entry survey with a stamp from an Oracle demo pod will receive a ticket to see Star Wars III: Revenge of the Sith the evening of Tuesday, June 28.

I will be present on the J2EE Demo pod on Monday morning and I will be please to stamp you to offer you a ticket for the Stars Wars... but remember you can get a ticket for the space too -yes you can go to the space-, by participating to the Oracle Space Sweepstakes.

Meet the Gurus

The Oracle booth also is a place where you can meet several gurus for a presentation and discussion. Here some of the subjects that will be presented:

  • J2EE and EJB 3.0
  • JSF, and advanced HTML/AJaX features
  • SOA, BPEL
  • Apache Maven

You can find the schedule on OTN.

Sessions and BOF

Oracle is also proud to have 16 technical sessions and BOF, you can find the list of them here. One of them is my favorite:

  • "Oracle Application Server Containers for J2EE (OC4J): Meet the Developers". It will be Monday 27th at 9:30pm, this is the chance for you to meet, and interact with the J2EE and Web Services developers from Oracle.

See you there and enjoy JavaOne 2005!

· One min read

Google has released via its Google Code project an implementation of XSLT in javascript... Quite interesting to improve the development of AJaX based applications, I think this is the only reason to put the term AJaX in the project... But it is true that everytime you put AJaX in a title of something you are getting people interested...

The source code is available in sourceforge.

Feel free to post comments into the Google group created for this

· One min read

My Windows laptop has been infected by some viruses and adware -why I am not only using my Mac and Linux computers?-, so I just reinstalled the full OS.....

I just want to use my blog to thanks the small utility MozBackup that allowed to quickly backup and recover my Firefox and Thunderbird configuration and data!

Thanks again...