Lambda Expressions as Arguments Remember one thing we discussed in the previous part while going through lambda expressions ? – This was the question “How do a filter operation accept a predicate to do the filtering and how do forEach consume or process each elements of the stream”. We can achieve this with the help … More A Dance with Java Streams – Part 2
Prologue… Streams – Yes! I am familiar with this term. I have came across this while working with Java input output library. I remember using InputStream and OutputStream classes. They provide an abstraction over the files and make playing with files real fun. No idea why did they name new feature of Java 8 “Streams”. … More A Dance with Java Streams – Part 1
Hello everyone, today we will see how to write and compile our GreetingServlet class. In the previous part of the series we saw the code template of our servlet class. Did you notice the doGet() method body ? There are only two comments and nothing else is written in the method body. Before start writing … More Into the Web – Part 5
In the previous part we have seen how to send a GET request to the server from your web page. Alright! – Now what ? We will see how the server accept the request with the help of Servlets! The Lifecycle When a web server receive the request for a servlet, the server maps the … More Into the Web – Part 4
Happy to announce that we support syntax highlighting in code snippets using GitHub Gist 🙂 Moving forward you will see syntax highlighted code snippets in our tutorials. So what is Gist ? – Its about sharing our Work! we can share a file, parts of the source code or full application. Below given is a … More Now Supports Gist!
Our next aim is to create Servlet and see how it respond to client request and send response back to client. So we’ve got two tasks. One – Send a request and two – Receive the response. Here, in this part of “In to the Web” we will see how to create an HTML page … More Into the Web – Part 3
When we look into the code we write, we always go through an indefinite thought process and it stops at simple question in the end “How I can make it Better?”. The word “Better” will stay with you and it will give you some kind of superpower to analyze and breakdown the things you did … More Into the Web – Part 2