<$BlogRSDUrl$>

Tuesday, June 28, 2005

Tambahan Tomcat

Utk install Tomcat 5 sebagai Service, bolehlah rujuk kat Administration Basics.


Tambahan Mysql

Utk setup Mysql sebagai Service dlm ms win ada 2 cara:
1. runkan 'winmysqladmin.exe' dan gambar lampu isyarat akan kelihatan kat Taskbar. Mysql-nt dah diregisterkan kat dlm Services.

2. runkan arahan
C:\mysql\bin> mysqld-max-nt --install



Tambahan lagi Jasperreports

Sekiranya dlm report, kita ada declare field yg berjenis java.lang.Integer yg mana ia merujuk kpd attribute/properties jenis int dlm data class kita, spt:
<field name="width" class="java.lang.Integer">
<fieldDescription><![CDATA[width]]></fieldDescription>
</field>


maka, apabila nak papar dia dlm textfield jasperreports, kita boleh guna arahan spt:
$F{width}.toString()


Maksud saya, tak perlu wujudkan satu lagi class yg mirip spt data class kita yg mana class mirip tersebut mengimplement semua primitive type sebagai Class (int jadi Integer, etc).


Tambahan lagi

Hooray! Dah berjaya download Eclipse ver 3.1. Dah unzip dan nak cuba sekejap lagi. Khabarnya ia lebih laju dpd ver 3.0. Harapnya la.


Tambahan Iraq

The Commander in Chief Furls 'Mission Accomplished'. Artikel tentang perjumpaan Bush dan perdana menteri Iraq, Ibrahim Jafari. Antara yg menarik:

"You have a great country," remarked a radio reporter, one of the five Iraqi journalists traveling with Jafari, as he and his colleagues snapped photos of one another before the event.

Minutes later, the same Iraqi journalist exposed a yawning expectations gap between the Iraqis and the Americans. "When will you begin the reconstruction in Iraq?" he asked Bush -- a question that seemed to take the president, who has already sunk a couple of hundred billion dollars into the occupation, by surprise.

"We are spending reconstruction money," Bush said. "But, you know, you need to ask that to the government. They're in charge. It's your government, not ours."

That didn't satisfy Jafari, who stood beside the natty Bush in creased suit pants and well-worn tasseled loafers. "We hope that Mr. Bush will try to redo a Marshall Plan, calling it the Bush Plan, to help Iraq, to help the Iraqi people," he urged. "And this would be a very wonderful step." The president, by way of reply, said "Good job" and led the prime minister to lunch.



Buku Patterns of Enterprise Application Architecture

Hmm... Pelik. Selalunya, saya suka dgn buku2 (spt analysis patterns dan refactoring) yg ditulis oleh mamat martin fowler ni. Tapi, setelah baca beberapa pattern dlm buku PoEAA dia ni, terasa kurang syok plak. Macam, tak banyak yg baru. Banyak yg telah digunakan sama ada pattern2 tu dah dipopularkan oleh orang lain atau tools/lib yg digunakan sudah pun implement pattern tu.

Pelik la. Terasa kecewa sikit. Hmm...


Tambahan

Eclipse 3.1 final has been released. Link ke eclipse. Setakat ini, saya masih tak berjaya walau utk pi ke main page mereka pun!!! Apatah lagi nak cuba download! Khabarnya, server mereka down krn terlalu ramai orang nak download. Kena tunggu la dulu.

Subclipse. Eclipse plugin utk Subversion.

Try Matisse, the new NetBeans GUI builder. Saya dah cuba netbeans 4.1 gui builder. Tak memberangsangkan. Semoga ver 4.2 yg ada sekali dgn matisse ini lebih bagus.

Instrumentation: Modify Applications with Java 5 Class File Transformations. Sape2 berminat nak buat pure java profiler sendiri menggunakan Java 5, boleh baca artikel ini sebagai permulaan.

General: Escape Special Characters With Jakarta Commons.

glassfish. App Server Sun yg baru, telah pun di"open source"kan.


Iraq

Dramatic photos from Iraq.




IReport/Jasperreports dan Image

Agak mudah utk memasukkan image ke dlm IReport. Dgn memilih image icon, kita boleh letak kedudukan image tu kat mana2 dlm report. Utk memilih image apa yg nak dipaparkan, double click dan pilih tab Image dan pilih image yg dikehendaki. Sepatutnya, image tu kelihatan.

Satu masalah dgn cara ini ialah, apabila deploy kat dlm web apps, atau kat apps pun, kedudukan image tu dah berubah iaitu ia bukan lagi berada dlm dir yg asal. Ini krn apabila image dipilih, lokasi sebenar image tersebut disimpan dlm file jasperreports dan bukan relative path.

Satu cara utk atasinya ialah dgn membuat satu method khas utk return lokasi image tersebut, relative kpd classpath. Method ini dideclare dlm file jasperreport dan dipanggil dlm control image, instead of path image tersebut.


Macam2

FiveSight PXE BPEL Engine Released as Open Source. Link ke PXE.

Java Plugin Framework (JPF) 0.6 Released. Link ke JPF.

DWR version 1.0RC1 Released. Khas utk peminat2 AJAX. Link ke DWR.

Comments: Post a Comment

This page is powered by Blogger. Isn't yours?