, ,

Android Get Current Location from GPS or Internet/Data

August 9, 2014

Android has a feature of getting your current location by running the device’s Global Positioning System (GPS) or connecting to your wifi or network provider’s data.   1. We need to use the getSystemService method from Activity object to get the Location Service and cast it as Location Manager. public class MyActivity extends Activity{ protected[...]

,

Java wrong or old version in cmd

July 13, 2014

Did you encounter having different versions of java? When you run java -version in cmd or command prompt it says a different version versus the one you actually installed on your machine. I’ts either you installed a higher version then decided to point the JAVA_HOME class path to an older[...]

, ,

Spring Web MVC 4 easy tutorial

July 12, 2014

Spring is a java based framework that has a lot of features to offer, if you’re new to spring go to Spring Wiki. You can visit their documentations here Spring,  I bet you wont read them until you get to feel it first. I’ll create a simple web mvc for you[...]

, ,

Sample Spring Hibernate Project

July 8, 2014

This is an old version of the tutorial! To see the new version click here For those peeps who wants to learn java frameworks like hibernate, spring, servlets and jsp, this pre-configured project can help you start from scratch. I used hibernate mapping here but it is annotation ready. Any questions[...]

, ,

Eclipse Source not found.

June 18, 2014

Eclipse is an IDE that lets you debug your java code locally, meaning your code and application must be in the same machine, but when you need to debug your code while the application is sitting on a different machine, you need to do a remote debugging. It’s easy to[...]

, ,

Kill Java Weblogic processes in linux

June 10, 2014

Before explaining the problem and solution, let me explain first a short background about the Weblogic. Weblogic is a J2EE application server that supports an enterprise application integration platform, an http web server, has a message capabilities and a lot more. In my own opinion this is one of my[...]

,

Project Lombok not working.

May 9, 2014

Project lombok is a library for making your code clean and hassle free from adding extra codes in your java class. For instance, when you add a variable in your java class you will be needing to add the setter and getter in your class, I know it’s easy eclipse[...]