Java Miscellaneous tutorials
Google uses SOAP and WSDL standards to allow access from most programming languages. In addition to the SOAP access, Google has created a set of Java wrapper classes that encapsulates access to the Google Web APIs. This tutorial discusses the Java classes and the functionality of the Google web services.
Related Tutorials
Spell Checking with Google Web Services API
In our tutorial Using Google Web Services API, we discussed how to use the Java classes to access the Google Web API. In this tutorial, we will create a class that allows you to use the Google Web API for spell checking.
Build interoperable Web services with JSR-109
JSR-109 facilitates the building of interoperable Web services in the Java 2 Platform, Enterprise Edition (J2EE) environment. It standardizes the deployment of Web services in a J2EE container. This article discusses the server and client programming models defined by JSR-109 and provides code examples.
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.
Java Programming Language Basics - Reflection Basics and Class Class
The standard J2SE platform libraries include a reflection API. This API allows classes to reflect on themselves, to see their inner selves. Typically not used by developers, but by tool developers such as those creating an IDE like NetBeans, the reflection API lets you discover the names of classes, methods, and fields.
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.
Java Web Start
Java Web Start, a new technology to assist the development of client-side Java applications, is unique in that it frees you from concerning yourself with how the client is launched, either from a Web browser or from the desktop. Additionally, this technology provides an encompassing deployment scheme that enables a Web server to independently distribute and update client code. Software engineer Steve Kim introduces this enterprising new technology, which is scheduled to be integrated in the final release of Java 1.4, describing its implementation from both the developer and the user perspective.
JT-Java Trainer
Java Trainer (JT) is for students who intend to learn Java , C#(or C++ for that matter). It is a simple programming system in a web page (no install), with a language close to C and Java, but cut-down.
Launching a browser from Java
This tutorial shows how to launch a web browser from a Java applet and from a Java application.
Taking Screenshots in Java
Have you ever wanted to grab a screenshot from your Java application? Here's a quick tutorial on how to grab a screenshot and save it to a JPEG and PNG file. This shows how to use the Robot class to capture the screen image and the ImageIO API to save it as a JPG and PNG.
3D on the web with Java and Irrlicht - Getting Started
Learn how to create fully fledged 3D applications that integrate seamlessly with a web browser using Java, WebStart and Irrlicht.
Know your Oracle application server
A Java application server is the runtime environment for a Java enterprise application. It provides services to components such as servlets and Enterprise JavaBeans (EJBs) in the form of containers. A container is an interface between a component and the platform-specific functionality that supports it.
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.
What is SWT?
Learn about the Java Standard Widget Toolkit (SWT) API from the Eclipse Foundation.
What is JDBC?
Learn about the Java Database Connectivity (JDBC) API.
Evaluation of java web frameworks
Step by step guide to select Java web technologies and frameworks. It covers JavaFX, JavaServer Faces, Tapestry, Wicket, Struts, Adobe Flex, Microsoft Silverlight and other technologies.
Tip: Set up a SAX parser
This is the first in a series of tips that will serve as a comprehensive guide to using XML from the Java programming language. I begin with coverage of the SAX API.
Debugging from JSP and Java Applications
This tutorial gives you an overview of how to use the debugging feature of eclipse to debug your web or Java projects.
First Java Servlets and JSP Tutorial
We want to create a small web application (library), that illustrates the usage of JavaServer Pages combined with Java Servlets. We use the JavaServer Pages to display data (presentation) and the servlets to control and call the business logic of the web application.
Mastering Spring MVC
If you like the Spring Framework, you'll want to explore Spring MVC for Web development. With Steven Haines as your guide, learn where Spring MVC fits into the Java Web development landscape (including a little bit of Java history), then quickly get up to speed developing a Spring MVC application.
Beginner Java Tutorial
Java programming language (object-oriented) is developed by Sun Microsystems. Java is a simple, scalable, general purpose object oriented programming language. This is a beginner java tutorial website covering java basics along with java source code.
An Introduction to Java Servlets
In this article I will describe the overall servlet architecture and what you need to develop your application with servlets. I will use several code examples to show you how to use the Servlet API, and compare it with CGI and proprietary server APIs where appropriate.
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.
File Handling in Java
A look at the file handling methods that Java provides, and an introduction to the complex I/O system that comes packaged in java.io.Read This Java Tutorial
Creating Images in a Java Servlet
Dynamic images are commonly used in web applications. You will find dynamic images such as charts, captcha, web site thumbnails, image thumbnails, watermarks, etc. This tutorial will give you a brief walk through on creating a simple dynamic image in a Java Servlet.
Java as a useful Platform
A brief introduction of Java for getting ready to start programming with Java.
The Java Game Development Tutorial
You should be already able to program in Java, although you don't have to be a expert! The tutorial will give you a very detailed introduction into the development of online games using Java. We will talk about Java Applets because everyone has a Internet browser, so everyone is able to play these games without installing the JDK!.
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.
Jikes Bytecode Toolkit
A 100%-Java class library that enables Java programs to create, read, and write binary Java class files.
Quicksort in Java
A quick intro to the Quicksort algorithm in Java, showing an efficient (if not optimal) way to sort.Read This Java Tutorial
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
Installing and Using the Java Servlet SDK
The first step to using servlets is installing a web server that supports the Java Servlet SDK.
Determine the available memory in Java
This tutorial will give you a brief walkthrough on Java memory use in the sandbox and show how to use the Runtime class to discover the amount of memory available to your Java applet or application.
Using Custom Cursors in Java
This tutorial shows how to go beyond the predefined cursors in Java and create your own cursors using a GIF or PNG that are dsiplayed when the user moves the mouse over a Java component (AWT or Swing).
Assertions in Java
This article describes how assertion works in java. This feature is added in JDK1.4. This article also shows how one can enable and disable assertions in Java programs.
Introduction to Arrays in Java
This tutorial covers creating, accessing, initializing, inserting, searching and deleting arrays and their elements in Java. Examples are given for each of these actions to aid the reader in getting a hands-on experience.Read This Java Tutorial
Clone Java objects
Since objects in Java are manipulated through reference variables, there is no direct way to copy an object. Classes that want copying functionality must implement clone() method to do so. This guide shows how to make a Java class Cloneable and perform cloning.
Developing Applications with JBoss and Hibernate
Developers will be introduced to Hibernate and learn to build Java classes and map files from scratch. They will also learn to reverse engineer the database schema into Java classes and Hibernate mapping files and build a web application that will be able to interact with the Hibernate POJOs which they will later deploy to JBoss AS.
Interfaces in Java
In Java, a class can have at the most one immediate superclass. Multiple inheritance, where a class has more than one superclass, is not allowed in Java. However, one cannot ignore the importance of multiple inheritance because a large number of real-life applications require the use of multiple inheritance. Java provides an alternative approach to support multiple inheritance by introducing a new data type known as interfaces. Although a class cannot inherit multiple classes, it can implement more than one interface.
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.
 
Categories