Wow...
Is it a Desktop App?
nope.
Is it a simple web framework ?
nope...
Is it RIA Framework for java developers?
Yes.. It is.. It is very cool RIA for Java developer... The size of rendered pages is small compare to Other techonologies.
Wow... I was enjoyed IT Mill demos...
then, u should try once
http://www.itmill.com/itmill-toolkit/demos.htm
Wednesday, December 19, 2007
Antara Tanggungjawab, Kerjaya Dan Duit...
Kawan saya ahmad (Bukan nama sebenar). Dia sedang mencari jawapan untuk persoalan berikut
Yang manakah anda rasa penting di dalam pekerjaan anda?
1. Duit
Company 'A' membayar gaji sebanyak RM xxx, anda pun berkerja di company 'A'.. Kemudian, Company 'B' telah menawarkan gaji yang lebih tinggi dari company 'A'. Adakah anda akan berpindah ke company 'B', walaupun company 'A' masih memerlukan anda?
2. Kerjaya
Anda rasa anda boleh mendapat lebih pengalaman di dalam company 'B'. Dengan pengalaman di Company 'B', anda rasa kerjaya anda mungkin akan maju lebih setapak ke hadapan. Adakah anda akan berpindah ke Company'B' ?
3. Tanggungjawab
Anda rasa anda dapat membantu company 'A' utk menambah hasil pendapatan tetapi company 'A' tidak dapat merasai aura bantuan anda... Perlukah anda berpindah ke Company 'B' ?
4. Suasana persekitaran kerja / rakan²
Kebanyakan dari Kumpulan anda telah berhijrah keluar dari company 'A'. Lalu anda pun mengambil keputusan untuk keluar dari company 'A' tanpa mengetahui sebab sebenar untuk berhijrah ke company lain ( kes ikut org)...
Apa² pun jawapan anda, Anda seharusnya kerja seikhlas mungkin..
Sbb sumber rezeki datang dari yang ESA...
Semoga perkerjaan anda diberkati olehNya.
Siapakah ahmad di dalam cerita ini??? hehehehe..
Yang manakah anda rasa penting di dalam pekerjaan anda?
1. Duit
Company 'A' membayar gaji sebanyak RM xxx, anda pun berkerja di company 'A'.. Kemudian, Company 'B' telah menawarkan gaji yang lebih tinggi dari company 'A'. Adakah anda akan berpindah ke company 'B', walaupun company 'A' masih memerlukan anda?
2. Kerjaya
Anda rasa anda boleh mendapat lebih pengalaman di dalam company 'B'. Dengan pengalaman di Company 'B', anda rasa kerjaya anda mungkin akan maju lebih setapak ke hadapan. Adakah anda akan berpindah ke Company'B' ?
3. Tanggungjawab
Anda rasa anda dapat membantu company 'A' utk menambah hasil pendapatan tetapi company 'A' tidak dapat merasai aura bantuan anda... Perlukah anda berpindah ke Company 'B' ?
4. Suasana persekitaran kerja / rakan²
Kebanyakan dari Kumpulan anda telah berhijrah keluar dari company 'A'. Lalu anda pun mengambil keputusan untuk keluar dari company 'A' tanpa mengetahui sebab sebenar untuk berhijrah ke company lain ( kes ikut org)...
Apa² pun jawapan anda, Anda seharusnya kerja seikhlas mungkin..
Sbb sumber rezeki datang dari yang ESA...
Semoga perkerjaan anda diberkati olehNya.
Siapakah ahmad di dalam cerita ini??? hehehehe..
Tuesday, December 4, 2007
apply struts 1 taglib on struts 2
the below codes was failed
<-s:iterator value=results /->
<-fmt:formatNumber value="<-s:property value="score' />" />
<-/s:iterator->
Then,
the below codes was running
<-s:iterator value=results /->
<-bean:write name="score" pattern="##.00" />
<-bean:write name="date" pattern="dd/MM/yyyy" />
<-/s:iterator->
we need to do the below steps first:
1. put this tags "<%@ taglib prefix="bean" uri="/tags/bean" %>" on the top of ur codes.
2. append the below code in ur web.xml
/tags/bean
/WEB-INF/tld/struts-bean.tld
3. u should hv the struts1 library and put in ur webapp lib..
4. good luck.. hehehe
This case was solved and closed...
:D
<-s:iterator value=results /->
<-fmt:formatNumber value="<-s:property value="score' />" />
<-/s:iterator->
Then,
the below codes was running
<-s:iterator value=results /->
<-bean:write name="score" pattern="##.00" />
<-bean:write name="date" pattern="dd/MM/yyyy" />
<-/s:iterator->
we need to do the below steps first:
1. put this tags "<%@ taglib prefix="bean" uri="/tags/bean" %>" on the top of ur codes.
2. append the below code in ur web.xml
3. u should hv the struts1 library and put in ur webapp lib..
4. good luck.. hehehe
This case was solved and closed...
:D
Saturday, December 1, 2007
Webwork /Struts 2 does not expose objects to JSTL by default
Arghhh....
Finally i stuck on webwork / struts 2.. it is because of the Ognl expression..
my codes cannot run becoz of that
The codes are below
<-s:iterator value=results /->
<-fmt:formatNumber value="<-s:property value="score' />" />
<-/s:iterator->
is there any option in webwork?
for more explaination, go to the below links
http://tersesystems.com/post/8500058.jhtml
Finally i stuck on webwork / struts 2.. it is because of the Ognl expression..
my codes cannot run becoz of that
The codes are below
<-s:iterator value=results /->
<-fmt:formatNumber value="<-s:property value="score' />" />
<-/s:iterator->
is there any option in webwork?
for more explaination, go to the below links
http://tersesystems.com/post/8500058.jhtml
Saturday, November 3, 2007
Monday, October 29, 2007
.NET Day 1/ Hari Pertama .NET utk aku
Hahahaha.... Hari ini aku berjaya membuat web app pakai .NET dlm C#.. simple² jer...
buat ajax calendar pulak tu..
pastu belajar la apa yg dipanggil script manager.. update panel..
bawah ni gambarnya..
sila focus kat url & page size.... besar gile file yg dirender... kat tempat aku nih mesti page tak kuar langsung...
.
buat ajax calendar pulak tu..
pastu belajar la apa yg dipanggil script manager.. update panel..
bawah ni gambarnya..
sila focus kat url & page size.... besar gile file yg dirender... kat tempat aku nih mesti page tak kuar langsung...
.
Friday, September 21, 2007
Tip-tip hibernate
- Gunakan version yang terkini walaupun beta and banyak feature² baru menarik dan berguna.. senang cerita gunakan Hibernate 3.
- Buat semua associations lazy(Hibernate 3 telah setkannya secara default) dan pilih utk join atau fetch secara eager utk spesifik use-case.
- Definasikan strategi pengurusan session terlebih dahulu. Mungkin, kita akan menggunakan
- satu session per request,
- session per request with detached objects,
- session per application transaksi acros multiple request, dll.
- Definisikan startegi flush terlebih dahulu.
- Hibernate auto-flush
- definisikan sendiri synchronization points di mana flush ke db diperlukan
- Definisikan strategi caching terlebih dahulu utk
- data transaksi
- data yg dillookup tetapi berubah² utk dlm short period.. gunakan open source product spt OSCache.
- Cachekan entiti-entiti anda dan pastikan ia turut diaplikasikan kepada association mapping spt(set,map,bag,list)
- Pilih join yg betul utk entiti one-to-many, many-to-many associations, set nilai saiz batch
utk koleksi sekiranya anda mendapatkan data secara eagerly. - Gunakan optimistic concurreny melalui kolum version sekiranya boleh. Timestamp pun boleh juga. tetapi tidak dijamin. selebihnya translate lah sendiri..
- Understand the lifecycle of identifier creation. If you are using sequences or other database-generated identifiers, your identifiers won't be set until the new entity has been saved to the database. If you use the identifier as part of your equals() and hashCode() implementation, this means that if you add the entity to a Set before you save it, you won't be able to find it again after it's saved. I've gone to UUIDs assigned in the constructor of the entity instances for this reason, and it makes life much easier. I've heard that some people, faced with this, have made their hashCode() implementation always return the same number for every instance of an entity. While this technically fulfills the contract of hashCode() it's hardly optimal.
- Set your IDE up with a reference to the Hibernate source code of the distribution you are using so you can trace into it. Not only will it help you understand what's causing the behavior you're seeing, but it will help you understand how Hibernate works.
- Understand the 2nd level cache (and understand that the Session is your 1st level cache). Understand how it caches your entity data (as a Map of identifier to Array of field values) and collections (it just saves the identifiers and re-constitutes the objects from the entity cache).
- Go buy Hibernate in Action. It covers Hibernate 2.1 but the ideas are the same, there are just some new features in 3.0.
- Speaking of new features, look at Filters. I haven't had a chance to use them yet, but the mere fact that they make the effective date problem so easy makes them a huge win. They can also let you find the number of records in a collection, etc. without having to load the whole thing, very nice.
- Baseline your first working setup with memory and CPU profilers and also with a SQL profiler like IronTrack SQL, then re-run your test cases with the profilers for every configuration tweak to see what the effects are.
Subscribe to:
Posts (Atom)