01
Apr
Generics Feature in Java Programming Language
A major drive to the success of Object Oriented Programming Languages (OOP) is the support for code reusability.
Generics were introduced to allow us to provide abstraction over datatype.
For eg, during the use of a ArrayList,
ArrayList arrayList = new ArrayList();
arrayList.add(new String(“abc”));
String a = (String) arrayList.iterator().next();
The code above is perfectly fine; […]
Popularity: 6% [?]
Posted in Java | No Comments »
29
Mar
There are several things we need to do in the java client.
1) Create an URLConnection to the endpoint
2) Set the HttpRequest Header parameters
3) Send the XML file over (either by writing the whole file line by line thru the outputstream or read in the XML file from a FileReader and write the bytes over, we […]
Popularity: 8% [?]
Posted in Java | No Comments »
29
Mar
I was trying use one of the services provided by http://www.webserviceX.NET last night. It was supposed to be an relatively task, but I end up getting http 500 and 403 errors without know why.
Whats error code 500 and 405 anyway?
This is what wikipedia says
500 Internal Server Error
405 Method […]
Popularity: 7% [?]
Posted in Java | No Comments »