Java

How to Find Length of a Linked List? — step-by-step Programming tutorial on Progressive Robot

How to Find Length of a Linked List?

What is a Linked List? A linked list is a linear data structure used for storing collections of data Successive elements are connected by pointers The last element points to NULL Each element is a separate object and is called a Node Each node in a linked list comprises of two parts Data Reference to […]

Read more
Java Keytool Essentials: Working with Java Keystores — step-by-step Security tutorial on Progressive Robot

Java Keytool Essentials: Working with Java Keystores

Java Keytool is a key and certificate management tool that is used to manipulate Java Keystores, and is included with Java. A Java Keystore is a container for authorization certificates or public key certificates, and is often used by Java-based applications for encryption,…

Read more
SOAP Webservices in Java Example using Eclipse — step-by-step Programming tutorial on Progressive Robot

SOAP Webservices in Java Example using Eclipse

URL: https://www.progressiverobot.com/soap-webservices-in-java-example-eclipse/ Soap Webservices in java can be developed in may ways. We learned about [JAX-WS SOAP Web Services](/community/tutorials/jax-ws-tutorial) in our last tutorial, today we will learn how we can create SOAP web service and it's client program using Eclipse. Here we will not use JAX-WS, we will be using Apache Axis that is integrated […]

Read more
How to Sort a List in Java — step-by-step Programming tutorial on Progressive Robot

How to Sort a List in Java

URL: https://www.progressiverobot.com/java-sort-list/ Sometimes we have to sort a list in Java before processing its elements. In this tutorial, we will learn how to sort a list in the natural order. We will also learn how to use our own Comparator implementation to sort a list of objects. Java List is similar to arrays except that […]

Read more
Java append to file — step-by-step Programming tutorial on Progressive Robot

Java append to file

URL: https://www.progressiverobot.com/java-append-to-file/ Today we will look into how to append to a file in java. Java append to file is a common [java IO](/community/tutorials/java-io-tutorial) operation. For example, whenever we print something to server logs, it gets appended to the existing file. Java append to file We can append to file in java using following classes. […]

Read more
Session Management in Java - HttpServlet, Cookies, URL Rewriting — step-by-step Programming tutorial on Progressive Robot

Session Management in Java – HttpServlet, Cookies, URL Rewriting

URL: https://www.progressiverobot.com/java-session-management-servlet-httpsession-url-rewriting/ Session Management in Java Servlet Web Applications is a very interesting topic. Session in Java Servlet are managed through different ways, such as Cookies, HttpSession API, URL rewriting etc. ![Session Management in Java, Session in Java Servlet using Cookies, HttpServlet, URL Rewriting](images/java-session-management-servlet-httpsession-url-rewriting-section-1.png) This is the third article in the series of Web Applications […]

Read more
Proxy Design Pattern — step-by-step Programming tutorial on Progressive Robot

Proxy Design Pattern

URL: https://www.progressiverobot.com/proxy-design-pattern/ Proxy Design pattern is one of the Structural design pattern and in our opinion one of the simplest pattern to understand. Proxy Design Pattern ![proxy design pattern](images/proxy-design-pattern-section-1.png) Proxy design pattern intent according to GoF is: Provide a surrogate or placeholder for another object to control access to it. The definition itself is very […]

Read more
Permutations and Combinations in Python — step-by-step Python tutorial on Progressive Robot

Permutations and Combinations in Python

URL: https://www.progressiverobot.com/permutation-and-combinatios-in-python/ Permutations and Combinations of a set of elements are different arrangements of the elements of the set. Combination is a collection of the elements where the order doesn't matter Permutation is an arrangement of a set where the order does matter. Let's consider a set as : {A, B, C} The permutations of the above […]

Read more
How to Sort a HashMap by Value in Java? — step-by-step Programming tutorial on Progressive Robot

How to Sort a HashMap by Value in Java?

URL: https://www.progressiverobot.com/sort-hashmap-by-value-java/ HashMap in java provides quick lookups. They store items in "key, value" pairs. To get a value from the HashMap, we use the key corresponding to that entry. HashMaps are a good method for implementing Dictionaries and directories. Key and Value can be of different types (eg – String, Integer). We can sort […]

Read more
CHAT