The ‘Java programming’ Archives
Posted April 16, 2013 by

Resolving Variables from a Property File in Spring


When writing the configuration in a Spring file, sometimes it is desirable to maintain a list of properties external to the Spring configuration. This list of properties can be edited and the updated values will be picked up by the Spring configuration. This tech-recipe will show you how it is done.

Category Java programming

Posted April 16, 2013 by

JSP: Grab Form Data Using getparamter


Processing forms in using JSP’s in Java is simple. Learn how to use the Java getparamter() to grab data from an HTML form

Category Java programming

Posted April 10, 2013 by

Setting Windows Environment Variables for Maven


In order to use Apache Maven for dependency resolution and automatic resolution of transitive dependencies for software projects on a Windows machine, it is necessary to set the proper Windows Environment Variables. This setup is necessary on all modern versions of Windows, and the steps to do so are also similar for all versions.

Category Java programming

Posted April 6, 2013 by

Configure Spring Project to Use Annotations


When configuring a Spring project, it is either necessary to write extensive amounts of XML configuration code or to write moderate amounts of XML configuration code and enable annotations. When annotations are enabled, Spring parses the project’s Java beans in order to find these annotations. This allows the developer to push some of the configuring […]

Category Java programming

Posted March 31, 2013 by

How to Install Spring Plugin in Eclipse


The Spring Framework contains many useful tools and plugins for a developer using Java. It is popularly used in conjunction with the Eclipse IDE for rapid, effective Java development. In order to use Spring with Eclipse, one must either download a specialized version of Eclipse which comes pre-integrated with Spring or install the Spring software […]

Category Java programming

Posted March 18, 2013 by

Create a New Maven Project in Eclipse


When creating a project in Eclipse, one may use Maven to manage dependencies more easily and to resolve transitive dependencies automatically. Maven projects have a consistent structure for each project created, and it is possible to create this structure automatically within Eclipse.

Category Java programming

Posted February 28, 2013 by

How to Manually Install Tomcat on Windows 7

Apache Tomcat Logo

Learn how to install Tomcat manually on Windows 7 OS.

Posted August 28, 2012 by

How to Compile Java Programs through Windows CMD


You don’t need a fancy IDE to compile your Java programs, use Windows CMD to compile them and run them right on your desktop.

Posted June 15, 2006 by

Java: Working with Buffers

Buffers can be very useful in java since they can speed up I/O operations considerably. Basically, a buffer is a space allocated into memory for bytes, chars, and other data types to be entered. I have found buffers to be really useful when writing client/server applications.

Category Java programming

Posted June 13, 2006 by

Java: Information Hiding

Information hiding is a key feature of Java. When declaring a variable or a method, it can be one of four types: private, protected, public, or default.

Category Java programming