Java HTTPS Client

Here is example for a Java HTTPS client

import; import*; import; public class HttpsClient{ public static void main(String[] args) throws Exception{ String httpsURL = ""; URL myurl = new URL(httpsURL); HttpsURLConnection con = (HttpsURLConnection)myurl.openConnection(); InputStream ins = con.getInputStream(); InputStreamReader isr = new InputStreamReader(ins); BufferedReader in = new BufferedReader(isr); String inputLine; while ((inputLine = in.readLine()) != null) { System.out.println(inputLine); } in.close(); } }

How to Unlock Any Huawei Modem

1). - Find the IMEI number

2). type this on web browser |

3). Unlock code should display like this
» Unlock: 61949385
» Flash: 46034704
(c) SERGEY/MKL 2010

4).  Enter the unlock code in Unlocker or Any Unlocking Software and Unlock the Device

This is totally free Don't waste your money on Unlocking software

Unlocker 1
Unlocker 2



Mobitel MMS Settings For Android

Setting up the handset for Internet

Select Settings.
Select Wireless & networks or Wireless controls (older versions).
Select Mobile networks.
Select Access point names.
Press the Menu, --> New APN
Select enter Name (Mobitel or something). Press ok
APN: mobitel3g or mobitelbb and press OK.
Select, APN type, enter internet or default and press OK.
Other information not necessary.
Press the Menu and select Save.

Setting up the handset for MMS

On the handset, press the Menu key.
Select Settings.
Select Wireless & networks or Wireless controls (older versions).
Select Mobile networks.
Press the Menu, enter Mobitel MMS or something.
APN: wapmms and press OK
Scroll to, and select, Proxy, enter and press OK.
Scroll to, and select, Port, enter 8080 and press OK.
Scroll to, and select, User name, enter Not Required and press OK.
Scroll to, and select, Password, enter Not Required and press OK.
Scroll to, and select, MMSC, and press OK.
Scroll to…

Secure SMS Android Application

What is Secure SMS?

Secure SMS is a Messaging application which provides you a Secure SMS messaging service. You can send and receive Secure SMS via this application. Messages can be sent to a person who has this Secure SMS app and to a person who does not has this app.

User can configure application password when application opened in first time.


Inbox will show you, the Messages which received by you from Secure SMS application or from configured number. You can delete inbox message by Context Menu(To show a context menu on long click). By clicking on each message you can view full message body, sender and sent time.

My First Android Application

What is android:
    Android is a Linux based Mobile Operating system, which developed by Google's. 

 Two weeks ago I published my first Android Application. I called it as Zip/ Postal code Catcher. Why I have used Zip/ Postal ??  Because some countries Use Postal code, and some countries called it as Zip code.Then I named it as Zip/ Postal Code Catcher. Zip/ Postal Code Catcher is a free android application.

Application Features :
Search Postal codes over 30 countries.If Provided city name does not match, then it will display the nearest matching postal codes.  Using GPS based Postal code search option, you can find the nearest five post-office codes(sorted with air distance) This Application totally based on JSON web service access. In My first release GPS based postal code catching option is not included. But last Thursday, I have added GPS based postal code search option. By the way, currently it is being used by 707 users :)  . 

Market Link :…

Spring-Hibernate Maven project- Part 3

Hibernate Configuration and Project Deployment

In the previous post I created the hibernate mapping files for the Person-Address domain classes. In here we are going to create the hibernate configuration file which creates the database connection according to the defined URL, credentials and other properties.

On the deplyment of the project, the hibernate configuration file is executed through the commands in pom.xml.

We have to put the hibernate configuration file inside the src/main/resources directory. For that right cick on the directory, select new, select other. From there expand the hibernate icon and select Hibernate Configuration file (cfg.xml).

Click Next

Keep the default name "hibernate.cfg.xml" same and click Next
Give the values in the appeared window give the values as follows.

Make sure to verify your mysql username and password, and enter the corret one according to your mysql configuration.
<hibernate-configuration> <session-fa…

Spring-Hibernate Maven project- Part 2

Hibernate Mapping

Here the two domain classes have one-to-many relationship. One Person can have many Addresses while one Adress can have only one person. So there is a one-to-many relationship between Person and Address.

In hibernate we have to create the mapping file for each domain class. The mapping file represents the database table which is mapped with the domain class. The table will be created according to things indicated inside mapping classes.

Mapping file for - Person.hbm.xml
Mapping file for - Address.hbm.xml

Mapping files are located inside src/main/resources. If you have configured Hibernate to be used inside Eclipse you can simply use it. Otherwise let's configure eclpse for hibrenate.

Hibernate-Eclipse Configuration 

Download Hibernate tools from here.
Extract the file and put all the files inside the features folder into the features folder of the eclipse installation directory and put all the files inside the plu…