Java Getting Started tutorials
Klaus Berg continues his investigation of the tools and best practices that facilitate programming with GUTs. Get tips for writing cleaner, more efficient assertions, handling checked and unchecked exceptions, and knowing when and how to refactor your test code.
Related Tutorials
Junit testing in Eclipse
JUnit is a simple Java testing framework to write tests for you Java application. This tutorial gives you an overview of the features of JUnit and shows a little example how you can write tests for your Java application.
Basic File Manipulation With Java
Accessing files with Java is easy. With this easy to follow tutorial you will learn how to perform basic file operations in Java. Reading, writing, appending, and random file access are covered. Along with an introduction to file locking.
Writing A Basic Android Application
Learn to write Android applications. Learn the basics of working with resources, layouts, the AndroidManifest.xml file and building code. Topics covered include creating dialog boxes, playing sounds, creating views and layouts with LinearLayout and RelativeLayout, and launching new views.
Data Reading and Writing
Many of the values used in your program simply allow you to display them to the user. In some cases, you may want to request values from the user. As we saw in the previous lesson, there are various types of values you would need the user to supply. Some times the user will clearly understand your request. Some times either your request will not be clear or the user would be playing with the program.
JDBC Tutorial
The JDBC ( Java Database Connectivity) API defines interfaces and classes for writing database applications in Java by making database connections. Using JDBC you can send SQL, PL/SQL statements to almost any relational database. JDBC is a Java API for executing SQL statements and supports basic SQL functionality.
JDBC Introduction
The JDBC ( Java Database Connectivity) API defines interfaces and classes for writing database applications in Java by making database connections. Using JDBC you can send SQL, PL/SQL statements to almost any relational database. JDBC is a Java API for executing SQL statements and supports basic SQL functionality.
Servlet Essentials
This document explains the concepts of Java Servlets and provides a step-by-step tutorial for writing HTTP Servlets with complete source code for the example Servlets. The tutorial and the other chapters cover all facets of Servlet programming from a simple "Hello World" Servlet to advanced Servlet features like session tracking and Cookies. There are also appendices on compiling and running Servlets. The reader is assumed to have some basic knowledge of HTML and Java programming.
An introduction to neural networks
Neural nets may be the future of computing. A good way to understand them is with a puzzle that neural nets can be used to solve.
Sending E-Mails with JSP Pages
In this article we will learn how to send simple text emails using JSP pages. Since it is not a good habit to put Java code in JSP pages, we will create a JavaBean to do that.
Migrating Web Applications from WebSphere 3.5 to WebSphere 4.0
WebSphere Application Server 4.0 is now J2EE 1.2 compliant. It's a good new because J2EE is a standard supported by multiples application servers vendors (BEA, SUN ...).
How to Change the Default Format Settings in Eclipse
Do you get tired on constantly having to re-format your programming code? With a single press of Control+Shift+F, Eclipse will format your entire document for you. Follow the below steps to change the way Eclipse will format your document to your personal preferences.
Value objects
Value objects are numbers, dates, strings, email addresses, isbn numbers, etc.. Value objects are usually small and simple, their identity is based on their state, not on the object identity. Since they are usually immutable they can be put into good use in optimization in conjunction with the flyweight pattern.
Bubble Sort Algorithm in Java
The bubble sort is notoriously slow, but it's conceptually the simplest of the sorting algorithms and for that reason is a good beginning for our exploration of sorting techniques.Read This Java Tutorial
Tomcat Servlet Container Overview
Servlet Container Overview introduces the reader to the Tomcat container.This is the 10,000 foot overview of the container that provides a backdrop to the chapters that follow in the book. All the components of Tomcat are described with just enough detail, so as not to overwhelm the reader with too much information, too early in the process.
Working With Collections In Java - Part 1
A look at the Collections Framework of Java which provides a large set of popular data structures such as stacks, linked lists and dynamic arrays.Read This Java Tutorial
Multithreading Fundamentals in Java
This tutorial covers how to create and manage threads in Java's multithreaded environment. It also explains the part that the Runnable interface plays in having classes run inside threads.Read This Java Tutorial
Jump into JavaFX, Part 4: The advanced APIs
Jeff Friesen completes his comprehensive tour of the JavaFX APIs with a look at how JavaFX handles media, GUIs, and special effects. You'll also try your hand at building and deploying a stock-ticker application to Google Chrome.
JavaServer Pages (JSP)
JavaServer Pages (JSP) lets you separate the dynamic part of your pages from the static HTML.
Recursive directory listings
A simple and yet troublesome for some, part of Java coding, is the ability to move recursively through directory structures. When processing directories full of files this is most definitely needed. We can accomplish this with a simple logic jump. We need to create a method to process all the files of a given directory, that when a directory is encountered calls itself passing in the new File that contains the directory.
Java Modeling: A UML workbook, Part 3
you into the gray zone between modeling and method, with a look at requirements gathering via use case modeling. In particular, he focuses on the relationship between user interfaces, system interfaces, and use case descriptions. While tempting to do so, it is generally considered bad form to include user interface logic in a use case.
What's new in JDBC 3.0
The Java Database Connectivity (JDBC) API has emerged as a key part of the Java 2 Standard Edition (J2SE) and Java 2 Enterprise Edition (J2EE) platforms. It is the primary standards-based mechanism for the Java language to programmatically access relational databases. Here we summarize the key new features as outlined in Sun Microsystems' recently released Proposed Final Draft 3.0 of the JDBC specification.
JSP Tutorial For Beginners
JSP is part of the Java technology family. JSP technology is a key component in a highly scalable architecture for web-based applications. A JSP is translated into Java servlet before being run, and it processes HTTP requests and generates responses like any servlet. Like ASP or PHP, JSP also has dynamic scripting capability that works with HTML code, separating the web page logic from the static elements.
Exploiting ThreadLocal to enhance scalability
The ThreadLocal class appeared with little fanfare in version 1.2 of the Java platform. While support for thread-local variables has long been a part of many threading facilities, such as the Posix pthreads facility, the initial design of the Java Threads API lacked this useful feature. Further, the initial implementation was quite inefficient. For these reasons, ThreadLocal gets relatively little attention, but it can be very handy for simplifying the development of thread-safe concurrent programs. In this third installment of Threading lightly, Java software consultant Brian Goetz examines ThreadLocal and offers tips for exploiting its power.
Application Tools for Extension Services
Application Tools for Extension Services consist of WebSphere Studio-based tools that support the development of Web applications targeted for the Extension Services for WebSphere Everyplace (ESWE) platform. These tools are based on the existing WebSphere Studio J2EE development tools and they are part of an emerging suite of tools for the ESWE platform.
 
Categories