Code Explosion

Code that explodes conventions

Executing Linux command from Java

You know Linux commands are always fun. We always play on terminals. How about executing from our favorite language java? Then you need following class Now you can execute any … Continue reading

Rate this:

April 13, 2013 · Leave a Comment

Check out Birds Puzzle on Google Play

I have got an android app named Birds Puzzle in the android market. It is a kid friendly image slide puzzle game for Android displaying a set of bird picture … Continue reading

Rate this:

March 22, 2013 · Leave a Comment

How to decompile android apk to java source code?

I wrote another post with the same title here and it got a lot of comments and people wanted to know more, and some point some visitors was confused. so … Continue reading

Rate this:

March 22, 2013 · 1 Comment

How to enable usb debugging in ubuntu for nexus 7

get the terminal, type: sudo vi /etc/udev/rules.d/70-android.rules or sudo gedit /etc/udev/rules.d/70-android.rules and then add the following line: SUBSYSTEM==”usb”, ATTR{idVendor}==”18d1″, ATTR{idProduct}==”4e42″, MODE=”0666″

Rate this:

February 28, 2013 · Leave a Comment

DNS Explained

DNS মানে হলো Domain Name System. এটি ইন্টারনেট এর সবচেয়ে গুরুত্বপূর্ণ জিনিস। এটি ছাড়া ইন্টারনেট যেকোন মুহূর্তে ধসে পরতে বাধ্য। ডিএনএস না থাকা মানে No Internet, No facebook, No Google. … Continue reading

Rate this:

February 14, 2013 · Leave a Comment

Problems with unicode encoding in spring projects

I had a problem with the encoding of Unicode characters. I developed a simple web application with support for multiple languages​​, which is called internationalization or i18n. In this application, … Continue reading

Rate this:

December 14, 2012 · Leave a Comment

A brief introduction of String in Java

What is string? String is traditionally a sequence of characters. In Java string is an object and it is widely used in Java. String class is defined in java.lang package … Continue reading

Rate this:

December 6, 2012 · Leave a Comment

10 Things about Design

“Simplicity is the ultimate sophistication.” – da Vinci The best deliverable are prototypes. Sketching is the most effective design method. Creativity comes from everywhere. Design is writing. Interruption is the … Continue reading

Rate this:

November 20, 2012 · Leave a Comment

A list of really good user interface design resources

Here is the list of links I found from a question in Quora http://www.iconfinder.com/ http://ui-cloud.com/ http://fireworkswireframingkit.com/ http://www.webalys.com/design-interface-application-framework.php http://android-ui-utils.googlecode.com/hg/asset-studio/dist/index.html http://bestblogbox.com/freebies/all-in-one-web-elements-kit/ http://www.teehanlax.com/blog/ipad-gui-psd/ http://bestuipsd.blogspot.in/2011/07/125-free-web-ui-element-psd-packs.html http://dribbble.com/tags/free http://365psd.com/ http://www.premiumpixels.com/ http://pinterest.com/exuberantfool/gui-toolkit/ http://designmodo.com/freebies/ http://designmodo.com/impressionist-free/ http://designmodo.com/the-bricks/  

Rate this:

November 20, 2012 · Leave a Comment

Well-Grounded Java Developer

Reading Well-Grounded Java Developer by Benjamin J.Evans, Martijin Verburg. You must read this book if you are really  a java fanatic. you can read the review of this book here: … Continue reading

Rate this:

November 13, 2012 · Leave a Comment

State Diagram of Java Thread

Figure:  Java thread state diagram Runnable:  A thread becomes runnable when start() is called. It doesn’t mean that thread gets running immediately, rather it is pooled waiting for its turn … Continue reading

Rate this:

October 20, 2012 · Leave a Comment

Chain of responsibility pattern

Pattern name: Chain of responsibility What it is: Avoid coupling the sender of request to its receiver by giving more than one object to a chance to handle request. Chain … Continue reading

Rate this:

October 20, 2012 · Leave a Comment

CloudBess maven deployment Command

Deploy : deploy skipping test :

Rate this:

October 7, 2012 · Leave a Comment

Java Tutorial for Absolute Beginners Part 2

Rate this:

October 7, 2012 · Leave a Comment

Think twice before diving into ocean, check JOEL Test score

As we are graduating this year, most of us spend a significant amount of time looking for a job and certainly I do. There are always jobs out there but … Continue reading

Rate this:

October 5, 2012 · 2 Comments

For those who are disappointed for the lack of lambda expressions and some other functional features in Java

Today I just found a cool java library which made me really happy. It’s called op4j: Bending the Java spoon.  It is a Java library aimed at improving quality, semantics, … Continue reading

Rate this:

September 28, 2012 · Leave a Comment

How to encrypt password in Java

One of the most important security features used today are passwords. It is important for both you and all your users to have secured and unguessable passwords.  Passwords are always … Continue reading

Rate this:

September 28, 2012 · Leave a Comment

Java Tutorial for absolute beginners

  Once I have started to write Java Tutorial for absolute beginners. This one is the first shoot. I wanted to make it visual as much as possible. So here … Continue reading

Rate this:

September 23, 2012 · Leave a Comment

How to clean up unused imports in eclipse automatically

We sometime keep unused imports in our java source and eclipse shows them using a yellow flag which I hate most. So here’s the way to clean up unused imports. … Continue reading

Rate this:

September 20, 2012 · 2 Comments

Simple Caculator in Java got 10 thousends views

  When I was learning java, I wrote a simple calculator in java using basic swing and posted in a forum. And today I just looked, it has got 10 … Continue reading

Rate this:

September 11, 2012 · 2 Comments

Fun with Static import

  Static import is another interesting feature in java. We write,  System.out.println() method thousands of time during java coding. if you are lazy like me and don’t like to write … Continue reading

Rate this:

September 10, 2012 · Leave a Comment

find out the first non-repeated word in the file

Problem # 1: Suppose you have a plain text file. Write a simple java program to find out the first non-repeated word in the file. Note:  this problem is given … Continue reading

Rate this:

September 10, 2012 · 2 Comments

বস্তুগত ধারণা : পাঠ -২

Offline Version: download বস্তুগত ধারণা : পাঠ -২ Source Code: download source code গত পর্বে বলেছিলাম যে পাঠ-২ তে সব কিছু আরো ডিটেইল-এ বলবো। সুতরাং আজকের পর্ব পাঠ-১ এক এ … Continue reading

Rate this:

July 3, 2012 · 2 Comments

Generic CRUD DAO layer

The last few days I read about generic in java. I knew a little bit, again, I wanted to find out a bit more. So I started to dig on … Continue reading

Rate this:

June 26, 2012 · Leave a Comment

Mapping a boolean with hibernate

There is a concept called a soft delete. While working with different persistence framework, sometimes you may not want to completely delete an entity from the database. I was working … Continue reading

Rate this:

June 21, 2012 · 1 Comment

Inversion of Control and Dependency Injection: Part 2

এর আগের পোস্ট-এ ইনভার্সন অব কন্ট্রোল এবং ডিপেনডেন্সি ইনজেকশান এর ভেতরের কথা গুলো বলার চেষ্টা করেছি, এবার একটি উদাহরণ দেওয়া যাক। এই উদাহরণটির জন্যে আমি স্প্রিং ফ্রেমওয়ার্ক ব্যবহার করবো। আমি … Continue reading

Rate this:

June 18, 2012 · 3 Comments

Inversion of Control and Dependency Injection

এই বস্তুটা গত কয়েক বছরে বেশি আলোচিত জিনিস ছিল এবং এখনো আছে। একদম নতুন যারা তাদের এই জিনিসটা বুঝতে অনেক অসুবিধা হয়। কিন্তু জিনিসটা খুব বেশি কঠিন না। সহজ কথায় … Continue reading

Rate this:

June 10, 2012 · 5 Comments

বস্তুগত ধারণাঃ পাঠ-১

beআমি নিজেও ঠিক মতো বুঝি না এই বস্তু আসলে কি? আমার নিজের বুদ্ধিমত্তা অনেক কম বলে এখনো বুঝে উঠতে পারি নি, কিন্তু আমার ধারণা তোমরা যারা এই লেখাটি পড়ছো, তোমাদের … Continue reading

Rate this:

June 9, 2012 · 11 Comments

Drawback of MVC pattern I have noticed

I’m a big fan of MVC pattern. It’s definitely an excellent architectural pattern and it has done splendid job in last few years. But again, it has some drawback. The … Continue reading

Rate this:

May 23, 2012 · 3 Comments

What is java and Java virtual machine

You might have a lot of questions like what is java and what is java virtual machine especially if you are a beginner. My answer is very simple. Java is … Continue reading

Rate this:

May 9, 2012 · 1 Comment

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 291 other followers

RSS Jenkov.com

  • Java Exception Handling - New book published!
    Download this book for free from Amazon until and including march 1st! Exception handling is an aspect of Java development that has not received as much attention as it deserves. If you do not have exception handling under control, you risk that your application or data ends up in an unhealthy state, which can have serious consequences. That is why I wrote t […]
  • HTML4 Compressed - Kindle book published
    In this day and age it should be easy and cheap to learn HTML4, which everyone needs to learn in order to learn HTML5. Therefore I published this Kindle book which explains HTML4. The parts of HTML4 that is not removed in HTML5, that is.
  • jQuery Compressed - Updated
    I have updated the jQuery Compressed book to be compatible with version 1.9.1 of jQuery.
  • Displaying SVG in Browsers
    The SVG tutorial has been updated, showing how to include SVG in HTML pages using the img HTML element, or the SVG element.
  • Maven Tutorial.
    This Maven tutorial explains the core concepts of Maven which are important to understand for new Maven users.

my tweets

Follow

Get every new post delivered to your Inbox.

Join 291 other followers