In my previous spring tutorial, i’ve given simple example how to integrating Spring Framework with Hibernate through JPA. Now i’ll show you how to engaging Spring with Hibernate using Hibernate template on Spring. It’s easier than you connect using JPA. Because spring already build hibernate support. Continue reading
Tulisan ini sebenernya catatan dari keisengan gw. Beberapa waktu yang lalu gw beli antena 3g, sengaja gw beli karena gw sudah mulai bosen koneksi internet yang empot-empotan di rumah karena kurangnya signal di rumah gw. Apes emang, kondisi rumah gw yang jauh dari pusat kota bikin sinyal (gak cuma sinyal hape, tv atau radio juga) amat lemah di tempat gw. Boro-boro dapat sinyal 3g atau HSDPA, GPRS pun kadang-kadang susah. Apalagi di musim hujan kayak sekarang, susah banget nyambung. So, gw akhirnya beli antena 3g, gw beli yang kecilan dulu (7db), buat coba-coba. Lumayan bisa naik segitu dari sinyal rata-rata (< -100db), (Secara teory) cukup buat 1 bar sinyal 3g.
Let’s assume it just preview of Mac OS X Leopard, if you like this operating system and want to use Mac OS for daily use. please buy legal Mac OS Xversion, No guarantee if result of this tutorial will working properly in your box/machine and i’m not responsible if there’s a damages happen during or after installation process. However, Leopard officially worked only in Mac machine, others are illegal. If you understand and realized the risks, here we go. Continue reading
One of a lot of new feature of Ubuntu Karmic Koala (9.10) is GRUB2 (GRand Unified Bootloader 2). GRUB2 has replaced formerly known GRUB-Legacy (0.9x), which no longer being developed. It has significant different comparing with previous version, there is no longer /boot/grub/menu.lst file, GRUB2 boot menu handled by /boot/grub/grub.cfg. This file automatically generated when system boot. but how if we still want to use old stuff, For example, i didn’t succeed to configure this newest version for pc_efi boot, meanwhile i need this for dual booting with my OSX86. Continue reading
I got litle trouble after upgrading to karmic koala, since the upgrade I’ve had problems with usb-storage. After i plug the device, system not mount anything. Actually this issue happened in Jaunty, but finally working after i did litle trick, add this line into /etc/modules :
But in Karmic, it doesn’t work as i expected . This problem happened because device id 05c6:1000 is not initialized correctly and stopped with result :
[ 144.565583] usb 2-1: configuration #1 chosen from 1 choice [ 144.576078] usb-storage: probe of 2-1:1.0 failed with error -5
So i guess this happened in all devices which share these IDs (used by a Qualcomm chipset for storage device)
I wish i can find a solution immediately, Damn, i’ts so annoying if i remove first memory card from my mobile phone, then connected through Card Reader just for data exchange
Yesterday i’ve upgraded my ubuntu with latest version 9.10 (Karmic Koala). After installing a lot of application, i was trying to install my favorite IDE, Eclipse 3.5 (Galileo). but something goes wrong after. i was not able to push OK button or Cancel button etc.
At that time i tought that main problem is my eclipse. Before i upgraded to karmic. i was install some plugins. that doesn’t matter in 9.04. but after install fresh copier of Galileo i still found this problem. Finally i found it, the main problem is about in how eclipse use GTK. In linux eclipse use GTK Library for handling interface, so it can be more native look. Continue reading
A few months ago, i’ve read a tutorial about spring 2.5 writen by Endy Muhardin (one of JUG Indonesia Hall Of Fame), that tutorial explained bout newest features of Spring 2.5, this version now supports Annotation. Configuration is no longer always in xml file. this made our effort to build program pragmatically more easier to configure, faster and efficient.
But due to my bustle, and a regulation in place i work now. i have to leave Spring Frameworks. My project prefer choosing EJB3 and Struts2 as main developtment stack. the main reason is our client need a distributable application (even i know that spring support those too). Besides, developt a ORM for handling database using JPA is more interesting for me than other approach. One question is, how bout people who doesnt need EJB feature which needed heavy container like Glassfish or JBOSS to running their application?.
Fortunately, Spring support JPA for connecting to database, we can choose Hibernate or Toplink for JPA implementations. and it’s still can run in light web server like tomcat or jetty. i’ll give you very simple example using JPA+Hibernate in Spring 2.5. Continue reading