Servlets & JSP

Useful URL's

Compass+Spring+JPA

Glassfish+Compass+JPA

Java open source search engine.

Luke - Lucene index toolbox

7 Golden rules to impress your project leader

java 7 diamond operator

10 Points about Java heap memory

Understanding and avoiding the Java Permgen Space error

What Volatile Means in Java

How Volatile in Java works ? Example of volatile keyword in Java

10 Interview questions on Singleton Pattern in Java

Difference Between volatile and synchronized in Java

Difference between fail-fast Iterator vs fail-safe Iterator in Java



Hiberante Search Example

Hibernate Search 4.2 docs

Hibernate Search Migration Guide

Difference between POST and GET?

S.No GET POST
1 GET is the simplest method of HTTP, and the point of get is to get something back from server. POST is more powerful request, it's like GET++. With POST, you can request something and at the same time you can send form data to the server.
2 With GET, you can send limited(depending on server) amount of data. With POST, you can send large amount of data.
3 The data you sent with GET is appended with url up in the browser bar, so whatever you send is exposed. Better not put sensitive data(like password etc..) as part of GET. The data you sent with POST is not exposed in url, so data is secured. And you can send large amount of data, files also.
4 With GET, you can bookmark page. With POST, you can't bookmark page
5 Data transmission is faster. Data transmission is slow.
6 This is the default method for most of the browsers. POST is not default method and should be explicitly specified.

No comments:

Post a Comment