snippetjournal

– notes, snippet codes, and my journal

Archive for November 2013

Full Web App JSF – EJB – Hibernate Tutorial

leave a comment »

Full Web App JSF – EJB – Hibernate Tutorial

Tutorial Web Application untuk JSF – EJB – Hibernate

  • JSF 2.0 Mojarra – With ManagedBeans as RequestScope and SessionScope.
  • Message Internationalization – File that will have all the messages of our system; it will be easier to translate you pages.
  • Default CSS file that will be imported as a library.
  • EJB 3 – Our DAOs and Façades will be @Stateless.
  • Generic DAO – A generic DAO that will have the CRUD actions to make our life easier.
  • JPA 2 – To map our classes in the DB
  • JAAS – To control the login and the user access to the pages.
  • MVC – I will use this pattern with small modifications.
  • Postgres as database, but I will show how to set up your app to MySQL also.

Written by snippetjournal

November 30, 2013 at 8:19 am

Posted in Collection Link, Programming

Tagged with , , , ,

Tentang Merantau

leave a comment »

Nasihat Imam Syafii ( Merantau)
Orang berilmu dan beradab tidak akan diam di kampung halaman
Tinggalkan negerimu dan merantaulah ke negeri orang
Merantaulah, kau akan dapatkan pengganti dari kerabat dan kawan
Berlelah-lelahlah, manisnya hidup terasa setelah lelah berjuang

Aku melihat air menjadi rusak karena diam tertahan
Jika mengalir menjadi jernih, jika tidak, kan keruh menggenang

Singa jika tak tinggalkan sarang tak akan dapat mangsa
Anak panah jika tak tinggalkan busur tidak akan kena sasaran

Jika matahari di orbitnya tidak bergerak dan terus diam
Tentu manusia bosan padanya dan enggan memandang

Bijih emas bagaikan tanah biasa sebelum digali dari tambang
Kayu gaharu tak ubahnya seperti kayu biasa
Jika didalam hutan

Author : Imam Syafii
(Dikutip dari novel Negeri 5 Menara. By: Ahmad Fuadi)

 

Written by snippetjournal

November 27, 2013 at 2:24 am

Posted in Random Quotes

Code Written By A Student, At A Hackathon, At A Startup, At A Large Company, By A Math Ph.D. And Your Cat

leave a comment »

Code Written By A Student, At A Hackathon, At A Startup, At A Large Company, By A Math Ph.D. And Your Cat

Code Written By A Student, At A Hackathon, At A Startup, At A Large Company, By A Math Ph.D. And Your Cat

Written by snippetjournal

November 22, 2013 at 8:39 am

Ali bin Abi Thalin Quotes

leave a comment »

“Do not raise your children the way [your] parents raised you, they were born for a different time.”
– Ali Bin Abi Thalib

“There is no wealth like knowledge, no poverty like ignorance”
– Ali Bin Abi Thalib

“Ikatlah ilmu dengan menuliskannya (Tie science by writing)”
– Ali Bin Abi Thalib, The Best Advices of Sayyidina Ali for Leader

Written by snippetjournal

November 22, 2013 at 3:49 am

Posted in Random Quotes

covariance and contravariance

leave a comment »

http://java.dzone.com/articles/covariance-and-contravariance

Penjelasan covariance dan contravariance, terkadang sering di tanyakan pada interview middle developer/programmer

Written by snippetjournal

November 21, 2013 at 7:15 am

Parallax web Tutorials

leave a comment »

Parallax web Tutorials

Tutorial web paralax yang sedang trends saat saat ini.

Written by snippetjournal

November 21, 2013 at 6:42 am

Posted in Collection Link

Komunitas Indonesia Berdaya

leave a comment »

indonesia berdaya

Berawal dari kepedulian kepada pedagang-pedagang kecil, maka lahirlah nama dan konsep Indonesia Berdaya pada Maret 2012. Alhamdulillah, melalui konsep dan program sederhana ini, sudah ribuan orang tersantuni. Kemudian pada September 2013 konsep ini diperkuat dan diperkaya oleh sekelompok pengusaha dan motivator, menjadi jauh lebih strategis dan benar-benar multi-effect. Yaitu sedekah bersama yang diarahkan untuk pembelian aset-aset menguntungkan dan lahan-lahan produktif, yang hasilnya 100% untuk anak-anak yatim di sekitar aset tersebut. Jadilah sedekah produktif. Jadilah wakaf abadi.

click the link for more information 🙂

Written by snippetjournal

November 21, 2013 at 6:20 am