Before we look into more advanced features of JSP, let’s talk about JavaBeans. A JavaBean, sometimes just called bean, it’s a class that follows two simple rules. Include a public zero-argument constructor, also known as default constructor. Provide get, set, and is methods for properties. The is method is used instead of get for boolean […]

Continue reading >>

Model-View-Controller (MVC) is a pattern used in software engineering to separate the application logic from the user interface. As the name implies, the MVC pattern has three layers. The model defines the business layer of the application, the view defines the presentation layer of the application, and the controller manages the flow of the application. […]

Continue reading >>

In our previous post we saw a Java Servlet in action. Servlets make it easy for us to access parameters, cookies, and other resources on the server. But at the moment of generating a response (HTML), it can become tedious quickly. JavaServer Pages (JSP) is the solution for this problem. A JSP page allows us […]

Continue reading >>

No matter how complex a web page looks, the process is always the same: the browser sends a request to the server, and the server sends a response back. It’s part of the HTTP protocol. Even AJAX uses the same principle. A servlet is a Java class capable of processing a request and generating a […]

Continue reading >>

In enterprises it’s very common to develop applications that are capable of sending out emails automatically. It’s also quite common to have applications that connect to a mailbox and download emails to import them into another system. Starting with Microsoft Exchange 2010, it’s no longer possible to use WebDAV to access an Exchange server. Now, […]

Continue reading >>

The .NET Framework 3.5, which was released in 2007, introduced the concept of Extension Methods. Extension methods allow us to add new methods to an existing class, without having to make any changes to the class or having to inherit from the class. Extension methods allowed Microsoft developers to add a lot more functionality to […]

Continue reading >>

The .NET Framework organizes classes (types) in two different levels: namespaces and assemblies. We’ll take a look at the differences between both of them in this post.

Continue reading >>

In the last post you read about and used the Java Development Kit. Now is the turn of .NET’s Software Development Kit (SDK). In this post, we’ll look at where the .NET SDK can be found and how we can use it to build an application with just a text editor and a command prompt.

Continue reading >>

Now that you have read some about what Java is and that you have a better idea of the different types of applications you can develop with Java, it’s time to learn about Java’s Software Development Kit (SDK), also known as the Java Development Kit (JDK). We’ll talk about the JDK in this post.

Continue reading >>

Now that you are more familiar with Java, let me introduce you to .NET. If you have programmed for Windows, you must have heard of the .NET Framework already. In this post, I’ll give an explanation of what .NET is and what can be created with .NET.

Continue reading >>