It is critical to keep your development environment up to date, both to take advantage of the ever-changing technology landscape, as well as to stay ahead of adversaries who want to infiltrate your systems. Here are some tips on updating your most important components.
One of the most important design patterns in modern programming is known as Dependency Injection (DI), also know as the Inversion of Control (IoC). DI is a powerful, yet often misunderstood, tool for developing stable, large-scale enterprise software systems. We’ll cover the basics here, in preparation for using the Spring framework.
A current and well maintained IDE makes life a lot easier when developing web applications. Our favorite is Eclipse, and a new version of it is released every year. Here’s a quick review of the setup for the latest version.
Traditional development workflows save testing and integration of large software products for the end of the process. This allows for a rapid development phase, but can really complicate the assembly of the final system. Alternatively, testing and integration can be done continuously, in combination of development, with the aid of various open source tools.
So far, we’ve used Microsoft Windows platforms for all our work on proloquor.net. Windows supports just about every tool we require, but sometimes life is easier when working with a different Operating System. Does that mean you have to buy another computer? Not if you know how to virtualize that hardware on your existing Windows platforms. Here’s how.
We’ve talked about databases in previous posts, as well as the Java programming language and associated tools. Now we can bring those topics together and learn how to access databases from within your Java programs.
The Apache Struts 2 framework allows developers to build large, scalable, reliable, and secure enterprise applications, centered around the Web. In this post, we’ll discuss a few important aspects of the framework, particularly it’s MVC structure, and create a few examples.
As we covered a recent post, Apache Ant is an excellent tool for building and deploying basic Java projects, and provides services to download and manage third-party packages. Configuring Ant projects is a fairly manual process however, and it would be nice to have a tool that assisted with the setup of complex frameworks like Struts and Spring. Gradle is the newest tool to perform this task, but Apache Maven is the go-to utility today.
We’ve been downloading a lot of files lately. If you are at all security-minded, you may wonder if what you downloaded is correct. There are many ways to check the integrity of downloaded files; we’ll talk about a few of them here.
Java remains the go-to technology for server-side web and enterprise applications today. With it, developers can embed Java code directly into web pages they serve to clients, or create sophisticated server applications, that manage every aspect of the client-server transaction. For this, you need an application server integrated with your web server and, while many such products available, Proloquor.net uses Caucho‘s Resin. Here we introduce the basic concepts of JSP’s and servlets, and discuss how to serve them using Resin.